Interface ResolvedAnnotationDeclaration
-
- All Superinterfaces:
AssociableToAST,ResolvedDeclaration,ResolvedReferenceTypeDeclaration,ResolvedTypeDeclaration,ResolvedTypeParametrizable
- All Known Implementing Classes:
JavaParserAnnotationDeclaration,JavassistAnnotationDeclaration,ReflectionAnnotationDeclaration
public interface ResolvedAnnotationDeclaration extends ResolvedReferenceTypeDeclaration
-
-
Field Summary
-
Fields inherited from interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
breadthFirstFunc, depthFirstFunc, JAVA_IO_SERIALIZABLE, JAVA_LANG_COMPARABLE, JAVA_LANG_ENUM, JAVA_LANG_OBJECT, JAVA_LANG_RECORD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResolvedAnnotationDeclarationasAnnotation()Return this as a AnnotationDeclaration or throw UnsupportedOperationException.java.util.List<ResolvedAnnotationMemberDeclaration>getAnnotationMembers()default booleanisAnnotation()Is this the declaration of an annotation?booleanisInheritable()-
Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst, toAst
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asTypePattern, getName, hasName, isEnumConstant, isField, isMethod, isParameter, isTypePattern, isVariable
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllAncestors, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getAncestors, getConstructors, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredFields, getDeclaredMethods, getField, getVisibleField, getVisibleFields, hasAnnotation, hasDirectlyAnnotation, hasField, hasVisibleField, isAssignableBy, isAssignableBy, isFunctionalInterface, isInheritedAnnotation, isJavaLangEnum, isJavaLangObject, isJavaLangRecord, isReferenceType
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
asClass, asEnum, asInterface, asRecord, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isAnonymousClass, isClass, isEnum, isInterface, isRecord, isType, isTypeParameter
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
getTypeParameters, isGeneric
-
-
-
-
Method Detail
-
isAnnotation
default boolean isAnnotation()
Description copied from interface:ResolvedTypeDeclarationIs this the declaration of an annotation?- Specified by:
isAnnotationin interfaceResolvedTypeDeclaration
-
asAnnotation
default ResolvedAnnotationDeclaration asAnnotation()
Description copied from interface:ResolvedTypeDeclarationReturn this as a AnnotationDeclaration or throw UnsupportedOperationException.- Specified by:
asAnnotationin interfaceResolvedTypeDeclaration
-
getAnnotationMembers
java.util.List<ResolvedAnnotationMemberDeclaration> getAnnotationMembers()
-
isInheritable
boolean isInheritable()
-
-