Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## sharin.util
Class ReflectUtils

    java.lang.Object
      sharin.util.ReflectUtils

    public class ReflectUtils

extends Object

Constructor Summary
`ReflectUtils()`

Method Summary
`static
`<T> T`
` | `get(Field field, Object object)`
`static
`<T> T`
` | `invoke(Method method, Object obj, Object... args)`
`static
`<T> T`
` | `newInstance(Class<T> clazz)`
`static void` | `set(Field field, Object object, Object value)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ReflectUtils

    public ReflectUtils()

Method Detail

### newInstance

    public static <T> T newInstance(Class<T> clazz)

### get

    public static <T> T get(Field field,
                            Object object)

### set

    public static void set(Field field,
                           Object object,
                           Object value)

### invoke

    public static <T> T invoke(Method method,
                               Object obj,
                               Object... args)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 SHU. All Rights Reserved.