/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ public TypeBinding erasure() { return this.type.erasure(); // erasure } /**
/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ @Override public TypeBinding erasure() { return this.type.erasure(); // erasure } /* (non-Javadoc)
/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ public TypeBinding erasure() { return this.type.erasure(); // erasure } /**
/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ public TypeBinding erasure() { return this.type.erasure(); // erasure } /**
/** * Returns true if the type variable is directly bound to a given type */ public boolean isErasureBoundTo(TypeBinding type) { if (this.superclass.erasure() == type) return true; for (int i = 0, length = this.superInterfaces.length; i < length; i++) { if (this.superInterfaces[i].erasure() == type) return true; } return false; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ public TypeBinding erasure() { return this.type.erasure(); // erasure } /**
/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ public TypeBinding erasure() { return this.type.erasure(); // erasure } /**
/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ public TypeBinding erasure() { return this.type.erasure(); // erasure } /**
/** * Returns true if the type variable is directly bound to a given type */ public boolean isErasureBoundTo(TypeBinding type) { if (this.superclass.erasure() == type) return true; for (int i = 0, length = this.superInterfaces.length; i < length; i++) { if (this.superInterfaces[i].erasure() == type) return true; } return false; }
/** * Returns true if the type variable is directly bound to a given type */ public boolean isErasureBoundTo(TypeBinding type) { if (this.superclass.erasure() == type) return true; for (int i = 0, length = this.superInterfaces.length; i < length; i++) { if (this.superInterfaces[i].erasure() == type) return true; } return false; }
/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ public TypeBinding erasure() { return this.type.erasure(); // erasure } /**
/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ public TypeBinding erasure() { return this.type.erasure(); // erasure } /**
/** * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() */ public TypeBinding erasure() { return this.type.erasure(); // erasure } /**
/** * Returns true if the type variable is directly bound to a given type */ public boolean isErasureBoundTo(TypeBinding type) { if (TypeBinding.equalsEquals(this.superclass.erasure(), type)) return true; for (int i = 0, length = this.superInterfaces.length; i < length; i++) { if (TypeBinding.equalsEquals(this.superInterfaces[i].erasure(), type)) return true; } return false; }
/** * Returns true if the type variable is directly bound to a given type */ public boolean isErasureBoundTo(TypeBinding type) { if (TypeBinding.equalsEquals(this.superclass.erasure(), type)) return true; for (int i = 0, length = this.superInterfaces.length; i < length; i++) { if (TypeBinding.equalsEquals(this.superInterfaces[i].erasure(), type)) return true; } return false; }
/** * Returns true if the type variable is directly bound to a given type */ public boolean isErasureBoundTo(TypeBinding type) { if (TypeBinding.equalsEquals(this.superclass.erasure(), type)) return true; for (int i = 0, length = this.superInterfaces.length; i < length; i++) { if (TypeBinding.equalsEquals(this.superInterfaces[i].erasure(), type)) return true; } return false; }
/** * Returns true if the type variable is directly bound to a given type */ public boolean isErasureBoundTo(TypeBinding type) { if (TypeBinding.equalsEquals(this.superclass.erasure(), type)) return true; for (int i = 0, length = this.superInterfaces.length; i < length; i++) { if (TypeBinding.equalsEquals(this.superInterfaces[i].erasure(), type)) return true; } return false; }
/** * Returns true if the type variable is directly bound to a given type */ public boolean isErasureBoundTo(TypeBinding type) { if (TypeBinding.equalsEquals(this.superclass.erasure(), type)) return true; for (int i = 0, length = this.superInterfaces.length; i < length; i++) { if (TypeBinding.equalsEquals(this.superInterfaces[i].erasure(), type)) return true; } return false; }
/** * Returns true if the type variable is directly bound to a given type */ public boolean isErasureBoundTo(TypeBinding type) { if (TypeBinding.equalsEquals(this.superclass.erasure(), type)) return true; for (int i = 0, length = this.superInterfaces.length; i < length; i++) { if (TypeBinding.equalsEquals(this.superInterfaces[i].erasure(), type)) return true; } return false; }
public void recordInnerClasses(TypeBinding binding, boolean onBottomForBug445231) { if (this.innerClassesBindings == null) { this.innerClassesBindings = new HashMap(INNER_CLASSES_SIZE); } ReferenceBinding innerClass = (ReferenceBinding) binding; this.innerClassesBindings.put(innerClass.erasure().unannotated(), onBottomForBug445231); // should not emit yet another inner class for Outer.@Inner Inner. ReferenceBinding enclosingType = innerClass.enclosingType(); while (enclosingType != null && enclosingType.isNestedType()) { this.innerClassesBindings.put(enclosingType.erasure().unannotated(), onBottomForBug445231); enclosingType = enclosingType.enclosingType(); } }