org.jclouds.reflect
Class Types2

java.lang.Object
  extended by org.jclouds.reflect.Types2

@Beta
public class Types2
extends Object

Since:
1.7

Constructor Summary
Types2()
           
 
Method Summary
static
<T> com.google.common.reflect.TypeToken<T>
checkBound(com.google.common.reflect.TypeToken<T> type)
          Helpful when you are capturing the type inside a constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Types2

public Types2()
Method Detail

checkBound

public static <T> com.google.common.reflect.TypeToken<T> checkBound(com.google.common.reflect.TypeToken<T> type)
                                                         throws IllegalStateException
Helpful when you are capturing the type inside a constructor.

Throws:
IllegalStateException - if the type is an instanceof TypeVariable


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.