com.twitter.common.testing
Class EasyMockTest.Clazz<T>

java.lang.Object
  extended by com.google.common.reflect.TypeToken
      extended by com.twitter.common.testing.EasyMockTest.Clazz<T>
All Implemented Interfaces:
Serializable
Enclosing class:
EasyMockTest

public abstract static class EasyMockTest.Clazz<T>
extends TypeToken

A class meant to be sub-classed in order to capture a generic type literal value. To capture the type of a List<String> you would use: new Clazz<List<String>>() {}

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.common.reflect.TypeToken
TypeToken.TypeSet
 
Constructor Summary
EasyMockTest.Clazz()
           
 
Method Summary
 T createMock()
           
 T createMock(org.easymock.IMocksControl control)
           
 
Methods inherited from class com.google.common.reflect.TypeToken
equals, getComponentType, getRawType, getSubtype, getSupertype, getType, getTypes, hashCode, isArray, isAssignableFrom, isAssignableFrom, of, of, resolveType, toString, where, where, writeReplace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EasyMockTest.Clazz

public EasyMockTest.Clazz()
Method Detail

createMock

public T createMock()

createMock

public T createMock(org.easymock.IMocksControl control)