public class SymbolMetadataResolve extends Object implements SymbolMetadata
SymbolMetadata.AnnotationInstance, SymbolMetadata.AnnotationValue
Modifier and Type | Method and Description |
---|---|
List<SymbolMetadata.AnnotationInstance> |
annotations()
The list of annotations found on this symbol.
|
boolean |
isAnnotatedWith(String fullyQualifiedName)
Check if the symbol is annotated with the specified annotation.
|
List<SymbolMetadata.AnnotationValue> |
valuesForAnnotation(String fullyQualifiedNameOfAnnotation)
Get the annotation values for the specified annotation.
|
public List<SymbolMetadata.AnnotationInstance> annotations()
SymbolMetadata
annotations
in interface SymbolMetadata
SymbolMetadata.AnnotationInstance
public boolean isAnnotatedWith(String fullyQualifiedName)
SymbolMetadata
isAnnotatedWith
in interface SymbolMetadata
fullyQualifiedName
- fully Qualified Name of the annotation@CheckForNull public List<SymbolMetadata.AnnotationValue> valuesForAnnotation(String fullyQualifiedNameOfAnnotation)
SymbolMetadata
valuesForAnnotation
in interface SymbolMetadata
fullyQualifiedNameOfAnnotation
- fully Qualified Name of the annotationCopyright © 2012–2016 SonarSource. All rights reserved.