Examples of superclass()


Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.superclass()

    ReferenceBinding enclosingReceiverType = scope.enclosingReceiverType();
    if (enclosingReceiverType.id == T_JavaLangObject) {
      scope.problemReporter().cannotUseSuperInJavaLangObject(this);
      return null;
    }
    return this.resolvedType = enclosingReceiverType.superclass();
  }

  public void traverse(ASTVisitor visitor, BlockScope blockScope) {
    visitor.visit(this, blockScope);
    visitor.endVisit(this, blockScope);
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.superclass()

      ResolvedType weaverType = null;
      if (!type.isAnonymousType()) {
        weaverType = factory.fromEclipse(type);
      } else {
        weaverType = factory.fromEclipse(type.superclass());
      }
      Set checked = new HashSet();
      for (Iterator i = weaverType.getInterTypeMungersIncludingSupers().iterator(); i.hasNext();) {
        ConcreteTypeMunger m = (ConcreteTypeMunger) i.next();
        ResolvedType theAspect = m.getAspectType();
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.superclass()

            if (couldBeMatch && !returnType.resolvedType.isCompatibleWith(mb.returnType))
              couldBeMatch = false;
            if (couldBeMatch)
              reportError = false;
          }
          supertype = supertype.superclass(); // superclass of object is null
        }
        // If we couldn't find something we override, report the error
        if (reportError)
          ((AjProblemReporter) this.scope.problemReporter()).itdMethodMustOverride(this, realthing);
      }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.superclass()

    // now check our membertypes (pr119570)
    ReferenceBinding[] memberTypes = sourceType.memberTypes;
    for (int i = 0, length = memberTypes.length; i < length; i++) {
      SourceTypeBinding rb = (SourceTypeBinding) memberTypes[i];
      if (!rb.superclass().equals(sourceType)) {
        doSupertypesFirst(rb.superclass(), yetToProcess);
      }
    }

    buildInterTypeAndPerClause(sourceType.scope);
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.superclass()

    // now check our membertypes (pr119570)
    ReferenceBinding[] memberTypes = sourceType.memberTypes;
    for (int i = 0, length = memberTypes.length; i < length; i++) {
      SourceTypeBinding rb = (SourceTypeBinding) memberTypes[i];
      if (!rb.superclass().equals(sourceType)) {
        doSupertypesFirst(rb.superclass(), yetToProcess);
      }
    }

    buildInterTypeAndPerClause(sourceType.scope);
    addCrosscuttingStructures(sourceType.scope);
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding.superclass()

        if (CharOperation.equals(typeVariableBinding.sourceName, typeVariableBinding2.sourceName)) {
          if (visitedTypes.contains(typeBinding)) return true;
          visitedTypes.add(typeBinding);

          return isEqual(typeVariableBinding.declaringElement, typeVariableBinding2.declaringElement, visitedTypes)
          && isEqual(typeVariableBinding.superclass(), typeVariableBinding2.superclass(), visitedTypes)
          && isEqual(typeVariableBinding.superInterfaces(), typeVariableBinding2.superInterfaces(), visitedTypes);
        }
        return false;
      case Binding.GENERIC_TYPE :
        if (!typeBinding2.isGenericType()) {
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding.superclass()

    if (this.bounds != null) {
      return this.bounds;
    }
    if (this.binding instanceof TypeVariableBinding) {
      TypeVariableBinding typeVariableBinding = (TypeVariableBinding) this.binding;
      ReferenceBinding varSuperclass = typeVariableBinding.superclass();
      org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding firstClassOrArrayBound = typeVariableBinding.firstBound;
      int boundsLength = 0;
      if (firstClassOrArrayBound != null) {
        if (firstClassOrArrayBound == varSuperclass) {
          boundsLength++;
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.superclass()

  private boolean isJsoSubclass(TypeBinding typeBinding) {
    if (!(typeBinding instanceof ReferenceBinding)) {
      return false;
    }
    ReferenceBinding binding = (ReferenceBinding) typeBinding;
    while (binding.superclass() != null) {
      if (JSO_CLASS.equals(String.valueOf(binding.superclass().constantPoolName()))) {
        return true;
      }
      binding = binding.superclass();
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.superclass()

    if (!(typeBinding instanceof ReferenceBinding)) {
      return false;
    }
    ReferenceBinding binding = (ReferenceBinding) typeBinding;
    while (binding.superclass() != null) {
      if (JSO_CLASS.equals(String.valueOf(binding.superclass().constantPoolName()))) {
        return true;
      }
      binding = binding.superclass();
    }
    return false;
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.superclass()

    ReferenceBinding binding = (ReferenceBinding) typeBinding;
    while (binding.superclass() != null) {
      if (JSO_CLASS.equals(String.valueOf(binding.superclass().constantPoolName()))) {
        return true;
      }
      binding = binding.superclass();
    }
    return false;
  }
}
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.