com.advancedpwr.record.mock
Class MockMethodBuilder
java.lang.Object
com.advancedpwr.record.methods.BuildMethodWriter
com.advancedpwr.record.mock.MockMethodBuilder
- Direct Known Subclasses:
- NiceMockMethodBuilder
public class MockMethodBuilder
- extends BuildMethodWriter
| Methods inherited from class com.advancedpwr.record.methods.BuildMethodWriter |
buildMethod, closeBrace, createMethodBuilder, declaredExceptions, depth, exceptions, formattedExceptionList, getAccessPath, getClassWriter, getFactory, getInstanceTree, hasDeclaredException, hasDefaultConstructor, instanceName, instanceType, newLine, openBrace, populator, resultBuilder, returnType, scope, setAccessPath, setClassWriter, setFactory, setScopeProtected, setScopePublic, wrapException, write, writeBuilderMethods, writeField, writeIfNotNullReturnInstance, writeLine, writeMethodSignature |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockMethodBuilder
public MockMethodBuilder()
writeInstance
protected void writeInstance()
- Overrides:
writeInstance in class BuildMethodWriter
writePopulators
protected void writePopulators()
- Overrides:
writePopulators in class BuildMethodWriter
methodName
protected String methodName(AccessPath result)
isException
protected boolean isException(AccessPath result)
isVoidReturnType
protected boolean isVoidReturnType(AccessPath result)
buildArguments
protected String buildArguments(AccessPath result)
Copyright © 2011 Advanced Power Co. All Rights Reserved.