public int boundsCount() { if (this.firstBound == null) return 0; if (this.firstBound.isInterface()) return this.superInterfaces.length; // only interface bounds return this.superInterfaces.length + 1; // class or array type isn't contained in superInterfaces }
public int boundsCount() { if (this.firstBound == null) return 0; if (this.firstBound.isInterface()) return this.superInterfaces.length; // only interface bounds return this.superInterfaces.length + 1; // class or array type isn't contained in superInterfaces }
public int boundsCount() { if (this.firstBound == null) return 0; if (this.firstBound.isInterface()) return this.superInterfaces.length; // only interface bounds return this.superInterfaces.length + 1; // class or array type isn't contained in superInterfaces }
public int boundsCount() { if (this.firstBound == null) return 0; if (this.firstBound.isInterface()) return this.superInterfaces.length; // only interface bounds return this.superInterfaces.length + 1; // class or array type isn't contained in superInterfaces }
public int boundsCount() { if (this.firstBound == null) return 0; if (this.firstBound.isInterface()) return this.superInterfaces.length; // only interface bounds return this.superInterfaces.length + 1; // class or array type isn't contained in superInterfaces }
@Override public boolean isInterface() { switch (this.binding.kind()) { case Binding.TYPE_PARAMETER : case Binding.WILDCARD_TYPE : case Binding.INTERSECTION_TYPE : return false; } return this.binding.isInterface(); }
public boolean isInterface() { switch (this.binding.kind()) { case Binding.TYPE_PARAMETER : case Binding.WILDCARD_TYPE : case Binding.INTERSECTION_TYPE : return false; } return this.binding.isInterface(); }
public boolean isInterface() { switch (this.binding.kind()) { case Binding.TYPE_PARAMETER : case Binding.WILDCARD_TYPE : case Binding.INTERSECTION_TYPE : return false; } return this.binding.isInterface(); }
public boolean isInterface() { switch (this.binding.kind()) { case Binding.TYPE_PARAMETER : case Binding.WILDCARD_TYPE : case Binding.INTERSECTION_TYPE : return false; } return this.binding.isInterface(); }
public boolean isInterface() { switch (this.binding.kind()) { case Binding.TYPE_PARAMETER : case Binding.WILDCARD_TYPE : case Binding.INTERSECTION_TYPE : return false; } return this.binding.isInterface(); }
boolean denotesRelevantSuperClass(TypeBinding type) { if (!type.isTypeVariable() && !type.isInterface() && type.id != TypeIds.T_JavaLangObject) return true; ReferenceBinding aSuperClass = type.superclass(); return aSuperClass != null && aSuperClass.id != TypeIds.T_JavaLangObject && !aSuperClass.isTypeVariable(); }
public void invokeAutoCloseableClose(TypeBinding resourceType) { // invokevirtual/interface: <resourceType>.close() invoke( resourceType.erasure().isInterface() ? Opcodes.OPC_invokeinterface : Opcodes.OPC_invokevirtual, 1, // receiverAndArgsSize 0, // returnTypeSize resourceType.constantPoolName(), ConstantPool.Close, ConstantPool.CloseSignature); }
public void invokeAutoCloseableClose(TypeBinding resourceType) { // invokevirtual/interface: <resourceType>.close() invoke( resourceType.erasure().isInterface() ? Opcodes.OPC_invokeinterface : Opcodes.OPC_invokevirtual, 1, // receiverAndArgsSize 0, // returnTypeSize resourceType.constantPoolName(), ConstantPool.Close, ConstantPool.CloseSignature); }
boolean denotesRelevantSuperClass(TypeBinding type) { if (!type.isTypeVariable() && !type.isInterface() && type.id != TypeIds.T_JavaLangObject) return true; ReferenceBinding aSuperClass = type.superclass(); return aSuperClass != null && aSuperClass.id != TypeIds.T_JavaLangObject && !aSuperClass.isTypeVariable(); }
public void invokeAutoCloseableClose(TypeBinding resourceType) { // invokevirtual/interface: <resourceType>.close() invoke( resourceType.erasure().isInterface() ? Opcodes.OPC_invokeinterface : Opcodes.OPC_invokevirtual, 1, // receiverAndArgsSize 0, // returnTypeSize resourceType.constantPoolName(), ConstantPool.Close, ConstantPool.CloseSignature); }
boolean denotesRelevantSuperClass(TypeBinding type) { if (!type.isTypeVariable() && !type.isInterface() && type.id != TypeIds.T_JavaLangObject) return true; ReferenceBinding aSuperClass = type.superclass(); return aSuperClass != null && aSuperClass.id != TypeIds.T_JavaLangObject && !aSuperClass.isTypeVariable(); }
public void invokeIterableIterator(TypeBinding iterableReceiverType) { // invokevirtual/interface: <iterableReceiverType>.iterator() if ((iterableReceiverType.tagBits & TagBits.ContainsNestedTypeReferences) != 0) { Util.recordNestedType(this.classFile, iterableReceiverType); } invoke( iterableReceiverType.isInterface() ? Opcodes.OPC_invokeinterface : Opcodes.OPC_invokevirtual, 1, // receiverAndArgsSize 1, // returnTypeSize iterableReceiverType.constantPoolName(), ConstantPool.ITERATOR_NAME, ConstantPool.ITERATOR_SIGNATURE); }
boolean denotesRelevantSuperClass(TypeBinding type) { if (!type.isTypeVariable() && !type.isInterface() && type.id != TypeIds.T_JavaLangObject) return true; ReferenceBinding aSuperClass = type.superclass(); return aSuperClass != null && aSuperClass.id != TypeIds.T_JavaLangObject && !aSuperClass.isTypeVariable(); }
public void invokeAutoCloseableClose(TypeBinding resourceType) { // invokevirtual/interface: <resourceType>.close() invoke( resourceType.erasure().isInterface() ? Opcodes.OPC_invokeinterface : Opcodes.OPC_invokevirtual, 1, // receiverAndArgsSize 0, // returnTypeSize resourceType.constantPoolName(), ConstantPool.Close, ConstantPool.CloseSignature); }
public void invokeAutoCloseableClose(TypeBinding resourceType) { // invokevirtual/interface: <resourceType>.close() invoke( resourceType.erasure().isInterface() ? Opcodes.OPC_invokeinterface : Opcodes.OPC_invokevirtual, 1, // receiverAndArgsSize 0, // returnTypeSize resourceType.constantPoolName(), ConstantPool.Close, ConstantPool.CloseSignature); }