Class UnificationTypedExpression
- java.lang.Object
-
- org.drools.modelcompiler.builder.generator.TypedExpression
-
- org.drools.modelcompiler.builder.generator.UnificationTypedExpression
-
public class UnificationTypedExpression extends TypedExpression
-
-
Field Summary
-
Fields inherited from class org.drools.modelcompiler.builder.generator.TypedExpression
left, right, staticExpr
-
-
Constructor Summary
Constructors Constructor Description UnificationTypedExpression(String unificationVariable, Type type, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnificationTypedExpressioncloneWithNewExpression(com.github.javaparser.ast.expr.Expression newExpression)booleanequals(Object o)Optional<String>getUnificationName()Optional<String>getUnificationVariable()inthashCode()booleanisNumberLiteral()StringtoString()com.github.javaparser.ast.expr.ExpressionuncastExpression()-
Methods inherited from class org.drools.modelcompiler.builder.generator.TypedExpression
containThis, getBoxedType, getExpression, getFieldName, getJPType, getLeft, getOriginalPatternType, getRawClass, getRight, getType, getTypeBeforeCoercion, isArray, isBigDecimal, isList, isMap, isNumberLiteral, isPrimitive, isStatic, isThisExpression, setLeft, setOriginalPatternType, setRight, setStatic, setType
-
-
-
-
Method Detail
-
isNumberLiteral
public boolean isNumberLiteral()
- Overrides:
isNumberLiteralin classTypedExpression
-
cloneWithNewExpression
public UnificationTypedExpression cloneWithNewExpression(com.github.javaparser.ast.expr.Expression newExpression)
- Overrides:
cloneWithNewExpressionin classTypedExpression
-
uncastExpression
public com.github.javaparser.ast.expr.Expression uncastExpression()
- Overrides:
uncastExpressionin classTypedExpression
-
toString
public String toString()
- Overrides:
toStringin classTypedExpression
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTypedExpression
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTypedExpression
-
-