| Package | Description |
|---|---|
| com.github.javaparser.symbolsolver.model.declarations | |
| com.github.javaparser.symbolsolver.model.typesystem |
| Modifier and Type | Method and Description |
|---|---|
ReferenceType |
ClassDeclaration.getSuperClass()
This is a ReferenceTypeUsage because it could contain type typeParametersValues.
|
| Modifier and Type | Method and Description |
|---|---|
default List<ReferenceType> |
TypeDeclaration.getAllAncestors()
The list of all the ancestors of the current declaration, direct and indirect.
|
List<ReferenceType> |
ClassDeclaration.getAllInterfaces()
Return all the interfaces implemented by this class, either directly or indirectly, including the interfaces
extended by interfaces it implements.
|
default List<ReferenceType> |
InterfaceDeclaration.getAllInterfacesExtended()
Return the list of interfaces extended directly or indirectly by this one.
|
List<ReferenceType> |
ClassDeclaration.getAllSuperClasses()
Get all superclasses, with all the type typeParametersValues expressed as functions of the type
typeParametersValues of this declaration.
|
List<ReferenceType> |
TypeDeclaration.getAncestors()
The list of all the direct ancestors of the current declaration.
|
List<ReferenceType> |
ClassDeclaration.getInterfaces()
Return all the interfaces implemented directly by this class.
|
List<ReferenceType> |
InterfaceDeclaration.getInterfacesExtended()
Return the list of interfaces extended directly by this one.
|
| Modifier and Type | Method and Description |
|---|---|
default ReferenceType |
Type.asReferenceType() |
ReferenceType |
ReferenceType.asReferenceType() |
protected abstract ReferenceType |
ReferenceType.create(TypeDeclaration typeDeclaration,
List<Type> typeParameters,
TypeSolver typeSolver) |
protected ReferenceType |
ReferenceType.create(TypeDeclaration typeDeclaration,
TypeParametersMap typeParametersMap,
TypeSolver typeSolver) |
protected abstract ReferenceType |
ReferenceType.create(TypeDeclaration typeDeclaration,
TypeSolver typeSolver) |
ReferenceType |
ReferenceType.deriveTypeParameters(TypeParametersMap typeParametersMap) |
| Modifier and Type | Method and Description |
|---|---|
List<ReferenceType> |
ReferenceType.getAllAncestors()
Return all ancestors, that means all superclasses and interfaces.
|
List<ReferenceType> |
ReferenceType.getAllInterfacesAncestors() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ReferenceType.compareConsideringTypeParameters(ReferenceType other) |
Copyright © 2016. All rights reserved.