public class JavaParserTypeVariableDeclaration extends AbstractTypeDeclaration
breadthFirstFunc, depthFirstFunc, JAVA_IO_SERIALIZABLE, JAVA_LANG_COMPARABLE, JAVA_LANG_ENUM, JAVA_LANG_OBJECT| Constructor and Description |
|---|
JavaParserTypeVariableDeclaration(TypeParameter wrappedNode,
TypeSolver typeSolver) |
getAllMethods, isFunctionalInterfaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllAncestors, getAllNonStaticFields, getAllStaticFields, getAncestors, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredFields, getVisibleField, getVisibleFields, hasAnnotation, hasVisibleField, isInheritedAnnotation, isJavaLangEnum, isJavaLangObject, isReferenceTypeasAnnotation, asClass, asEnum, asInterface, asType, getId, getInternalType, hasInternalType, internalTypes, isAnnotation, isAnonymousClass, isEnumasEnumConstant, asField, asMethod, asParameter, asPattern, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isVariabletoAstisGenericpublic JavaParserTypeVariableDeclaration(TypeParameter wrappedNode, TypeSolver typeSolver)
public boolean isAssignableBy(ResolvedReferenceTypeDeclaration other)
public String getPackageName()
public String getClassName()
public String getQualifiedName()
public Context getContext()
public SymbolReference<ResolvedMethodDeclaration> solveMethod(String name, List<ResolvedType> parameterTypes)
public ResolvedType getUsage(Node node)
public boolean isAssignableBy(ResolvedType type)
public boolean isTypeParameter()
public ResolvedFieldDeclaration getField(String name)
public boolean hasField(String name)
public List<ResolvedFieldDeclaration> getAllFields()
public List<ResolvedReferenceType> getAncestors(boolean acceptIncompleteList)
public Set<ResolvedMethodDeclaration> getDeclaredMethods()
public String getName()
public boolean isType()
public boolean hasDirectlyAnnotation(String canonicalName)
public boolean isClass()
public boolean isInterface()
public List<ResolvedTypeParameterDeclaration> getTypeParameters()
public ResolvedTypeParameterDeclaration asTypeParameter()
public TypeParameter getWrappedNode()
public Optional<ResolvedReferenceTypeDeclaration> containerType()
public List<ResolvedConstructorDeclaration> getConstructors()
Copyright © 2007–2024. All rights reserved.