Package org.sonar.java.resolve
Class AnnotationInstanceResolve
- java.lang.Object
-
- org.sonar.java.resolve.AnnotationInstanceResolve
-
- All Implemented Interfaces:
SymbolMetadata.AnnotationInstance
public class AnnotationInstanceResolve extends Object implements SymbolMetadata.AnnotationInstance
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaSymbol
symbol()
Type symbol of this annotation.List<SymbolMetadata.AnnotationValue>
values()
Annotation values for this annotation.
-
-
-
Method Detail
-
symbol
public JavaSymbol symbol()
Description copied from interface:SymbolMetadata.AnnotationInstance
Type symbol of this annotation. Can be unknown if bytecode for this annotation is not provided.- Specified by:
symbol
in interfaceSymbolMetadata.AnnotationInstance
- Returns:
- the symbol declaring this annotation.
-
values
public List<SymbolMetadata.AnnotationValue> values()
Description copied from interface:SymbolMetadata.AnnotationInstance
Annotation values for this annotation.- Specified by:
values
in interfaceSymbolMetadata.AnnotationInstance
- Returns:
- immutable list of annotation values.
-
-