org.apache.commons.javaflow.utils
Class ReflectionUtils

java.lang.Object
  extended by org.apache.commons.javaflow.utils.ReflectionUtils

public final class ReflectionUtils
extends Object


Nested Class Summary
static class ReflectionUtils.DefaultIndexer
           
static class ReflectionUtils.DefaultMatcher
           
static interface ReflectionUtils.Indexer
           
static interface ReflectionUtils.Matcher
           
 
Constructor Summary
ReflectionUtils()
           
 
Method Summary
static Object cast(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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionUtils

public ReflectionUtils()
Method Detail

discoverFields

public static Map<String,Object> discoverFields(Class<?> pClazz,
                                                ReflectionUtils.Matcher pMatcher)

discoverFields

public static Map<String,Object> discoverFields(Class<?> pClazz)

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)

discoverMethods

public static Map<String,Object> discoverMethods(Class<?> pClazz,
                                                 ReflectionUtils.Matcher pMatcher,
                                                 ReflectionUtils.Indexer pIndexer)

cast

public static Object cast(Object o)
                   throws IOException,
                          ClassNotFoundException
Throws:
IOException
ClassNotFoundException

getClassName

public static String getClassName(Object o)

getClassLoaderName

public static String getClassLoaderName(Object o)


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.