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()
SymbolMetadataannotations in interface SymbolMetadataSymbolMetadata.AnnotationInstancepublic boolean isAnnotatedWith(String fullyQualifiedName)
SymbolMetadataisAnnotatedWith in interface SymbolMetadatafullyQualifiedName - fully Qualified Name of the annotation@CheckForNull public List<SymbolMetadata.AnnotationValue> valuesForAnnotation(String fullyQualifiedNameOfAnnotation)
SymbolMetadatavaluesForAnnotation in interface SymbolMetadatafullyQualifiedNameOfAnnotation - fully Qualified Name of the annotationCopyright © 2012–2017 SonarSource. All rights reserved.