SymbolMetadatapublic class SymbolMetadataResolve extends Object implements SymbolMetadata
SymbolMetadata.AnnotationInstance, SymbolMetadata.AnnotationValue| Modifier and Type | Method | 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<Symbol> |
metaAnnotations() |
|
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–2018 SonarSource. All rights reserved.