/** * Return true if this type is a subclass of given ObjectType. * @throws ClassNotFoundException if any of this class's superclasses * can't be found */ public boolean subclassOf( final ObjectType superclass ) throws ClassNotFoundException { if (this.referencesInterfaceExact() || superclass.referencesInterfaceExact()) { return false; } return Repository.instanceOf(this.class_name, superclass.class_name); }
if ((T instanceof ObjectType) && (((ObjectType) T).referencesInterfaceExact())) { if (Repository.implementationOf(((ObjectType) this).getClassName(), ((ObjectType) T).getClassName())) { if ((this instanceof ObjectType) && (((ObjectType) this).referencesInterfaceExact())) { if ((T instanceof ObjectType) && (((ObjectType) T).referencesInterfaceExact())) { if (this.equals(T)) { return true; if ((T instanceof ObjectType) && (((ObjectType) T).referencesInterfaceExact())) { for (final String element : Const.getInterfacesImplementedByArrays()) { if (T.equals(ObjectType.getInstance(element))) {
if (((this instanceof ObjectType) && ((ObjectType) this).referencesInterfaceExact()) || ((t instanceof ObjectType) && ((ObjectType) t).referencesInterfaceExact())) { return Type.OBJECT;