public interface SymbolMetadata
Modifier and Type | Interface and Description |
---|---|
static interface |
SymbolMetadata.AnnotationInstance
Occurrence of an annotation on a symbol.
|
static interface |
SymbolMetadata.AnnotationValue
Value of a property of an annotation.
|
Modifier and Type | Method and Description |
---|---|
List<SymbolMetadata.AnnotationInstance> |
annotations() |
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.
|
boolean isAnnotatedWith(String fullyQualifiedName)
fullyQualifiedName
- fully Qualified Name of the annotation@CheckForNull List<SymbolMetadata.AnnotationValue> valuesForAnnotation(String fullyQualifiedNameOfAnnotation)
fullyQualifiedNameOfAnnotation
- fully Qualified Name of the annotationList<SymbolMetadata.AnnotationInstance> annotations()
Copyright © 2012–2016 SonarSource. All rights reserved.