test.jmock.core.testsupport
Class MethodFactory

java.lang.Object
  extended byjava.lang.ClassLoader
      extended bytest.jmock.core.testsupport.MethodFactory

public class MethodFactory
extends ClassLoader


Field Summary
static Class[] NO_ARGUMENTS
           
static Class[] NO_EXCEPTIONS
           
 
Constructor Summary
MethodFactory()
           
 
Method Summary
 Method newMethod(String methodName, Class[] argTypes, Class returnType, Class[] exceptionTypes)
           
 Method newMethodReturning(Class returnType)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_ARGUMENTS

public static Class[] NO_ARGUMENTS

NO_EXCEPTIONS

public static Class[] NO_EXCEPTIONS
Constructor Detail

MethodFactory

public MethodFactory()
Method Detail

newMethodReturning

public Method newMethodReturning(Class returnType)

newMethod

public Method newMethod(String methodName,
                        Class[] argTypes,
                        Class returnType,
                        Class[] exceptionTypes)