Package org.jclouds.util
Class Optionals2
- java.lang.Object
-
- org.jclouds.util.Optionals2
-
public class Optionals2 extends Object
-
-
Constructor Summary
Constructors Constructor Description Optionals2()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isReturnTypeOptional(com.google.common.reflect.Invokable<?,?> method)
static Class<?>
unwrapIfOptional(com.google.common.reflect.TypeToken<?> type)
-
-
-
Method Detail
-
unwrapIfOptional
public static Class<?> unwrapIfOptional(com.google.common.reflect.TypeToken<?> type)
-
isReturnTypeOptional
public static boolean isReturnTypeOptional(com.google.common.reflect.Invokable<?,?> method)
-
-