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 JTypeVarASTTypeParameter. 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 JTypeVarJTypeParameterSymbol. 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 JTypeVarJTypeVar. addAnnotation(@NonNull SymbolicValue.SymAnnot newAnnot)@Nullable JTypeVarLexicalScope. apply(@NonNull String var)Returns the type var with the given name, or null.JTypeVarJTypeVar. cloneWithBounds(JTypeMirror lower, JTypeMirror upper)JTypeVarTypeSystem. newTypeVar(JTypeParameterSymbol symbol)Returns a new type variable for the given symbol.JTypeVarJTypeVar. substInBounds(Function<? super SubstVar,? extends @NonNull JTypeMirror> substitution)LikeSubstVar.subst(Function), except this typevar is not the subject of the substitution, only its bounds.JTypeVarJTypeVar. withAnnotations(org.pcollections.PSet<SymbolicValue.SymAnnot> newTypeAnnots)JTypeVarJTypeVar. withUpperBound(@NonNull JTypeMirror newUB)Deprecated.Since 7.12.0.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 RJTypeVisitor. 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 LexicalScopeLexicalScope. andThen(List<? extends JTypeVar> vars)Return a new scope which contains the given tvars.static SubstitutionSubstitution. 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)
-