Class AbstractClassDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.logic.AbstractTypeDeclaration
com.github.javaparser.symbolsolver.logic.AbstractClassDeclaration
- All Implemented Interfaces:
AssociableToAST<Node>,HasAccessSpecifier,ResolvedClassDeclaration,ResolvedDeclaration,ResolvedReferenceTypeDeclaration,ResolvedTypeDeclaration,ResolvedTypeParametrizable,MethodResolutionCapability
- Direct Known Subclasses:
JavaParserAnonymousClassDeclaration,JavaParserClassDeclaration,JavassistClassDeclaration,ReflectionClassDeclaration
public abstract class AbstractClassDeclaration
extends AbstractTypeDeclaration
implements ResolvedClassDeclaration, MethodResolutionCapability
A common ancestor for all ClassDeclarations.
- Author:
- Federico Tomassetti
-
Field Summary
Fields inherited from interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
breadthFirstFunc, depthFirstFunc, JAVA_LANG_ENUM, JAVA_LANG_OBJECT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasClass()booleanhasName()protected abstract ResolvedReferenceTypeobject()An implementation of the Object class.Methods inherited from class com.github.javaparser.symbolsolver.logic.AbstractTypeDeclaration
getAllMethods, isFunctionalInterfaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAstMethods inherited from interface com.github.javaparser.resolution.declarations.HasAccessSpecifier
accessSpecifierMethods inherited from interface com.github.javaparser.symbolsolver.logic.MethodResolutionCapability
solveMethodMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedClassDeclaration
getConstructors, getInterfaces, getSuperClass, isClassMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asPattern, getName, 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, getDeclaredFields, getDeclaredMethods, getField, getVisibleField, getVisibleFields, hasAnnotation, hasDirectlyAnnotation, hasField, hasVisibleField, isAssignableBy, isAssignableBy, isFunctionalInterface, isJavaLangEnum, isJavaLangObjectMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
asAnnotation, asEnum, asInterface, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isAnnotation, isAnonymousClass, isEnum, isInterface, isType, isTypeParameterMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
getTypeParameters, isGeneric
-
Constructor Details
-
AbstractClassDeclaration
public AbstractClassDeclaration()
-
-
Method Details
-
hasName
public boolean hasName()- Specified by:
hasNamein interfaceResolvedDeclaration
-
getAllSuperClasses
- Specified by:
getAllSuperClassesin interfaceResolvedClassDeclaration
-
getAllInterfaces
- Specified by:
getAllInterfacesin interfaceResolvedClassDeclaration
-
asClass
- Specified by:
asClassin interfaceResolvedTypeDeclaration
-
object
An implementation of the Object class.
-