org.apache.commons.javaflow.utils
Class ReflectionUtils

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

public final class ReflectionUtils
extends java.lang.Object

Author:
tcurdt

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 java.lang.Object cast(java.lang.Object o)
           
static java.util.Map discoverFields(java.lang.Class pClazz)
           
static java.util.Map discoverFields(java.lang.Class pClazz, ReflectionUtils.Matcher pMatcher)
           
static java.util.Map discoverFields(java.lang.Class pClazz, ReflectionUtils.Matcher pMatcher, ReflectionUtils.Indexer pIndexer)
           
static java.util.Map discoverMethods(java.lang.Class pClazz)
           
static java.util.Map discoverMethods(java.lang.Class pClazz, ReflectionUtils.Matcher pMatcher)
           
static java.util.Map discoverMethods(java.lang.Class pClazz, ReflectionUtils.Matcher pMatcher, ReflectionUtils.Indexer pIndexer)
           
static java.lang.String getClassLoaderName(java.lang.Object o)
           
static java.lang.String getClassName(java.lang.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 java.util.Map discoverFields(java.lang.Class pClazz,
                                           ReflectionUtils.Matcher pMatcher)

discoverFields

public static java.util.Map discoverFields(java.lang.Class pClazz)

discoverFields

public static java.util.Map discoverFields(java.lang.Class pClazz,
                                           ReflectionUtils.Matcher pMatcher,
                                           ReflectionUtils.Indexer pIndexer)

discoverMethods

public static java.util.Map discoverMethods(java.lang.Class pClazz,
                                            ReflectionUtils.Matcher pMatcher)

discoverMethods

public static java.util.Map discoverMethods(java.lang.Class pClazz)

discoverMethods

public static java.util.Map discoverMethods(java.lang.Class pClazz,
                                            ReflectionUtils.Matcher pMatcher,
                                            ReflectionUtils.Indexer pIndexer)

cast

public static java.lang.Object cast(java.lang.Object o)
                             throws java.io.IOException,
                                    java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

getClassName

public static java.lang.String getClassName(java.lang.Object o)

getClassLoaderName

public static java.lang.String getClassLoaderName(java.lang.Object o)


Copyright 2004-2008 The Apache Software Foundation. All Rights Reserved.