public interface CAnnotatedDescriptor
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAnnotations()
Get set of available annotations.
|
String |
getAnnotationValue(String name)
Get the given annotation value.
|
default String |
getAnnotationValue(ThriftAnnotation annotation)
Get the given annotation value.
|
String |
getDocumentation()
The type comment is the last block of comment written before the type
declaration.
|
boolean |
hasAnnotation(String name)
Get the given annotation value.
|
default boolean |
hasAnnotation(ThriftAnnotation annotation)
Get the given annotation value.
|
@Nullable String getDocumentation()
@Nonnull Set<String> getAnnotations()
boolean hasAnnotation(@Nonnull String name)
name - Name of annotation.String getAnnotationValue(@Nonnull String name)
name - Name of annotation.default boolean hasAnnotation(@Nonnull ThriftAnnotation annotation)
annotation - The annotation.default String getAnnotationValue(@Nonnull ThriftAnnotation annotation)
annotation - The annotation.Copyright © 2015–2017 morimekta.net. All rights reserved.