cucumber.runtime
Class Utils

java.lang.Object
  extended by cucumber.runtime.Utils

public class Utils
extends Object


Constructor Summary
Utils()
           
 
Method Summary
static boolean hasConstructor(Class<?> clazz, Class[] paramTypes)
           
static Object invoke(Object target, Method method, int timeoutMillis, Object... args)
           
static boolean isInstantiable(Class<?> clazz)
           
static Type listItemType(Type type)
           
static
<T> List<T>
listOf(int size, T obj)
           
static Type mapKeyType(Type type)
           
static Type mapValueType(Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

listOf

public static <T> List<T> listOf(int size,
                                 T obj)

isInstantiable

public static boolean isInstantiable(Class<?> clazz)

hasConstructor

public static boolean hasConstructor(Class<?> clazz,
                                     Class[] paramTypes)

invoke

public static Object invoke(Object target,
                            Method method,
                            int timeoutMillis,
                            Object... args)
                     throws Throwable
Throws:
Throwable

listItemType

public static Type listItemType(Type type)

mapKeyType

public static Type mapKeyType(Type type)

mapValueType

public static Type mapValueType(Type type)


Copyright © 2012. All Rights Reserved.