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

Examples of org.eclipse.jdt.internal.compiler.ast.ReferenceExpression.initialize()


  if (dimension > 0 || typeAnnotatedName) {
    if (!isPrimitive) {
      pushOnGenericsLengthStack(0);
      pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);
    }
    referenceExpression.initialize(this.compilationUnit.compilationResult, getTypeReference(dimension), typeArguments, selector, sourceEnd);
  } else {
    referenceExpression.initialize(this.compilationUnit.compilationResult, getUnspecifiedReference(), typeArguments, selector, sourceEnd);
  }
  consumeReferenceExpression(referenceExpression);
}
View Full Code Here


      pushOnGenericsLengthStack(0);
      pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);
    }
    referenceExpression.initialize(this.compilationUnit.compilationResult, getTypeReference(dimension), typeArguments, selector, sourceEnd);
  } else {
    referenceExpression.initialize(this.compilationUnit.compilationResult, getUnspecifiedReference(), typeArguments, selector, sourceEnd);
  }
  consumeReferenceExpression(referenceExpression);
}
protected void consumeReferenceExpressionPrimaryForm() {
  // ReferenceExpression ::= Primary '::' NonWildTypeArgumentsopt Identifier
View Full Code Here

    this.intPtr--;  // pop type arguments source start.
  }
 
  Expression primary = this.expressionStack[this.expressionPtr--];
  this.expressionLengthPtr--;
  referenceExpression.initialize(this.compilationUnit.compilationResult, primary, typeArguments, selector, sourceEnd);
  consumeReferenceExpression(referenceExpression);
}
protected void consumeReferenceExpressionSuperForm() {
  // ReferenceExpression ::= 'super' '::' NonWildTypeArgumentsopt Identifier
View Full Code Here

    System.arraycopy(this.genericsStack, this.genericsPtr + 1, typeArguments = new TypeReference[length], 0, length);
    this.intPtr--;  // pop type arguments source start.
  }
 
  SuperReference superReference = new SuperReference(this.intStack[this.intPtr--], this.endPosition);
  referenceExpression.initialize(this.compilationUnit.compilationResult, superReference, typeArguments, selector, sourceEnd);
  consumeReferenceExpression(referenceExpression);
}
protected void consumeReferenceExpression(ReferenceExpression referenceExpression) {
  pushOnExpressionStack(referenceExpression);
  if (!this.parsingJava8Plus) {
View Full Code Here

    type = getTypeReference(dims);
  }
  this.intPtr--; // pop '<' position
  type.sourceEnd = typeSourceEnd;
 
  referenceExpression.initialize(this.compilationUnit.compilationResult, type, typeArguments, selector, sourceEnd);

  consumeReferenceExpression(referenceExpression);
}
protected void consumeEnterInstanceCreationArgumentList() {
  return;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.