Package org.sonar.java.model
Class AnnotationValueImpl
- java.lang.Object
-
- org.sonar.java.model.AnnotationValueImpl
-
- All Implemented Interfaces:
SymbolMetadata.AnnotationValue
public class AnnotationValueImpl extends Object implements SymbolMetadata.AnnotationValue
-
-
Constructor Summary
Constructors Constructor Description AnnotationValueImpl(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.
-
-