public class JavaParserTypeParameter
extends com.github.javaparser.symbolsolver.logic.AbstractTypeDeclaration
implements com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
| Constructor and Description |
|---|
JavaParserTypeParameter(com.github.javaparser.ast.type.TypeParameter wrappedNode,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> |
containerType() |
boolean |
equals(java.lang.Object o) |
java.util.List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> |
getAllFields() |
java.util.List<com.github.javaparser.resolution.types.ResolvedReferenceType> |
getAncestors() |
java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration.Bound> |
getBounds() |
com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable |
getContainer() |
java.lang.String |
getContainerId() |
java.lang.String |
getContainerQualifiedName() |
Context |
getContext() |
java.util.Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
getDeclaredMethods() |
com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration |
getField(java.lang.String name) |
java.lang.String |
getName() |
java.lang.String |
getQualifiedName() |
java.util.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(java.lang.String canonicalName) |
boolean |
hasField(java.lang.String name) |
int |
hashCode() |
boolean |
isAssignableBy(com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration other) |
boolean |
isAssignableBy(com.github.javaparser.resolution.types.ResolvedType type) |
boolean |
isTypeParameter() |
com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> |
solveMethod(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> parameterTypes) |
java.lang.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, isTypeasField, asMethod, asParameter, hasName, isField, isMethod, isParameterasReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getVisibleField, getVisibleFields, hasAnnotation, hasVisibleFieldpublic JavaParserTypeParameter(com.github.javaparser.ast.type.TypeParameter wrappedNode,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public java.util.Set<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> getDeclaredMethods()
getDeclaredMethods in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic com.github.javaparser.symbolsolver.model.resolution.SymbolReference<com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration> solveMethod(java.lang.String name,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> parameterTypes)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.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 java.lang.String getContainerQualifiedName()
getContainerQualifiedName in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclarationpublic java.lang.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 java.lang.String getQualifiedName()
getQualifiedName in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationgetQualifiedName in interface com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclarationpublic java.util.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(java.lang.String name)
getField in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean hasField(java.lang.String name)
hasField in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic java.util.List<com.github.javaparser.resolution.declarations.ResolvedFieldDeclaration> getAllFields()
getAllFields in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic java.util.List<com.github.javaparser.resolution.types.ResolvedReferenceType> getAncestors()
getAncestors in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic boolean isTypeParameter()
isTypeParameter in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclarationpublic boolean hasDirectlyAnnotation(java.lang.String canonicalName)
hasDirectlyAnnotation in interface com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationpublic java.util.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 java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Optional<com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration> containerType()
containerType in interface com.github.javaparser.resolution.declarations.ResolvedTypeDeclaration