org.wamblee.reflection
Class ReflectionUtils

java.lang.Object
  extended by org.wamblee.reflection.ReflectionUtils

public class ReflectionUtils
extends java.lang.Object


Constructor Summary
ReflectionUtils()
           
 
Method Summary
static java.util.List<java.lang.reflect.Method> getAllMethods(java.lang.Class aClass)
           
static java.lang.Class wrapIfNeeded(java.lang.Class aClass)
          Wraps a type by the corresponding wrapper type if it is a primitive type.
 
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

wrapIfNeeded

public static java.lang.Class wrapIfNeeded(java.lang.Class aClass)
Wraps a type by the corresponding wrapper type if it is a primitive type.

Parameters:
aClass - Type to wrap.
Returns:
Wrapped type for primitives or the provided argument value.

getAllMethods

public static java.util.List<java.lang.reflect.Method> getAllMethods(java.lang.Class aClass)


Copyright © 2010. All Rights Reserved.