SymbolMetadataResolve
public interface SymbolMetadata
Modifier and Type | Interface | 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 | 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.
|
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()
SymbolMetadata.AnnotationInstance
Copyright © 2012–2018 SonarSource. All rights reserved.