public class JavaParserAnnotationDeclaration extends AbstractTypeDeclaration implements AnnotationDeclaration
| Constructor and Description |
|---|
JavaParserAnnotationDeclaration(com.github.javaparser.ast.body.AnnotationDeclaration wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
List<FieldDeclaration> |
getAllFields() |
List<ReferenceType> |
getAncestors() |
Set<MethodDeclaration> |
getDeclaredMethods() |
String |
getName() |
String |
getQualifiedName() |
List<TypeParameterDeclaration> |
getTypeParameters() |
boolean |
hasDirectlyAnnotation(String qualifiedName) |
boolean |
isAssignableBy(ReferenceTypeDeclaration other) |
boolean |
isAssignableBy(Type type) |
getAllMethods, isFunctionalInterfaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getField, getVisibleField, getVisibleFields, hasAnnotation, hasField, hasVisibleField, isFunctionalInterfaceasClass, asEnum, asInterface, asType, asTypeParameter, containerType, getId, internalTypes, isClass, isEnum, isInterface, isType, isTypeParameterasField, asMethod, asParameter, hasName, isField, isMethod, isParameterpublic JavaParserAnnotationDeclaration(com.github.javaparser.ast.body.AnnotationDeclaration wrappedNode,
TypeSolver typeSolver)
public List<ReferenceType> getAncestors()
getAncestors in interface ReferenceTypeDeclarationpublic List<FieldDeclaration> getAllFields()
getAllFields in interface ReferenceTypeDeclarationpublic Set<MethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface ReferenceTypeDeclarationpublic boolean isAssignableBy(Type type)
isAssignableBy in interface ReferenceTypeDeclarationpublic boolean isAssignableBy(ReferenceTypeDeclaration other)
isAssignableBy in interface ReferenceTypeDeclarationpublic boolean hasDirectlyAnnotation(String qualifiedName)
hasDirectlyAnnotation in interface ReferenceTypeDeclarationpublic String getQualifiedName()
getQualifiedName in interface TypeDeclarationpublic String getName()
getName in interface Declarationpublic List<TypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface TypeParametrizableCopyright © 2016. All rights reserved.