jedi.annotation.writer.method
Class FunctorFactoryMethodWriter
java.lang.Object
jedi.annotation.writer.method.AbstractFactoryMethodWriter
jedi.annotation.writer.method.AbstractBasicFactoryMethodWriter
jedi.annotation.writer.method.FunctorFactoryMethodWriter
- All Implemented Interfaces:
- ClosureFragmentWriter, FactoryMethodWriter
public class FunctorFactoryMethodWriter
- extends AbstractBasicFactoryMethodWriter
| Methods inherited from class jedi.annotation.writer.method.AbstractFactoryMethodWriter |
canHandle, checkPrecondition, execute, getCorrespondingFieldName, getDelegateMethodDeclaringTypeWithoutBounds, getDelegateMethodReturnType, getExecuteMethodParameters, getExecuteMethodReturnType, getFactoryMethodName, getFactoryMethodNameRequiredSuffix, getFactoryMethodNameReturnTypeSuffix, getFactoryMethodParameters, getMethod, getWriter, initialise, setReceiverInvocationWriter, writeClosureDeclaration, writeFactoryMethodActualParameters, writeGenericTypeParameters, writeLocalClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctorFactoryMethodWriter
public FunctorFactoryMethodWriter(ProcessorOptions options)
getOneParameterClosureClass
public Class<?> getOneParameterClosureClass()
- Specified by:
getOneParameterClosureClass in class AbstractFactoryMethodWriter
isReturnRequired
protected boolean isReturnRequired()
- Overrides:
isReturnRequired in class AbstractFactoryMethodWriter
writeClosureTypes
protected void writeClosureTypes()
- Overrides:
writeClosureTypes in class AbstractFactoryMethodWriter
hasCorrectReturnType
protected boolean hasCorrectReturnType(Annotateable method)
- Specified by:
hasCorrectReturnType in class AbstractFactoryMethodWriter
Copyright © 2011. All Rights Reserved.