public abstract class AbstractClassDeclaration extends AbstractTypeDeclaration implements ResolvedClassDeclaration, MethodResolutionCapability
breadthFirstFunc, depthFirstFunc, JAVA_LANG_ENUM, JAVA_LANG_OBJECT
Constructor and Description |
---|
AbstractClassDeclaration() |
Modifier and Type | Method and Description |
---|---|
ResolvedClassDeclaration |
asClass() |
List<ResolvedReferenceType> |
getAllInterfaces() |
List<ResolvedReferenceType> |
getAllSuperClasses() |
boolean |
hasName() |
protected abstract ResolvedReferenceType |
object()
An implementation of the Object class.
|
getAllMethods, isFunctionalInterface
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConstructors, getInterfaces, getSuperClass, isClass
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllAncestors, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getAncestors, getDeclaredFields, getDeclaredMethods, getField, getVisibleField, getVisibleFields, hasAnnotation, hasDirectlyAnnotation, hasField, hasVisibleField, isAssignableBy, isAssignableBy, isFunctionalInterface, isJavaLangEnum, isJavaLangObject, isReferenceType
asAnnotation, asEnum, asInterface, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isAnnotation, isAnonymousClass, isEnum, isInterface, isType, isTypeParameter
asEnumConstant, asField, asMethod, asParameter, asPattern, getName, isEnumConstant, isField, isMethod, isParameter, isPattern, isVariable
toAst, toAst
getTypeParameters, isGeneric
accessSpecifier
solveMethod
public boolean hasName()
hasName
in interface ResolvedDeclaration
public final List<ResolvedReferenceType> getAllSuperClasses()
getAllSuperClasses
in interface ResolvedClassDeclaration
public final List<ResolvedReferenceType> getAllInterfaces()
getAllInterfaces
in interface ResolvedClassDeclaration
public final ResolvedClassDeclaration asClass()
asClass
in interface ResolvedTypeDeclaration
protected abstract ResolvedReferenceType object()
Copyright © 2007–2022. All rights reserved.