public class ReflectionAnnotationDeclaration extends AbstractTypeDeclaration implements ResolvedAnnotationDeclaration, MethodUsageResolutionCapability, MethodResolutionCapability
breadthFirstFunc, depthFirstFunc, JAVA_IO_SERIALIZABLE, JAVA_LANG_COMPARABLE, JAVA_LANG_ENUM, JAVA_LANG_OBJECT| Constructor and Description |
|---|
ReflectionAnnotationDeclaration(Class<?> clazz,
TypeSolver typeSolver) |
getAllMethods, isFunctionalInterfaceclone, finalize, getClass, notify, notifyAll, wait, wait, waitasAnnotation, isAnnotationasReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllAncestors, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getDeclaredAnnotation, getDeclaredAnnotations, 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, asTypePattern, hasName, isEnumConstant, isField, isMethod, isParameter, isTypePattern, isVariabletoAst, toAstisGenericpublic ReflectionAnnotationDeclaration(Class<?> clazz, TypeSolver typeSolver)
public String getPackageName()
getPackageName in interface ResolvedTypeDeclarationpublic String getClassName()
getClassName in interface ResolvedTypeDeclarationpublic String getQualifiedName()
getQualifiedName in interface ResolvedTypeDeclarationpublic boolean isAssignableBy(ResolvedType type)
isAssignableBy in interface ResolvedReferenceTypeDeclarationpublic boolean isAssignableBy(ResolvedReferenceTypeDeclaration other)
isAssignableBy in interface ResolvedReferenceTypeDeclarationpublic boolean hasDirectlyAnnotation(String canonicalName)
hasDirectlyAnnotation in interface ResolvedReferenceTypeDeclarationpublic List<ResolvedFieldDeclaration> getAllFields()
getAllFields in interface ResolvedReferenceTypeDeclarationpublic List<ResolvedReferenceType> getAncestors(boolean acceptIncompleteList)
getAncestors in interface ResolvedReferenceTypeDeclarationpublic Set<ResolvedMethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface ResolvedReferenceTypeDeclarationpublic String getName()
getName in interface ResolvedDeclarationpublic Optional<ResolvedReferenceTypeDeclaration> containerType()
containerType in interface ResolvedTypeDeclarationpublic List<ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface ResolvedTypeParametrizablepublic Set<ResolvedReferenceTypeDeclaration> internalTypes()
internalTypes in interface ResolvedTypeDeclarationpublic List<ResolvedConstructorDeclaration> getConstructors()
getConstructors in interface ResolvedReferenceTypeDeclarationpublic List<ResolvedAnnotationMemberDeclaration> getAnnotationMembers()
getAnnotationMembers in interface ResolvedAnnotationDeclarationpublic Optional<MethodUsage> solveMethodAsUsage(String name, List<ResolvedType> parameterTypes, Context invokationContext, List<ResolvedType> typeParameterValues)
solveMethodAsUsage in interface MethodUsageResolutionCapabilitypublic SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> argumentsTypes, boolean staticOnly)
solveMethod in interface MethodResolutionCapabilitypublic boolean isInheritable()
isInheritable in interface ResolvedAnnotationDeclarationCopyright © 2007–2024. All rights reserved.