Interface ResolvedAnnotationDeclaration
- All Superinterfaces:
AssociableToAST<AnnotationDeclaration>,ResolvedDeclaration,ResolvedReferenceTypeDeclaration,ResolvedTypeDeclaration,ResolvedTypeParametrizable
public interface ResolvedAnnotationDeclaration
extends ResolvedReferenceTypeDeclaration, AssociableToAST<AnnotationDeclaration>
- Author:
- Federico Tomassetti
-
Field Summary
Fields inherited from interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
breadthFirstFunc, depthFirstFunc, JAVA_LANG_ENUM, JAVA_LANG_OBJECT -
Method Summary
Modifier and TypeMethodDescriptiondefault ResolvedAnnotationDeclarationReturn this as a AnnotationDeclaration or throw UnsupportedOperationException.default booleanIs this the declaration of an annotation?Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAstMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asPattern, getName, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllAncestors, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getAncestors, getConstructors, getDeclaredFields, getDeclaredMethods, getField, getVisibleField, getVisibleFields, hasAnnotation, hasDirectlyAnnotation, hasField, hasVisibleField, isAssignableBy, isAssignableBy, isFunctionalInterface, isJavaLangEnum, isJavaLangObjectMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
asClass, asEnum, asInterface, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isAnonymousClass, isClass, isEnum, isInterface, isType, isTypeParameterMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
getTypeParameters, isGeneric
-
Method Details
-
isAnnotation
default boolean isAnnotation()Description copied from interface:ResolvedTypeDeclarationIs this the declaration of an annotation?- Specified by:
isAnnotationin interfaceResolvedTypeDeclaration
-
asAnnotation
Description copied from interface:ResolvedTypeDeclarationReturn this as a AnnotationDeclaration or throw UnsupportedOperationException.- Specified by:
asAnnotationin interfaceResolvedTypeDeclaration
-
getAnnotationMembers
List<ResolvedAnnotationMemberDeclaration> getAnnotationMembers()
-