Examples of problemReporter()


Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

  for (int i = 0, count = this.handledExceptions.length; i < count; i++) {
    int index = this.indexes.get(this.handledExceptions[i]);
    int cacheIndex = index / ExceptionHandlingFlowContext.BitCacheSize;
    int bitMask = 1 << (index % ExceptionHandlingFlowContext.BitCacheSize);
    if ((this.isReached[cacheIndex] & bitMask) == 0) {
      scope.problemReporter().unusedDeclaredThrownException(
        this.handledExceptions[index],
        method,
        method.thrownExceptions[index]);
    }
  }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

   
    this.delegateThis = scope.getField(snippetType, DELEGATE_THIS, this);
    if (this.delegateThis == null || !this.delegateThis.isValidBinding()) {
      // should not happen
      // if this happen we should report illegal access to this in a static context
      methodScope.problemReporter().errorThisSuperInStatic(this);
      return null;
    }
    return this.resolvedType = this.delegateThis.type;
  }
  public void setActualReceiverType(ReferenceBinding receiverType) {
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

            }
           
          }
        }
        if (usingNonTypeVariableInITD) {
          scope.problemReporter().signalError(sourceStart,sourceEnd,
            "Cannot make inter-type declarations on parameterized types");
          // to prevent disgusting cascading errors after this problem - lets null out what leads to them (pr105038)
          this.arguments=null;
          this.returnType=new SingleTypeReference(TypeReference.VOID,0L);
         
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

      // if the real target type used a type variable alias then we can do this OK, but need to switch things around, we want the generic type
      rb = ((RawTypeBinding)rb).type;
    }
   
    if (rb instanceof TypeVariableBinding) {
      scope.problemReporter().signalError(sourceStart,sourceEnd,
            "Cannot make inter-type declarations on type variables, use an interface and declare parents");
      // to prevent disgusting cascading errors after this problem - lets null out what leads to them (pr105038)
      this.arguments=null;
      this.returnType=new SingleTypeReference(TypeReference.VOID,0L);
     
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

    // resolve it
    ReferenceBinding rb = (ReferenceBinding)ot.getTypeBindingPublic(scope.parent);

    if (rb instanceof TypeVariableBinding) {
      scope.problemReporter().signalError(sourceStart,sourceEnd,
            "Cannot make inter-type declarations on type variables, use an interface and declare parents");
      // to prevent disgusting cascading errors after this problem - lets null out what leads to them (pr105038)
      this.arguments=null;
      this.returnType=new SingleTypeReference(TypeReference.VOID,0L);
     
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

    this.delegateThis = scope.getField(snippetType, DELEGATE_THIS, this);
    if (this.delegateThis == null || !this.delegateThis.isValidBinding()) {
      // should not happen
      // if this happen we should report illegal access to this in a static context
      methodScope.problemReporter().errorThisSuperInStatic(this);
      return null;
    }
    return this.resolvedType = this.delegateThis.type;
  }
 
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

      for (int j = 0; j < docCommentReferencesLength; j++) {
        if (docCommentReferences[j] == this.handledExceptions[i]) {
          continue nextHandledException;
        }
      }
      scope.problemReporter().unusedDeclaredThrownException(
        this.handledExceptions[index],
        method,
        method.thrownExceptions[index]);
    }
  }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

    this.delegateThis = scope.getField(snippetType, DELEGATE_THIS, this);
    if (this.delegateThis == null || !this.delegateThis.isValidBinding()) {
      // should not happen
      // if this happen we should report illegal access to this in a static context
      methodScope.problemReporter().errorThisSuperInStatic(this);
      return null;
    }
    return this.resolvedType = this.delegateThis.type;
  }
 
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

      for (int j = 0; j < docCommentReferencesLength; j++) {
        if (docCommentReferences[j] == this.handledExceptions[i]) {
          continue nextHandledException;
        }
      }
      scope.problemReporter().unusedDeclaredThrownException(
        this.handledExceptions[index],
        method,
        method.thrownExceptions[index]);
    }
  }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.MethodScope.problemReporter()

      for (int j = 0; j < docCommentReferencesLength; j++) {
        if (docCommentReferences[j] == this.handledExceptions[i]) {
          continue nextHandledException;
        }
      }
      scope.problemReporter().unusedDeclaredThrownException(
        this.handledExceptions[index],
        method,
        method.thrownExceptions[index]);
    }
  }
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.