/** * Gets the {@code Type} that represents the superclass of this {@code class}. * * @return an instance of {@code Type} representing the superclass. */ public Type getGenericSuperclass() { GenericSignatureParser parser = new GenericSignatureParser(getClassLoader()); parser.parseForClass(this, getSignatureAttribute()); return Types.getType(parser.superclassType); }