org.powermock.api.extension.listener
Class AnnotationEnabler.FieldInjector

java.lang.Object
  extended by org.powermock.api.extension.listener.AnnotationEnabler.FieldInjector
Enclosing class:
AnnotationEnabler

protected abstract class AnnotationEnabler.FieldInjector
extends Object


Constructor Summary
protected AnnotationEnabler.FieldInjector()
           
 
Method Summary
abstract  Object createMockInstance(Class<?> type, Method[] methods)
           
 void inject(Object testInstance, Class<? extends Annotation> annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationEnabler.FieldInjector

protected AnnotationEnabler.FieldInjector()
Method Detail

inject

public void inject(Object testInstance,
                   Class<? extends Annotation> annotation)
            throws Exception
Throws:
Exception

createMockInstance

public abstract Object createMockInstance(Class<?> type,
                                          Method[] methods)


Copyright © 2007-2012. All Rights Reserved.