Package org.sonar.java.resolve
Class AnnotationValueResolve
- java.lang.Object
-
- org.sonar.java.resolve.AnnotationValueResolve
-
- All Implemented Interfaces:
SymbolMetadata.AnnotationValue
public class AnnotationValueResolve extends Object implements SymbolMetadata.AnnotationValue
-
-
Constructor Summary
Constructors Constructor Description AnnotationValueResolve(String name, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Name of the annotation property.Object
value()
Stored value of the annotation property.
-
-
-
Method Detail
-
value
public Object value()
Description copied from interface:SymbolMetadata.AnnotationValue
Stored value of the annotation property.- Specified by:
value
in interfaceSymbolMetadata.AnnotationValue
- Returns:
- the value of the annotation that has been found.
-
name
public String name()
Description copied from interface:SymbolMetadata.AnnotationValue
Name of the annotation property.- Specified by:
name
in interfaceSymbolMetadata.AnnotationValue
- Returns:
- the name of the property.
-
-