]
George Gastaldi closed ROASTER-66.
----------------------------------
Fix Version/s: (was: 2.x Future)
Resolution: Duplicate Issue
Closing it as duplicate of ROASTER-14
JavaClass - hasSuper(Class) and getSuper(Class)
-----------------------------------------------
Key: ROASTER-66
URL:
https://issues.jboss.org/browse/ROASTER-66
Project: Roaster
Issue Type: Enhancement
Affects Versions: 2.14.0.Final
Reporter: Claus Ibsen
I want to know from a JavaClass which super class and its parents extend. So I can check
if it extends a given class.
Today the only way is to use getSuperType which returns a String with the FQN. Then I
manually need to look into that class and its parent and so on.
I want a one stop method to do that for me.