Class AbstractTypeDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.logic.AbstractTypeDeclaration
- All Implemented Interfaces:
ResolvedDeclaration,ResolvedReferenceTypeDeclaration,ResolvedTypeDeclaration,ResolvedTypeParametrizable
- Direct Known Subclasses:
AbstractClassDeclaration,JavaParserAnnotationDeclaration,JavaParserEnumDeclaration,JavaParserInterfaceDeclaration,JavaParserTypeParameter,JavaParserTypeVariableDeclaration,JavassistAnnotationDeclaration,JavassistEnumDeclaration,JavassistInterfaceDeclaration,ReflectionAnnotationDeclaration,ReflectionEnumDeclaration,ReflectionInterfaceDeclaration
public abstract class AbstractTypeDeclaration
extends Object
implements ResolvedReferenceTypeDeclaration
Common ancestor for most types.
- 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 TypeMethodDescriptionbooleanMethods 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.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asPattern, getName, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllAncestors, getAllFields, getAllNonStaticFields, getAllStaticFields, getAncestors, getAncestors, getConstructors, getDeclaredFields, getDeclaredMethods, getField, getVisibleField, getVisibleFields, hasAnnotation, hasDirectlyAnnotation, hasField, hasVisibleField, isAssignableBy, isAssignableBy, isJavaLangEnum, isJavaLangObjectMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration
asAnnotation, asClass, asEnum, asInterface, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isAnnotation, isAnonymousClass, isClass, isEnum, isInterface, isType, isTypeParameterMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
getTypeParameters, isGeneric
-
Constructor Details
-
AbstractTypeDeclaration
public AbstractTypeDeclaration()
-
-
Method Details
-
getAllMethods
- Specified by:
getAllMethodsin interfaceResolvedReferenceTypeDeclaration
-
isFunctionalInterface
public final boolean isFunctionalInterface()- Specified by:
isFunctionalInterfacein interfaceResolvedReferenceTypeDeclaration
-