/** * {@inheritDoc} */ public Name[] getSupertypes() { if (supertypes.length > 0 || isMixin() || NameConstants.NT_BASE.equals(getName())) { return supertypes; } else { return new Name[] { NameConstants.NT_BASE }; } }
/** * {@inheritDoc} */ public Name[] getSupertypes() { if (supertypes.length > 0 || isMixin() || NameConstants.NT_BASE.equals(getName())) { return supertypes; } else { return new Name[] { NameConstants.NT_BASE }; } }