refactoring of property handling and general handling of (this,receiver)

This commit is contained in:
Alex Tkachman
2011-12-01 12:58:20 +02:00
parent aad2d17cd8
commit 74fe24ef80
10 changed files with 427 additions and 423 deletions
@@ -26,7 +26,7 @@ public class JetPrefixExpression extends JetUnaryExpression {
@Nullable @IfNotParsed
public JetExpression getBaseExpression() {
PsiElement expression = getOperationSign().getNextSibling();
while (expression != null && false == expression instanceof JetExpression) {
while (expression != null && !(expression instanceof JetExpression)) {
expression = expression.getNextSibling();
}
return (JetExpression) expression;