| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public MethodWrapper | Returns: A method wrapperA non-null method to create a wrapper from m)Creates a method wrapper from the given method |
| public void | dispose()
Releases the entire cache, though the ClassReflectionHelper is still usable after calling dispose |
| public Method | Returns: A matching method, or null if none can be foundThe class to check for the postConstruct method clazz, Class<?> The PostConstruct interface, a small performance improvement matchingClass)Finds the postConstruct method on this class |
| public Method | Returns: A matching method, or null if none can be foundThe class to check for the postConstruct method clazz, Class<?> The PostConstruct interface, a small performance improvement matchingClass)Finds the preDestroy method on this class |
| public Set | Returns: The set of all fields on this class (and all subclasses)The class to analyze for all fields clazz)Gets all fields for a class (taking class heirarchy into account) |
| public Set | Returns: The set of all methods on this class (and all subclasses)The class to analyze for all methods clazz)Gets all methods for a class (taking class heirarchy into account) |
| public int | Returns: An approximation of the current size of the cacheReturns an approximation of the current size of the cache |
| clean | back to summary |
|---|---|
| public void clean(Class<?> clazz) Removes this class (and all appropriate sub-classes) from the cache
| |
| createMethodWrapper | back to summary |
|---|---|
| public MethodWrapper createMethodWrapper(Method m) Creates a method wrapper from the given method
| |
| dispose | back to summary |
|---|---|
| public void dispose() Releases the entire cache, though the ClassReflectionHelper is still usable after calling dispose | |
| findPostConstruct | back to summary |
|---|---|
| public Method findPostConstruct(Class<?> clazz, Class<?> matchingClass) throws IllegalArgumentException Finds the postConstruct method on this class
| |
| findPreDestroy | back to summary |
|---|---|
| public Method findPreDestroy(Class<?> clazz, Class<?> matchingClass) throws IllegalArgumentException Finds the preDestroy method on this class
| |
| getAllFields | back to summary |
|---|---|
| public Set Gets all fields for a class (taking class heirarchy into account) | |
| getAllMethods | back to summary |
|---|---|
| public Set Gets all methods for a class (taking class heirarchy into account)
| |
| size | back to summary |
|---|---|
| public int size() Returns an approximation of the current size of the cache
| |