Refactored SimplifyBooleanWithConstantsIntention

This commit is contained in:
Valentin Kipyatkov
2015-05-05 17:07:02 +03:00
parent 1fa14af02f
commit 0ca492464b
3 changed files with 66 additions and 74 deletions
@@ -67,6 +67,7 @@ public class JetBinaryExpression extends JetExpressionImpl implements JetOperati
return (JetSimpleNameExpression) findChildByType(JetNodeTypes.OPERATION_REFERENCE);
}
@NotNull
public IElementType getOperationToken() {
return getOperationReference().getReferencedNameElementType();
}