org.mockito.internal.util.reflection
Class GenericMaster

java.lang.Object
  extended by org.mockito.internal.util.reflection.GenericMaster

public class GenericMaster
extends java.lang.Object


Constructor Summary
GenericMaster()
           
 
Method Summary
 java.lang.Class getGenericType(java.lang.reflect.Field field)
          Finds the generic type (parametrized type) of the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericMaster

public GenericMaster()
Method Detail

getGenericType

public java.lang.Class getGenericType(java.lang.reflect.Field field)
Finds the generic type (parametrized type) of the field. If the field is not generic it returns Object.class.

Parameters:
field -