Uses of Interface
net.sourceforge.pmd.lang.java.types.JTypeVar
-
Packages that use JTypeVar Package Description net.sourceforge.pmd.lang.java.ast Contains the classes and interfaces modelling the Java AST.net.sourceforge.pmd.lang.java.symbols The new symbol resolution framework that inter-operates cleanly with type resolution.net.sourceforge.pmd.lang.java.types Support for compile-time type resolution on the AST. -
-
Uses of JTypeVar in net.sourceforge.pmd.lang.java.ast
Methods in net.sourceforge.pmd.lang.java.ast that return JTypeVar Modifier and Type Method Description @NonNull JTypeVar
ASTTypeParameter. getTypeMirror()
-
Uses of JTypeVar in net.sourceforge.pmd.lang.java.symbols
Methods in net.sourceforge.pmd.lang.java.symbols that return JTypeVar Modifier and Type Method Description JTypeVar
JTypeParameterSymbol. getTypeMirror()
Methods in net.sourceforge.pmd.lang.java.symbols that return types with arguments of type JTypeVar Modifier and Type Method Description List<JTypeVar>
JTypeParameterOwnerSymbol. getTypeParameters()
Returns an unmodifiable list of the type variables declared by this symbol. -
Uses of JTypeVar in net.sourceforge.pmd.lang.java.types
Methods in net.sourceforge.pmd.lang.java.types that return JTypeVar Modifier and Type Method Description default JTypeVar
JTypeVar. addAnnotation(@NonNull SymbolicValue.SymAnnot newAnnot)
@Nullable JTypeVar
LexicalScope. apply(@NonNull String var)
Returns the type var with the given name, or null.JTypeVar
JTypeVar. cloneWithBounds(JTypeMirror lower, JTypeMirror upper)
JTypeVar
TypeSystem. newTypeVar(JTypeParameterSymbol symbol)
Returns a new type variable for the given symbol.JTypeVar
JTypeVar. substInBounds(Function<? super SubstVar,? extends @NonNull JTypeMirror> substitution)
LikeSubstVar.subst(Function)
, except this typevar is not the subject of the substitution, only its bounds.JTypeVar
JTypeVar. withAnnotations(org.pcollections.PSet<SymbolicValue.SymAnnot> newTypeAnnots)
JTypeVar
JTypeVar. withUpperBound(@NonNull JTypeMirror newUB)
Return a new type variable with the same underlying symbol or capture variable, but the upper bound is now the given type.Methods in net.sourceforge.pmd.lang.java.types that return types with arguments of type JTypeVar Modifier and Type Method Description List<JTypeVar>
JClassType. getFormalTypeParams()
Returns the list of type variables declared by the generic type declaration.List<JTypeVar>
JMethodSig. getTypeParameters()
Return the type parameters of the method.static List<JTypeVar>
TypeOps. substInBoundsOnly(List<JTypeVar> ts, Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)
Methods in net.sourceforge.pmd.lang.java.types with parameters of type JTypeVar Modifier and Type Method Description default R
JTypeVisitor. visitTypeVar(JTypeVar t, P p)
Method parameters in net.sourceforge.pmd.lang.java.types with type arguments of type JTypeVar Modifier and Type Method Description LexicalScope
LexicalScope. andThen(List<? extends JTypeVar> vars)
Return a new scope which contains the given tvars.static Substitution
Substitution. erasing(List<? extends JTypeVar> tparams)
Returns a substitution that replaces the given type variables with their erasure.static List<JTypeVar>
TypeOps. substInBoundsOnly(List<JTypeVar> ts, Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)
-