public enum InferenceRuleType extends java.lang.Enum<InferenceRuleType>
Enum Constant | Description |
---|---|
CONTAINS |
|
EQUALITY |
https://docs.oracle.com/javase/specs/jls/se8/html/jls-18.html#jls-18.2.4
|
LOOSE_INVOCATION |
|
SUBTYPE |
Modifier and Type | Method | Description |
---|---|---|
abstract java.util.List<BoundOrConstraint> |
reduce(BoundOrConstraint constraint) |
|
static InferenceRuleType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static InferenceRuleType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InferenceRuleType EQUALITY
public static final InferenceRuleType SUBTYPE
public static final InferenceRuleType LOOSE_INVOCATION
public static final InferenceRuleType CONTAINS
public static InferenceRuleType[] values()
for (InferenceRuleType c : InferenceRuleType.values()) System.out.println(c);
public static InferenceRuleType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.util.List<BoundOrConstraint> reduce(BoundOrConstraint constraint)
Copyright © 2002–2018 PMD. All rights reserved.