public class JavaParserTypeVariableDeclaration extends AbstractTypeDeclaration
| Constructor and Description |
|---|
JavaParserTypeVariableDeclaration(com.github.javaparser.ast.TypeParameter wrappedNode,
TypeSolver typeSolver) |
getAllMethodsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasClass, asEnum, asInterface, asType, canBeAssignedTo, containerType, getAllAncestors, getAllNonStaticFields, getAllStaticFields, getDeclaredFields, hasAnnotation, internalTypes, isEnumasField, asMethod, asParameter, hasName, isMethodpublic JavaParserTypeVariableDeclaration(com.github.javaparser.ast.TypeParameter wrappedNode,
TypeSolver typeSolver)
public boolean isAssignableBy(TypeDeclaration other)
public String getQualifiedName()
public Context getContext()
public SymbolReference<MethodDeclaration> solveMethod(String name, List<Type> parameterTypes)
protected TypeSolver typeSolver()
typeSolver in class AbstractTypeDeclarationpublic Type getUsage(com.github.javaparser.ast.Node node)
public boolean isAssignableBy(Type type)
public boolean isTypeVariable()
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.TypeParameter getWrappedNode()
Copyright © 2016. All rights reserved.