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 InferenceRuleType
ruleType
Deprecated.
-
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 void
addVariablesToSet(Set<Variable> variables)
Deprecated.boolean
equals(Object obj)
Deprecated.Variable
getLeftMentionedVariable()
Deprecated.Variable
getRightMentionedVariable()
Deprecated.int
hashCode()
Deprecated.boolean
isLeftArray()
Deprecated.boolean
isLeftClassOrInterface()
Deprecated.boolean
isLeftNull()
Deprecated.boolean
isLeftPrimitive()
Deprecated.boolean
isLeftProper()
Deprecated.boolean
isLeftType()
Deprecated.boolean
isLeftVariable()
Deprecated.boolean
isRightArray()
Deprecated.boolean
isRightClassOrInterface()
Deprecated.boolean
isRightNull()
Deprecated.boolean
isRightPrimitive()
Deprecated.boolean
isRightProper()
Deprecated.boolean
isRightType()
Deprecated.boolean
isRightVariable()
Deprecated.boolean
leftHasMentionedVariable()
Deprecated.JavaTypeDefinition
leftProper()
Deprecated.Variable
leftVariable()
Deprecated.abstract List<BoundOrConstraint>
reduce()
Deprecated.boolean
rightHasMentionedVariable()
Deprecated.JavaTypeDefinition
rightProper()
Deprecated.Variable
rightVariable()
Deprecated.InferenceRuleType
ruleType()
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.
-
-