public class JavaParserTypeParameter extends AbstractTypeDeclaration implements com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
| Constructor and Description |
|---|
JavaParserTypeParameter(com.github.javaparser.ast.type.TypeParameter wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> |
containerType() |
boolean |
equals(Object o) |
List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> |
getAllFields() |
List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getAncestors(boolean acceptIncompleteList) |
List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration.Bound> |
getBounds() |
List<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> |
getConstructors() |
com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable |
getContainer() |
String |
getContainerId() |
String |
getContainerQualifiedName() |
Context |
getContext() |
Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
getDeclaredMethods() |
com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration |
getField(String name) |
String |
getName() |
String |
getQualifiedName() |
List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> |
getTypeParameters() |
com.github.javaparser.resolution.types.ResolvedType |
getUsage(com.github.javaparser.ast.Node node) |
com.github.javaparser.ast.type.TypeParameter |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserTypeParameter.
|
boolean |
hasDirectlyAnnotation(String canonicalName) |
boolean |
hasField(String name) |
int |
hashCode() |
boolean |
isAssignableBy(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other) |
boolean |
isAssignableBy(com.github.javaparser.resolution.types.ResolvedType type) |
boolean |
isTypeParameter() |
SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
solveMethod(String name,
List<com.github.javaparser.resolution.types.ResolvedType> parameterTypes) |
String |
toString() |
getAllMethods, isFunctionalInterfaceclone, finalize, getClass, notify, notifyAll, wait, wait, waitdeclaredOnConstructor, declaredOnMethod, declaredOnType, getClassName, getLowerBound, getPackageName, getUpperBound, hasLowerBound, hasUpperBound, onTypeasClass, asEnum, asInterface, asReferenceType, asType, asTypeParameter, getId, getInternalType, hasInternalType, internalTypes, isAnonymousClass, isClass, isEnum, isInterface, isTypeasEnumConstant, asField, asMethod, asParameter, hasName, isEnumConstant, isField, isMethod, isParameter, isVariableasReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllNonStaticFields, getAllStaticFields, getAncestors, getDeclaredFields, getVisibleField, getVisibleFields, hasAnnotation, hasVisibleFieldpublic JavaParserTypeParameter(com.github.javaparser.ast.type.TypeParameter wrappedNode,
TypeSolver typeSolver)
public Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(String name, List<com.github.javaparser.resolution.types.ResolvedType> parameterTypes)
public String getName()
getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationgetName in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclarationpublic boolean isAssignableBy(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other)
isAssignableBy in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic String getContainerQualifiedName()
getContainerQualifiedName in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclarationpublic String getContainerId()
getContainerId in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclarationpublic com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable getContainer()
getContainer in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclarationpublic String getQualifiedName()
getQualifiedName in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationgetQualifiedName in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclarationpublic List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration.Bound> getBounds()
getBounds in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclarationpublic Context getContext()
public com.github.javaparser.resolution.types.ResolvedType getUsage(com.github.javaparser.ast.Node node)
public boolean isAssignableBy(com.github.javaparser.resolution.types.ResolvedType type)
isAssignableBy in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration getField(String name)
getField in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean hasField(String name)
hasField in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> getAllFields()
getAllFields in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic List<com.github.javaparser.resolution.types.ResolvedReferenceType> getAncestors(boolean acceptIncompleteList)
getAncestors in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean isTypeParameter()
isTypeParameter in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic boolean hasDirectlyAnnotation(String canonicalName)
hasDirectlyAnnotation in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizablepublic com.github.javaparser.ast.type.TypeParameter getWrappedNode()
public Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> containerType()
containerType in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic List<com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration> getConstructors()
getConstructors in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationCopyright © 2007–2019. All rights reserved.