com.atlassian.core.util
Class ClassHelper

java.lang.Object
  extended by com.atlassian.core.util.ClassHelper

public class ClassHelper
extends Object


Constructor Summary
ClassHelper()
           
 
Method Summary
static Object instantiateClass(Class clazz, Object[] constructorArgs)
           
static Object instantiateClass(String name, Object[] constructorArgs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassHelper

public ClassHelper()
Method Detail

instantiateClass

public static Object instantiateClass(Class clazz,
                                      Object[] constructorArgs)
                               throws ClassNotFoundException,
                                      SecurityException,
                                      NoSuchMethodException,
                                      IllegalArgumentException,
                                      InstantiationException,
                                      IllegalAccessException,
                                      InvocationTargetException
Throws:
ClassNotFoundException
SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException

instantiateClass

public static Object instantiateClass(String name,
                                      Object[] constructorArgs)
                               throws ClassNotFoundException,
                                      SecurityException,
                                      NoSuchMethodException,
                                      IllegalArgumentException,
                                      InstantiationException,
                                      IllegalAccessException,
                                      InvocationTargetException
Throws:
ClassNotFoundException
SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException


Copyright © 2015 Atlassian. All rights reserved.