jedi.annotation.writer.method.CommandFactoryMethodWriter Maven / Gradle / Ivy
package jedi.annotation.writer.method;
import jedi.annotation.processor.ProcessorOptions;
import jedi.annotation.processor.model.Annotateable;
import jedi.functional.Command;
public class CommandFactoryMethodWriter extends AbstractBasicFactoryMethodWriter {
public CommandFactoryMethodWriter(ProcessorOptions options) {
super(options);
}
@Override
protected Class> getOneParameterClosureClass() {
return Command.class;
}
@Override
protected boolean hasCorrectReturnType(Annotateable method) {
return true;
}
}