Package org.aspectj.org.eclipse.jdt.internal.compiler.lookup

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding.capture()


              originalTypeNames,
              missingElements,
              missingElementsStarts,
              missingElementsEnds)) {
            requestor.accept(
                guessedType.capture(scope, typeRef.sourceEnd),
                missingElements,
                missingElementsStarts,
                missingElementsEnds,
                this.problemFactory.hasAllowedProblems);
          }
View Full Code Here


      && compilerOptions.complianceLevel >= ClassFileConstants.JDK1_5
      && CharOperation.equals(this.binding.selector, TypeConstants.CLONE)) {
    this.resolvedType = this.actualReceiverType;
  } else {
    TypeBinding returnType = this.binding.returnType;
    if (returnType != null) returnType = returnType.capture(scope, this.sourceEnd);
    this.resolvedType = returnType;
  }
  if (this.receiver.isSuper() && compilerOptions.getSeverity(CompilerOptions.OverridingMethodWithoutSuperInvocation) != ProblemSeverities.Ignore) {
    final ReferenceContext referenceContext = scope.methodScope().referenceContext;
    if (referenceContext instanceof AbstractMethodDeclaration) {
View Full Code Here

  int index = this.indexOfFirstFieldBinding;
  if (index == length) { //  restrictiveFlag == FIELD
    this.constant = ((FieldBinding) this.binding).constant();
    // perform capture conversion if read access
    return (type != null && (this.bits & ASTNode.IsStrictlyAssigned) == 0)
        ? type.capture(scope, this.sourceEnd)
        : type;
  }
  // allocation of the fieldBindings array  and its respective constants
  int otherBindingsLength = length - index;
  this.otherCodegenBindings = this.otherBindings = new FieldBinding[otherBindingsLength];
View Full Code Here

    if (type == null)
      return null; // could not resolve type prior to this point

    this.bits &= ~ASTNode.DepthMASK; // flush previous depth if any   
    FieldBinding previousField = field;
    field = scope.getField(type.capture(scope, (int)this.sourcePositions[index]), token, this);
    int place = index - this.indexOfFirstFieldBinding;
    this.otherBindings[place] = field;
    this.otherDepths[place] = (this.bits & ASTNode.DepthMASK) >> ASTNode.DepthSHIFT;
    if (field.isValidBinding()) {
      // set generic cast of for previous field (if any)
View Full Code Here

      && scope.compilerOptions().complianceLevel >= ClassFileConstants.JDK1_5
      && CharOperation.equals(this.binding.selector, CLONE)) {
    this.resolvedType = actualReceiverType;
  } else {
    TypeBinding returnType = this.binding.returnType;
    if (returnType != null) returnType = returnType.capture(scope, this.sourceEnd);
    this.resolvedType = returnType;
  }
  return this.resolvedType;
}
}
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.