jedi.annotation.writer.method
Class FunctorFactoryMethodWriter

java.lang.Object
  extended by jedi.annotation.writer.method.AbstractFactoryMethodWriter
      extended by jedi.annotation.writer.method.AbstractBasicFactoryMethodWriter
          extended by jedi.annotation.writer.method.FunctorFactoryMethodWriter
All Implemented Interfaces:
ClosureFragmentWriter, FactoryMethodWriter

public class FunctorFactoryMethodWriter
extends AbstractBasicFactoryMethodWriter


Field Summary
 
Fields inherited from class jedi.annotation.writer.method.AbstractFactoryMethodWriter
options, RECEIVER_PARAMETER_NAME
 
Constructor Summary
FunctorFactoryMethodWriter(ProcessorOptions options)
           
 
Method Summary
 Class<?> getOneParameterClosureClass()
           
protected  boolean hasCorrectReturnType(Annotateable method)
           
protected  boolean isReturnRequired()
           
protected  void writeClosureTypes()
           
 
Methods inherited from class jedi.annotation.writer.method.AbstractBasicFactoryMethodWriter
getExecuteMethodParameters, getFactoryMethodAdditionalFormalParameters, getFactoryMethodBasicParameters
 
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
 

Constructor Detail

FunctorFactoryMethodWriter

public FunctorFactoryMethodWriter(ProcessorOptions options)
Method Detail

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.