Class BoundOrConstraint
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.typeresolution.typeinference.BoundOrConstraint
-
- Direct Known Subclasses:
Bound,Constraint
@Deprecated @InternalApi public abstract class BoundOrConstraint extends Object
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected InferenceRuleTyperuleTypeDeprecated.
-
Constructor Summary
Constructors Constructor Description BoundOrConstraint(JavaTypeDefinition leftProperType, JavaTypeDefinition rightProperType, InferenceRuleType ruleType)Deprecated.BoundOrConstraint(JavaTypeDefinition leftProperType, Variable rightTypeVariable, InferenceRuleType ruleType)Deprecated.BoundOrConstraint(Variable leftTypeVariable, JavaTypeDefinition rightProperType, InferenceRuleType ruleType)Deprecated.BoundOrConstraint(Variable leftTypeVariable, Variable rightTypeVariable, InferenceRuleType ruleType)Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddVariablesToSet(Set<Variable> variables)Deprecated.booleanequals(Object obj)Deprecated.VariablegetLeftMentionedVariable()Deprecated.VariablegetRightMentionedVariable()Deprecated.inthashCode()Deprecated.booleanisLeftArray()Deprecated.booleanisLeftClassOrInterface()Deprecated.booleanisLeftNull()Deprecated.booleanisLeftPrimitive()Deprecated.booleanisLeftProper()Deprecated.booleanisLeftType()Deprecated.booleanisLeftVariable()Deprecated.booleanisRightArray()Deprecated.booleanisRightClassOrInterface()Deprecated.booleanisRightNull()Deprecated.booleanisRightPrimitive()Deprecated.booleanisRightProper()Deprecated.booleanisRightType()Deprecated.booleanisRightVariable()Deprecated.booleanleftHasMentionedVariable()Deprecated.JavaTypeDefinitionleftProper()Deprecated.VariableleftVariable()Deprecated.abstract List<BoundOrConstraint>reduce()Deprecated.booleanrightHasMentionedVariable()Deprecated.JavaTypeDefinitionrightProper()Deprecated.VariablerightVariable()Deprecated.InferenceRuleTyperuleType()Deprecated.
-
-
-
Field Detail
-
ruleType
protected final InferenceRuleType ruleType
Deprecated.
-
-
Constructor Detail
-
BoundOrConstraint
public BoundOrConstraint(JavaTypeDefinition leftProperType, JavaTypeDefinition rightProperType, InferenceRuleType ruleType)
Deprecated.
-
BoundOrConstraint
public BoundOrConstraint(JavaTypeDefinition leftProperType, Variable rightTypeVariable, InferenceRuleType ruleType)
Deprecated.
-
BoundOrConstraint
public BoundOrConstraint(Variable leftTypeVariable, JavaTypeDefinition rightProperType, InferenceRuleType ruleType)
Deprecated.
-
BoundOrConstraint
public BoundOrConstraint(Variable leftTypeVariable, Variable rightTypeVariable, InferenceRuleType ruleType)
Deprecated.
-
-
Method Detail
-
isLeftProper
public boolean isLeftProper()
Deprecated.
-
isLeftVariable
public boolean isLeftVariable()
Deprecated.
-
isLeftNull
public boolean isLeftNull()
Deprecated.
-
isLeftType
public boolean isLeftType()
Deprecated.
-
isLeftPrimitive
public boolean isLeftPrimitive()
Deprecated.
-
isLeftClassOrInterface
public boolean isLeftClassOrInterface()
Deprecated.
-
isLeftArray
public boolean isLeftArray()
Deprecated.
-
isRightProper
public boolean isRightProper()
Deprecated.
-
isRightVariable
public boolean isRightVariable()
Deprecated.
-
isRightNull
public boolean isRightNull()
Deprecated.
-
isRightType
public boolean isRightType()
Deprecated.
-
isRightPrimitive
public boolean isRightPrimitive()
Deprecated.
-
isRightClassOrInterface
public boolean isRightClassOrInterface()
Deprecated.
-
isRightArray
public boolean isRightArray()
Deprecated.
-
leftProper
public JavaTypeDefinition leftProper()
Deprecated.
-
leftVariable
public Variable leftVariable()
Deprecated.
-
rightProper
public JavaTypeDefinition rightProper()
Deprecated.
-
rightVariable
public Variable rightVariable()
Deprecated.
-
ruleType
public InferenceRuleType ruleType()
Deprecated.
-
reduce
public abstract List<BoundOrConstraint> reduce()
Deprecated.
-
leftHasMentionedVariable
public boolean leftHasMentionedVariable()
Deprecated.- Returns:
- true, if the left-hand side mentions variables
-
rightHasMentionedVariable
public boolean rightHasMentionedVariable()
Deprecated.- Returns:
- true, if the right-hand side mentions variales
-
getLeftMentionedVariable
public Variable getLeftMentionedVariable()
Deprecated.
-
getRightMentionedVariable
public Variable getRightMentionedVariable()
Deprecated.
-
-