Uses of Interface
net.sourceforge.pmd.lang.java.types.SubstVar
Packages that use SubstVar
Package
Description
Support for compile-time type resolution on the AST.
-
Uses of SubstVar in net.sourceforge.pmd.lang.java.types
Subinterfaces of SubstVar in net.sourceforge.pmd.lang.java.typesMethods in net.sourceforge.pmd.lang.java.types with parameters of type SubstVarModifier and TypeMethodDescription@NonNull JTypeMirrorReturns the type with which the given variable should be replaced.Substitution.plus(SubstVar from, JTypeMirror to) Maps the given variable to the given type.Method parameters in net.sourceforge.pmd.lang.java.types with type arguments of type SubstVarModifier and TypeMethodDescriptionstatic SubstitutionSubstitution.mapping(List<? extends SubstVar> from, List<? extends JTypeMirror> to) Builds a substitution where the mapping from vars to types is defined by the correspondence between the two lists.static booleanTypeOps.mentionsAny(JTypeVisitable t, Collection<? extends SubstVar> vars) JArrayType.subst(Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) default JClassTypeJClassType.subst(Function<? super SubstVar, ? extends @NonNull JTypeMirror> fun) JIntersectionType.subst(Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) JMethodSig.subst(Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) JPrimitiveType.subst(Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) JTypeMirror.subst(Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) JTypeVisitable.subst(Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) Replace the type variables occurring in the given type by their image by the given function.JWildcardType.subst(Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) default JTypeMirrorSubstVar.subst(Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) static List<JTypeMirror> TypeOps.subst(List<? extends JTypeMirror> ts, Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) Substitute on a list of types.static JTypeMirrorTypeOps.subst(@Nullable JTypeMirror type, Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) Replace the type variables occurring in the given type to their image by the given function.static List<JClassType> TypeOps.substClasses(List<JClassType> ts, Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst) JTypeVar.substInBounds(Function<? super SubstVar, ? extends @NonNull JTypeMirror> substitution) Likesubst(Function), except this typevar is not the subject of the substitution, only its bounds.TypeOps.substInBoundsOnly(List<JTypeVar> ts, Function<? super SubstVar, ? extends @NonNull JTypeMirror> subst)