public List < String > getFieldNames ( ) { List < String > ret = new ArrayList < String > ( ) ; DOType typ = this ; while ( typ != null ) { ret . addAll ( typ . getDeclaredFieldNames ( ) ) ; typ = typ . getSuperType ( ) ; } return ret ; }
Answer a list of all field names declared by this type and all it s super types .