public class JavaParserTypeVariableDeclaration extends AbstractTypeDeclaration
| Constructor and Description |
|---|
JavaParserTypeVariableDeclaration(com.github.javaparser.ast.type.TypeParameter wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
TypeParameterDeclaration |
asTypeParameter() |
List<FieldDeclaration> |
getAllFields() |
List<ReferenceType> |
getAncestors() |
Context |
getContext() |
Set<MethodDeclaration> |
getDeclaredMethods() |
FieldDeclaration |
getField(String name) |
String |
getName() |
String |
getQualifiedName() |
List<TypeParameterDeclaration> |
getTypeParameters() |
Type |
getUsage(com.github.javaparser.ast.Node node) |
com.github.javaparser.ast.type.TypeParameter |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserTypeVariableDeclaration.
|
boolean |
hasDirectlyAnnotation(String canonicalName) |
boolean |
hasField(String name) |
boolean |
isAssignableBy(ReferenceTypeDeclaration other) |
boolean |
isAssignableBy(Type type) |
boolean |
isClass() |
boolean |
isField() |
boolean |
isInterface() |
boolean |
isParameter() |
boolean |
isType() |
boolean |
isTypeParameter() |
SymbolReference<MethodDeclaration> |
solveMethod(String name,
List<Type> parameterTypes) |
String |
toString() |
getAllMethods, isFunctionalInterfaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, getVisibleField, getVisibleFields, hasAnnotation, hasVisibleFieldasClass, asEnum, asInterface, asType, containerType, getId, internalTypes, isEnumasField, asMethod, asParameter, hasName, isMethodpublic JavaParserTypeVariableDeclaration(com.github.javaparser.ast.type.TypeParameter wrappedNode,
TypeSolver typeSolver)
public boolean isAssignableBy(ReferenceTypeDeclaration other)
public String getQualifiedName()
public Context getContext()
public SymbolReference<MethodDeclaration> solveMethod(String name, List<Type> parameterTypes)
public Type getUsage(com.github.javaparser.ast.Node node)
public boolean isAssignableBy(Type type)
public boolean isTypeParameter()
public FieldDeclaration getField(String name)
public boolean hasField(String name)
public List<FieldDeclaration> getAllFields()
public List<ReferenceType> getAncestors()
public Set<MethodDeclaration> getDeclaredMethods()
public String getName()
public boolean isField()
public boolean isParameter()
public boolean isType()
public boolean hasDirectlyAnnotation(String canonicalName)
public boolean isClass()
public boolean isInterface()
public List<TypeParameterDeclaration> getTypeParameters()
public TypeParameterDeclaration asTypeParameter()
public com.github.javaparser.ast.type.TypeParameter getWrappedNode()
Copyright © 2016. All rights reserved.