public class JavaParserAnnotationDeclaration extends AbstractTypeDeclaration implements ResolvedAnnotationDeclaration
breadthFirstFunc, depthFirstFunc, JAVA_LANG_ENUM, JAVA_LANG_OBJECT| Constructor and Description |
|---|
JavaParserAnnotationDeclaration(AnnotationDeclaration wrappedNode,
TypeSolver typeSolver) |
getAllMethods, isFunctionalInterfaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasAnnotation, isAnnotationasReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getDeclaredAnnotation, getDeclaredFields, getField, getVisibleField, getVisibleFields, hasAnnotation, hasField, hasVisibleField, isFunctionalInterface, isInheritedAnnotation, isJavaLangEnum, isJavaLangObject, isReferenceTypeasClass, asEnum, asInterface, asType, asTypeParameter, getId, getInternalType, hasInternalType, isAnonymousClass, isClass, isEnum, isInterface, isType, isTypeParameterasEnumConstant, asField, asMethod, asParameter, asPattern, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isVariabletoAstisGenericpublic JavaParserAnnotationDeclaration(AnnotationDeclaration wrappedNode, TypeSolver typeSolver)
public List<ResolvedReferenceType> getAncestors(boolean acceptIncompleteList)
getAncestors in interface ResolvedReferenceTypeDeclarationpublic Set<ResolvedReferenceTypeDeclaration> internalTypes()
internalTypes in interface ResolvedTypeDeclarationpublic List<ResolvedFieldDeclaration> getAllFields()
getAllFields in interface ResolvedReferenceTypeDeclarationpublic Set<ResolvedMethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface ResolvedReferenceTypeDeclarationpublic boolean isAssignableBy(ResolvedType type)
isAssignableBy in interface ResolvedReferenceTypeDeclarationpublic boolean isAssignableBy(ResolvedReferenceTypeDeclaration other)
isAssignableBy in interface ResolvedReferenceTypeDeclarationpublic boolean hasDirectlyAnnotation(String canonicalName)
hasDirectlyAnnotation in interface ResolvedReferenceTypeDeclarationpublic Set<ResolvedAnnotationDeclaration> getDeclaredAnnotations()
getDeclaredAnnotations in interface ResolvedReferenceTypeDeclarationpublic String getPackageName()
getPackageName in interface ResolvedTypeDeclarationpublic String getClassName()
getClassName in interface ResolvedTypeDeclarationpublic String getQualifiedName()
getQualifiedName in interface ResolvedTypeDeclarationpublic String getName()
getName in interface ResolvedDeclarationpublic List<ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface ResolvedTypeParametrizablepublic Optional<ResolvedReferenceTypeDeclaration> containerType()
containerType in interface ResolvedTypeDeclarationpublic List<ResolvedAnnotationMemberDeclaration> getAnnotationMembers()
getAnnotationMembers in interface ResolvedAnnotationDeclarationpublic List<ResolvedConstructorDeclaration> getConstructors()
getConstructors in interface ResolvedReferenceTypeDeclarationpublic boolean isInheritable()
isInheritable in interface ResolvedAnnotationDeclarationpublic Optional<Node> toAst()
toAst in interface AssociableToASTCopyright © 2007–2023. All rights reserved.