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


Constructor Summary
protected AnnotationEnabler.FieldInjector()
           
 
Method Summary
abstract  java.lang.Object createMockInstance(java.lang.Class<?> type, java.lang.reflect.Method[] methods)
           
 void inject(java.lang.Object testInstance, java.lang.Class<? extends java.lang.annotation.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(java.lang.Object testInstance,
                   java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
            throws java.lang.Exception
Throws:
java.lang.Exception

createMockInstance

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


Copyright © 2007-2012. All Rights Reserved.