|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassReflect
The implementation of ClassUtil
.
Method Summary | |
---|---|
java.lang.reflect.Method |
getCloseMethod(java.lang.Class<?> cls,
java.lang.String name,
java.lang.Class<?>[] argTypes)
Gets one of the close methods -- a close method is a method with the same name and the compatible argument type. |
java.lang.Object |
newInstance(java.lang.Class<?> cls,
java.lang.Object[] args)
Instantiates a new instance of the specified class with the specified argument. |
Method Detail |
---|
java.lang.reflect.Method getCloseMethod(java.lang.Class<?> cls, java.lang.String name, java.lang.Class<?>[] argTypes) throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
java.lang.Object newInstance(java.lang.Class<?> cls, java.lang.Object[] args) throws java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |