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 Stringname()Name of the annotation property.Objectvalue()Stored value of the annotation property.
-
-
-
Method Detail
-
value
public Object value()
Description copied from interface:SymbolMetadata.AnnotationValueStored value of the annotation property.- Specified by:
valuein interfaceSymbolMetadata.AnnotationValue- Returns:
- the value of the annotation that has been found.
-
name
public String name()
Description copied from interface:SymbolMetadata.AnnotationValueName of the annotation property.- Specified by:
namein interfaceSymbolMetadata.AnnotationValue- Returns:
- the name of the property.
-
-