String leftValue = null;
String rightValue = null;
boolean isRightLiteral = false;
boolean usesThisRef = false;
if ( exprDescr.getRight() instanceof AtomicExprDescr ) {
AtomicExprDescr rdescr = ((AtomicExprDescr) exprDescr.getRight());
rightValue = rdescr.getExpression().trim();
usesThisRef = "this".equals( rightValue ) || rightValue.startsWith( "this." );
isRightLiteral = rdescr.isLiteral();
} else {
BindingDescr rdescr = ((BindingDescr) exprDescr.getRight());
rightValue = rdescr.getExpression().trim();
usesThisRef = "this".equals( rightValue ) || rightValue.startsWith( "this." );
}
if ( exprDescr.getLeft() instanceof AtomicExprDescr ) {
AtomicExprDescr ldescr = (AtomicExprDescr) exprDescr.getLeft();
leftValue = ldescr.getExpression();
usesThisRef = usesThisRef || "this".equals( leftValue ) || leftValue.startsWith( "this." );
} else {
leftValue = ((BindingDescr) exprDescr.getLeft()).getExpression();
usesThisRef = usesThisRef || "this".equals( leftValue ) || leftValue.startsWith( "this." );
}