public abstract class AbstractClassDeclaration extends AbstractTypeDeclaration implements com.github.javaparser.resolution.declarations.ResolvedClassDeclaration, MethodResolutionCapability
Constructor and Description |
---|
AbstractClassDeclaration() |
Modifier and Type | Method and Description |
---|---|
com.github.javaparser.resolution.declarations.ResolvedClassDeclaration |
asClass() |
List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getAllInterfaces() |
List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getAllSuperClasses() |
boolean |
hasName() |
protected abstract com.github.javaparser.resolution.types.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, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getAncestors, getDeclaredFields, getDeclaredMethods, getField, getVisibleField, getVisibleFields, hasAnnotation, hasDirectlyAnnotation, hasField, hasVisibleField, isAssignableBy, isAssignableBy, isFunctionalInterface
asEnum, asInterface, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isAnonymousClass, isEnum, isInterface, isType, isTypeParameter
asEnumConstant, asField, asMethod, asParameter, getName, isEnumConstant, isField, isMethod, isParameter, isVariable
getTypeParameters, isGeneric
accessSpecifier
toAst
solveMethod
public boolean hasName()
hasName
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public final List<com.github.javaparser.resolution.types.ResolvedReferenceType> getAllSuperClasses()
getAllSuperClasses
in interface com.github.javaparser.resolution.declarations.ResolvedClassDeclaration
public final List<com.github.javaparser.resolution.types.ResolvedReferenceType> getAllInterfaces()
getAllInterfaces
in interface com.github.javaparser.resolution.declarations.ResolvedClassDeclaration
public final com.github.javaparser.resolution.declarations.ResolvedClassDeclaration asClass()
asClass
in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
protected abstract com.github.javaparser.resolution.types.ResolvedReferenceType object()
Copyright © 2007–2018. All rights reserved.