Package | Description |
---|---|
com.github.javaparser.ast.body | |
com.github.javaparser.ast.expr | |
com.github.javaparser.resolution.declarations |
Modifier and Type | Method and Description |
---|---|
ResolvedAnnotationDeclaration |
AnnotationDeclaration.resolve() |
Modifier and Type | Method and Description |
---|---|
ResolvedAnnotationDeclaration |
AnnotationExpr.resolve()
Attempts to resolve the declaration corresponding to the annotation expression.
|
Modifier and Type | Method and Description |
---|---|
default ResolvedAnnotationDeclaration |
ResolvedTypeDeclaration.asAnnotation()
Return this as a AnnotationDeclaration or throw UnsupportedOperationException.
|
default ResolvedAnnotationDeclaration |
ResolvedAnnotationDeclaration.asAnnotation() |
Modifier and Type | Method and Description |
---|---|
default Optional<ResolvedAnnotationDeclaration> |
ResolvedReferenceTypeDeclaration.getDeclaredAnnotation(String name)
Returns the resolved annotation corresponding to the specified name and declared in this type declaration.
|
default Set<ResolvedAnnotationDeclaration> |
ResolvedReferenceTypeDeclaration.getDeclaredAnnotations()
Return a collection of all annotations declared in this type declaration.
|
Copyright © 2007–2023. All rights reserved.