Interface SymbolMetadata.AnnotationInstance
- Enclosing interface:
- SymbolMetadata
public static interface SymbolMetadata.AnnotationInstance
Occurrence of an annotation on a symbol.
-
Method Details
-
symbol
Symbol symbol()Type symbol of this annotation. Can be unknown if bytecode for this annotation is not provided.- Returns:
- the symbol declaring this annotation.
-
values
List<SymbolMetadata.AnnotationValue> values()Annotation values for this annotation.- Returns:
- immutable list of annotation values.
-