Package org.apache.commons.javaflow.core
Class ReflectionUtils
- java.lang.Object
-
- org.apache.commons.javaflow.core.ReflectionUtils
-
public final class ReflectionUtils extends Object
- Author:
- tcurdt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReflectionUtils.DefaultIndexer
static class
ReflectionUtils.DefaultMatcher
static interface
ReflectionUtils.Indexer
static interface
ReflectionUtils.Matcher
-
Constructor Summary
Constructors Constructor Description ReflectionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object
clone(Object o)
static String
descriptionOfClass(Object o)
static String
descriptionOfObject(Object o)
static Map<String,Object>
discoverFields(Class<?> pClazz)
static Map<String,Object>
discoverFields(Class<?> pClazz, ReflectionUtils.Matcher pMatcher)
static Map<String,Object>
discoverFields(Class<?> pClazz, ReflectionUtils.Matcher pMatcher, ReflectionUtils.Indexer pIndexer)
static Map<String,Object>
discoverMethods(Class<?> pClazz)
static Map<String,Object>
discoverMethods(Class<?> pClazz, ReflectionUtils.Matcher pMatcher)
static Map<String,Object>
discoverMethods(Class<?> pClazz, ReflectionUtils.Matcher pMatcher, ReflectionUtils.Indexer pIndexer)
static String
getClassLoaderName(Object o)
static String
getClassName(Object o)
-
-
-
Method Detail
-
discoverFields
public static Map<String,Object> discoverFields(Class<?> pClazz, ReflectionUtils.Matcher pMatcher)
-
discoverFields
public static Map<String,Object> discoverFields(Class<?> pClazz, ReflectionUtils.Matcher pMatcher, ReflectionUtils.Indexer pIndexer)
-
discoverMethods
public static Map<String,Object> discoverMethods(Class<?> pClazz, ReflectionUtils.Matcher pMatcher)
-
discoverMethods
public static Map<String,Object> discoverMethods(Class<?> pClazz, ReflectionUtils.Matcher pMatcher, ReflectionUtils.Indexer pIndexer)
-
clone
public static Object clone(Object o) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
-