Uses of Interface
net.sourceforge.pmd.lang.java.types.SubstVar
-
Packages that use SubstVar Package Description net.sourceforge.pmd.lang.java.types 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.types Modifier and Type Interface Description interfaceJTypeVarThe type of a type variable.Methods in net.sourceforge.pmd.lang.java.types with parameters of type SubstVar Modifier and Type Method Description @NonNull JTypeMirrorSubstitution. apply(@NonNull SubstVar var)Returns the type with which the given variable should be replaced.SubstitutionSubstitution. 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 SubstVar Modifier and Type Method Description static 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)JArrayTypeJArrayType. subst(Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)default JClassTypeJClassType. subst(Function<? super SubstVar,? extends @NonNull JTypeMirror> fun)JIntersectionTypeJIntersectionType. subst(Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)JMethodSigJMethodSig. subst(Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)JTypeMirrorJPrimitiveType. subst(Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)JTypeMirrorJTypeMirror. subst(Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)JTypeVisitableJTypeVisitable. subst(Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)Replace the type variables occurring in the given type by their image by the given function.JWildcardTypeJWildcardType. subst(Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)default JTypeMirrorSubstVar. subst(Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)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<JTypeMirror>TypeOps. subst(List<? extends JTypeMirror> ts, Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)Substitute on a list of types.static List<JClassType>TypeOps. substClasses(List<JClassType> ts, Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)JTypeVarJTypeVar. substInBounds(Function<? super SubstVar,? extends @NonNull JTypeMirror> substitution)Likesubst(Function), except this typevar is not the subject of the substitution, only its bounds.static List<JTypeVar>TypeOps. substInBoundsOnly(List<JTypeVar> ts, Function<? super SubstVar,? extends @NonNull JTypeMirror> subst)
-