Examples of superclass()


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

  private void resolveTypeRefs(TypeDeclaration x) {
    SourceTypeBinding binding = x.binding;
    JDeclaredType type = (JDeclaredType) typeMap.get(binding);
    try {
      ReferenceBinding superClassBinding = binding.superclass();
      if (type instanceof JClassType && superClassBinding != null) {
        assert (binding.superclass().isClass() || binding.superclass().isEnum());
        JClassType superClass = (JClassType) typeMap.get(superClassBinding);
        ((JClassType) type).setSuperClass(superClass);
      }
View Full Code Here

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

    SourceTypeBinding binding = x.binding;
    JDeclaredType type = (JDeclaredType) typeMap.get(binding);
    try {
      ReferenceBinding superClassBinding = binding.superclass();
      if (type instanceof JClassType && superClassBinding != null) {
        assert (binding.superclass().isClass() || binding.superclass().isEnum());
        JClassType superClass = (JClassType) typeMap.get(superClassBinding);
        ((JClassType) type).setSuperClass(superClass);
      }

      ReferenceBinding[] superInterfaces = binding.superInterfaces();
View Full Code Here

Examples of 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.eclipse.jdt.internal.compiler.lookup.WildcardBinding.superclass()

            TypeBinding bound = wildcardBinding.bound;
            if (bound != null
                && ((bound.tagBits & TagBits.ContainsNestedTypeReferences) != 0)) {
              recordNestedType(classFile, bound);
            }
            ReferenceBinding superclass = wildcardBinding.superclass();
            if (superclass != null
                && ((superclass.tagBits & TagBits.ContainsNestedTypeReferences) != 0)) {
              recordNestedType(classFile, superclass);
            }
            ReferenceBinding[] superInterfaces = wildcardBinding.superInterfaces();
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.