/** * Convenience Method: <br/> * Gets the class data object which contains information about this objects class, * will retrieve this from the class data cache if available or generate it if not<br/> * This is also available from the {@link ClassFields} object * * @param <T> * @param obj any {@link Object} * @return the raw ClassData cache object which contains reflection data about this objects class * @throws IllegalArgumentException if obj is null */ public <T> ClassData<T> getClassData(Object obj) { ClassFields<T> cf = getClassFieldsFromObject(obj); return cf.getClassData(); }
/** * Convenience Method: <br/> * Gets the class data object which contains information about this objects class, * will retrieve this from the class data cache if available or generate it if not<br/> * This is also available from the {@link ClassFields} object * * @param <T> * @param obj any {@link Object} * @return the raw ClassData cache object which contains reflection data about this objects class * @throws IllegalArgumentException if obj is null */ public <T> ClassData<T> getClassData(Object obj) { ClassFields<T> cf = getClassFieldsFromObject(obj); return cf.getClassData(); }