jedi.annotation.writer.method
Class FilterFactoryMethodWriter

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

public class FilterFactoryMethodWriter
extends AbstractBasicFactoryMethodWriter


Field Summary
 
Fields inherited from class jedi.annotation.writer.method.AbstractFactoryMethodWriter
options, RECEIVER_PARAMETER_NAME
 
Constructor Summary
FilterFactoryMethodWriter(ProcessorOptions options)
           
 
Method Summary
protected  Class<?> getOneParameterClosureClass()
           
protected  boolean hasCorrectReturnType(Annotateable method)
           
protected  boolean isReturnRequired()
           
 
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, writeClosureTypes, writeFactoryMethodActualParameters, writeGenericTypeParameters, writeLocalClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterFactoryMethodWriter

public FilterFactoryMethodWriter(ProcessorOptions options)
Method Detail

getOneParameterClosureClass

protected Class<?> getOneParameterClosureClass()
Specified by:
getOneParameterClosureClass in class AbstractFactoryMethodWriter

isReturnRequired

protected boolean isReturnRequired()
Overrides:
isReturnRequired in class AbstractFactoryMethodWriter

hasCorrectReturnType

protected boolean hasCorrectReturnType(Annotateable method)
Specified by:
hasCorrectReturnType in class AbstractFactoryMethodWriter


Copyright © 2011. All Rights Reserved.