Enum InferenceRuleType
- java.lang.Object
-
- java.lang.Enum<InferenceRuleType>
-
- net.sourceforge.pmd.lang.java.typeresolution.typeinference.InferenceRuleType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InferenceRuleType>
@Deprecated @InternalApi public enum InferenceRuleType extends java.lang.Enum<InferenceRuleType>
Deprecated.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINSDeprecated.EQUALITYDeprecated.https://docs.oracle.com/javase/specs/jls/se8/html/jls-18.html#jls-18.2.4LOOSE_INVOCATIONDeprecated.SUBTYPEDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract java.util.List<BoundOrConstraint>reduce(BoundOrConstraint constraint)Deprecated.static InferenceRuleTypevalueOf(java.lang.String name)Deprecated.Returns the enum constant of this type with the specified name.static InferenceRuleType[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALITY
public static final InferenceRuleType EQUALITY
Deprecated.https://docs.oracle.com/javase/specs/jls/se8/html/jls-18.html#jls-18.2.4
-
SUBTYPE
public static final InferenceRuleType SUBTYPE
Deprecated.
-
LOOSE_INVOCATION
public static final InferenceRuleType LOOSE_INVOCATION
Deprecated.
-
CONTAINS
public static final InferenceRuleType CONTAINS
Deprecated.
-
-
Method Detail
-
values
public static InferenceRuleType[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InferenceRuleType c : InferenceRuleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InferenceRuleType valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
reduce
public abstract java.util.List<BoundOrConstraint> reduce(BoundOrConstraint constraint)
Deprecated.
-
-