Package org.eclipse.jdt.internal.compiler.ast

Examples of org.eclipse.jdt.internal.compiler.ast.ThisReference


          if (literal != null) {
            return this.getTypeBinding(literal.literalType(null));
          }
          break;
        case ASTNode.THIS_EXPRESSION :
          ThisReference thisReference = (ThisReference) this.newAstToOldAst.get(expression);
          BlockScope blockScope = (BlockScope) this.astNodesToBlockScope.get(expression);
          if (blockScope != null) {
            return this.getTypeBinding(thisReference.resolveType(blockScope));
          }
          break;
        case ASTNode.PARENTHESIZED_EXPRESSION :
          ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression) expression;
          return resolveExpressionType(parenthesizedExpression.getExpression());
View Full Code Here


          if (literal != null) {
            return this.getTypeBinding(literal.literalType(null));
          }
          break;
        case ASTNode.THIS_EXPRESSION :
          ThisReference thisReference = (ThisReference) this.newAstToOldAst.get(expression);
          BlockScope blockScope = (BlockScope) this.astNodesToBlockScope.get(expression);
          if (blockScope != null) {
            return this.getTypeBinding(thisReference.resolveType(blockScope));
          }
          break;
        case ASTNode.PARENTHESIZED_EXPRESSION :
          ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression) expression;
          return resolveExpressionType(parenthesizedExpression.getExpression());
View Full Code Here

          if (literal != null) {
            return this.getTypeBinding(literal.literalType(null));
          }
          break;
        case ASTNode.THIS_EXPRESSION :
          ThisReference thisReference = (ThisReference) this.newAstToOldAst.get(expression);
          BlockScope blockScope = (BlockScope) this.astNodesToBlockScope.get(expression);
          if (blockScope != null) {
            return this.getTypeBinding(thisReference.resolveType(blockScope));
          }
          break;
        case ASTNode.PARENTHESIZED_EXPRESSION :
          ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression) expression;
          return resolveExpressionType(parenthesizedExpression.getExpression());
View Full Code Here

    cla = new ClassLiteralAccess(this.intStack[this.intPtr--], getTypeReference(0)));
  rejectIllegalTypeAnnotations(cla.type);
}
protected void consumePrimaryNoNewArrayThis() {
  // PrimaryNoNewArray ::= 'this'
  pushOnExpressionStack(new ThisReference(this.intStack[this.intPtr--], this.endPosition));
}
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.compiler.ast.ThisReference

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.