public class Optionals2 extends Object
Constructor and Description |
---|
Optionals2() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isReturnTypeOptional(com.google.common.reflect.Invokable<?,?> method) |
static Class<?> |
unwrapIfOptional(com.google.common.reflect.TypeToken<?> type) |
public static Class<?> unwrapIfOptional(com.google.common.reflect.TypeToken<?> type)
public static boolean isReturnTypeOptional(com.google.common.reflect.Invokable<?,?> method)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.