Examples of toSupertype()


Examples of org.eclipse.jdt.internal.compiler.classfmt.TypeAnnotationWalker.toSupertype()

    }
    if (typeSignature == null)  {
      char[] superclassName = binaryType.getSuperclassName();
      if (superclassName != null) {
        // attempt to find the superclass if it exists in the cache (otherwise - resolve it when requested)
        this.superclass = this.environment.getTypeFromConstantPoolName(superclassName, 0, -1, false, missingTypeNames, walker.toSupertype((short) -1));
        this.tagBits |= TagBits.HasUnresolvedSuperclass;
      }

      this.superInterfaces = Binding.NO_SUPERINTERFACES;
      char[][] interfaceNames = binaryType.getInterfaceNames();
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.classfmt.TypeAnnotationWalker.toSupertype()

        int size = interfaceNames.length;
        if (size > 0) {
          this.superInterfaces = new ReferenceBinding[size];
          for (short i = 0; i < size; i++)
            // attempt to find each superinterface if it exists in the cache (otherwise - resolve it when requested)
            this.superInterfaces[i] = this.environment.getTypeFromConstantPoolName(interfaceNames[i], 0, -1, false, missingTypeNames, walker.toSupertype(i));
          this.tagBits |= TagBits.HasUnresolvedSuperinterfaces;
        }
      }
    } else {
      // attempt to find the superclass if it exists in the cache (otherwise - resolve it when requested)
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.classfmt.TypeAnnotationWalker.toSupertype()

        }
      }
    } else {
      // attempt to find the superclass if it exists in the cache (otherwise - resolve it when requested)
      this.superclass = (ReferenceBinding) this.environment.getTypeFromTypeSignature(wrapper, typeVars, this, missingTypeNames,
                                    walker.toSupertype((short) -1));
      this.tagBits |= TagBits.HasUnresolvedSuperclass;

      this.superInterfaces = Binding.NO_SUPERINTERFACES;
      if (!wrapper.atEnd()) {
        // attempt to find each superinterface if it exists in the cache (otherwise - resolve it when requested)
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.classfmt.TypeAnnotationWalker.toSupertype()

      if (!wrapper.atEnd()) {
        // attempt to find each superinterface if it exists in the cache (otherwise - resolve it when requested)
        java.util.ArrayList types = new java.util.ArrayList(2);
        short rank = 0;
        do {
          types.add(this.environment.getTypeFromTypeSignature(wrapper, typeVars, this, missingTypeNames, walker.toSupertype(rank++)));
        } while (!wrapper.atEnd());
        this.superInterfaces = new ReferenceBinding[types.size()];
        types.toArray(this.superInterfaces);
        this.tagBits |= TagBits.HasUnresolvedSuperinterfaces;
      }
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.