public class ClassUtilCached extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassUtilCached.ClassInfo |
| Constructor and Description |
|---|
ClassUtilCached() |
| Modifier and Type | Method and Description |
|---|---|
PropertyInfo |
findProperty(Class<?> clz,
String name)
Locates a property using cached class property info.
|
ClassUtilCached.ClassInfo |
getClassInfo(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.
|
List<PropertyInfo> |
getProperties(Class<?> clz)
Return a cached variant of properties for a class.
|
@Nonnull public static ClassUtilCached getInstance()
@Nonnull public ClassUtilCached.ClassInfo getClassInfo(@Nonnull Class<?> clz)
clz - @Nonnull public List<PropertyInfo> getProperties(Class<?> clz)
clz - @Nullable public PropertyInfo findProperty(Class<?> clz, String name)
clz - name - Copyright © 2017 etc.to. All rights reserved.