Enum InferenceRuleType
- java.lang.Object
-
- java.lang.Enum<InferenceRuleType>
-
- net.sourceforge.pmd.lang.java.typeresolution.typeinference.InferenceRuleType
-
- All Implemented Interfaces:
Serializable
,Comparable<InferenceRuleType>
@Deprecated @InternalApi public enum InferenceRuleType extends Enum<InferenceRuleType>
Deprecated.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINS
Deprecated.EQUALITY
Deprecated.https://docs.oracle.com/javase/specs/jls/se8/html/jls-18.html#jls-18.2.4LOOSE_INVOCATION
Deprecated.SUBTYPE
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract List<BoundOrConstraint>
reduce(BoundOrConstraint constraint)
Deprecated.static InferenceRuleType
valueOf(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(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
reduce
public abstract List<BoundOrConstraint> reduce(BoundOrConstraint constraint)
Deprecated.
-
-