public interface ClassDeclaration extends TypeDeclaration, TypeParametrizable, HasAccessLevel
Modifier and Type | Method and Description |
---|---|
List<ReferenceType> |
getAllInterfaces()
Return all the interfaces implemented by this class, either directly or indirectly, including the interfaces
extended by interfaces it implements.
|
List<ReferenceType> |
getAllSuperClasses()
Get all superclasses, with all the type typeParametersValues expressed as functions of the type
typeParametersValues of this declaration.
|
List<ConstructorDeclaration> |
getConstructors()
List of constructors available for the class.
|
List<ReferenceType> |
getInterfaces()
Return all the interfaces implemented directly by this class.
|
ReferenceType |
getSuperClass()
This is a ReferenceTypeUsage because it could contain type typeParametersValues.
|
default boolean |
isClass()
This method should always return true.
|
asClass, asEnum, asInterface, asType, asTypeParameter, canBeAssignedTo, containerType, findTypeParameter, getAllAncestors, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getDeclaredFields, getDeclaredMethods, getField, getId, getQualifiedName, hasAnnotation, hasDirectlyAnnotation, hasField, internalTypes, isAssignableBy, isAssignableBy, isEnum, isInterface, isType, isTypeParameter
asField, asMethod, asParameter, getName, hasName, isField, isMethod, isParameter
getTypeParameters
accessLevel
default boolean isClass()
isClass
in interface TypeDeclaration
ReferenceType getSuperClass()
List<ReferenceType> getInterfaces()
List<ReferenceType> getAllSuperClasses()
List<ReferenceType> getAllInterfaces()
Get all interfaces, with all the type typeParametersValues expressed as functions of the type typeParametersValues of this declaration.
List<ConstructorDeclaration> getConstructors()
Copyright © 2016. All rights reserved.