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

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


public boolean isNullcheckedFieldAccess(Reference reference) {
  if (this.nullCheckedFieldReferences == null// always null unless CompilerOptions.enableSyntacticNullAnalysisForFields
    return false;
  int len = this.nullCheckedFieldReferences.length;
  for (int i=0; i<len; i++) {
    Reference checked = this.nullCheckedFieldReferences[i];
    if (checked == null) {
      return false;
    }
    if (checked.isEquivalent(reference)) {
      return true;
    }
  }
  return false;
}
View Full Code Here


public boolean isNullcheckedFieldAccess(Reference reference) {
  if (this.nullCheckedFieldReferences == null// always null unless CompilerOptions.enableSyntacticNullAnalysisForFields
    return false;
  int len = this.nullCheckedFieldReferences.length;
  for (int i=0; i<len; i++) {
    Reference checked = this.nullCheckedFieldReferences[i];
    if (checked == null) {
      return false;
    }
    if (checked.isEquivalent(reference)) {
      return true;
    }
  }
  return false;
}
View Full Code Here

  if (rejectTypeAnnotations) {
    consumeNonTypeUseName();
  }
  int length = this.identifierLengthStack[this.identifierLengthPtr];
  if (CharOperation.equals(assistIdentifier(), SUPER)){
    Reference reference;
    if (completionIndex > 0){ // qualified super
      // discard 'super' from identifier stacks
      // There is some voodoo going on here in combination with SelectionScanne#scanIdentifierOrKeyword, do in Rome as Romans do and leave the stacks at the right depth.
      this.identifierLengthStack[this.identifierLengthPtr] = completionIndex;
      int ptr = this.identifierPtr -= (length - completionIndex);
View Full Code Here

TOP

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

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.