Beispiel #1
0
  public TypeBinding resolveType(BlockScope scope) {

    constant = Constant.NotAConstant;
    if (!checkAccess(scope.methodScope())) return null;
    ReferenceBinding enclosingReceiverType = scope.enclosingReceiverType();
    if (enclosingReceiverType.id == T_JavaLangObject) {
      scope.problemReporter().cannotUseSuperInJavaLangObject(this);
      return null;
    }
    return this.resolvedType = enclosingReceiverType.superclass();
  }