Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mockito.internal.util.reflection
Class GenericMaster

    java.lang.Object
      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` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD