org.zkoss.zel.impl.util
Interface ClassReflect


public interface ClassReflect

The implementation of ClassUtil.

Author:
tomyeh

Method Summary
 Method getCloseMethod(Class<?> cls, String name, Class<?>[] argTypes)
          Gets one of the close methods -- a close method is a method with the same name and the compatible argument type.
 Object newInstance(Class<?> cls, Object[] args)
          Instantiates a new instance of the specified class with the specified argument.
 

Method Detail

getCloseMethod

Method getCloseMethod(Class<?> cls,
                      String name,
                      Class<?>[] argTypes)
                      throws NoSuchMethodException
Gets one of the close methods -- a close method is a method with the same name and the compatible argument type.

Throws:
NoSuchMethodException

newInstance

Object newInstance(Class<?> cls,
                   Object[] args)
                   throws NoSuchMethodException,
                          InstantiationException,
                          InvocationTargetException,
                          IllegalAccessException
Instantiates a new instance of the specified class with the specified argument.

Throws:
NoSuchMethodException
InstantiationException
InvocationTargetException
IllegalAccessException


Copyright © 2014. All rights reserved.