org.apache.hadoop.hbase.util
Class ReflectionUtils

java.lang.Object
  extended by org.apache.hadoop.hbase.util.ReflectionUtils

@InterfaceAudience.Private
public class ReflectionUtils
extends Object


Constructor Summary
ReflectionUtils()
           
 
Method Summary
static
<T> Constructor<T>
findConstructor(Class<T> type, Object... paramTypes)
           
static
<T> T
instantiateWithCustomCtor(String className, Class<?>[] ctorArgTypes, Object[] ctorArgs)
           
static
<T> T
newInstance(Class<T> type, Object... params)
           
 
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

instantiateWithCustomCtor

public static <T> T instantiateWithCustomCtor(String className,
                                              Class<?>[] ctorArgTypes,
                                              Object[] ctorArgs)

newInstance

public static <T> T newInstance(Class<T> type,
                                Object... params)

findConstructor

public static <T> Constructor<T> findConstructor(Class<T> type,
                                                 Object... paramTypes)


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.