|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.util.ClassUtilCached
public class ClassUtilCached
Like ClassUtil, but this caches the retrieved information.
Nested Class Summary | |
---|---|
static class |
ClassUtilCached.ClassInfo
|
Constructor Summary | |
---|---|
ClassUtilCached()
|
Method Summary | |
---|---|
PropertyInfo |
findProperty(java.lang.Class<?> clz,
java.lang.String name)
Locates a property using cached class property info. |
ClassUtilCached.ClassInfo |
getClassInfo(java.lang.Class<?> clz)
Get all information for a given class from cache if possible, create and cache it if needed. |
static ClassUtilCached |
getInstance()
Get an instance to use for retrieving cached information. |
java.util.List<PropertyInfo> |
getProperties(java.lang.Class<?> clz)
Return a cached variant of properties for a class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassUtilCached()
Method Detail |
---|
@Nonnull public static ClassUtilCached getInstance()
@Nonnull public ClassUtilCached.ClassInfo getClassInfo(@Nonnull java.lang.Class<?> clz)
clz
-
@Nonnull public java.util.List<PropertyInfo> getProperties(java.lang.Class<?> clz)
clz
-
@Nullable public PropertyInfo findProperty(java.lang.Class<?> clz, java.lang.String name)
clz
- name
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |