Initially thinking: {code} /** * Retrieve the XClass reference for the class which declares this property. * .. */ public XClass getDeclarer getDeclaringClass(); {code}
Another option that would work for the use case I have would be: {code} /** * Determine whether the property is declared by the class represented by the given XClass. * .. */ public boolean isDeclaredBy(XClass xClass); {code}
|