Uses of Interface
net.sourceforge.pmd.lang.java.types.JTypeVar
Packages that use JTypeVar
Package
Description
Contains the classes and interfaces modelling the Java AST.
The new symbol resolution framework
that inter-operates cleanly with type resolution.
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 -
Uses of JTypeVar in net.sourceforge.pmd.lang.java.symbols
Methods in net.sourceforge.pmd.lang.java.symbols that return JTypeVarMethods in net.sourceforge.pmd.lang.java.symbols that return types with arguments of type JTypeVarModifier and TypeMethodDescriptionJTypeParameterOwnerSymbol.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 JTypeVarModifier and TypeMethodDescriptiondefault JTypeVarJTypeVar.addAnnotation(@NonNull SymbolicValue.SymAnnot newAnnot) @Nullable JTypeVarReturns the type var with the given name, or null.JTypeVar.cloneWithBounds(JTypeMirror lower, JTypeMirror upper) TypeSystem.newTypeVar(JTypeParameterSymbol symbol) Returns a new type variable for the given symbol.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.withAnnotations(org.pcollections.PSet<SymbolicValue.SymAnnot> newTypeAnnots) JTypeVar.withUpperBound(@NonNull JTypeMirror newUB) Deprecated.Since 7.12.0.Methods in net.sourceforge.pmd.lang.java.types that return types with arguments of type JTypeVarModifier and TypeMethodDescriptionJClassType.getFormalTypeParams()Returns the list of type variables declared by the generic type declaration.JMethodSig.getTypeParameters()Return the type parameters of the method.TypeOps.substInBoundsOnly(List<JTypeVar> ts, Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) Methods in net.sourceforge.pmd.lang.java.types with parameters of type JTypeVarMethod parameters in net.sourceforge.pmd.lang.java.types with type arguments of type JTypeVarModifier and TypeMethodDescriptionReturn a new scope which contains the given tvars.static SubstitutionReturns a substitution that replaces the given type variables with their erasure.TypeOps.substInBoundsOnly(List<JTypeVar> ts, Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst)