/** * The current annotation processor environment. * * @return The current annotation processor environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }
/** * Writes the body to the output. * * @param block The block. * @param output The output. * @param model The model. * @return false. */ public boolean processBody(B block, TemplateOutput<B> output, TemplateModel model) throws IOException, TemplateException { output.write(block); return false; }
@Override protected void setupModelForLoop(TemplateModel model, ReferenceType thrownType, int index) throws TemplateException { super.setupModelForLoop(model, thrownType, index); if (indexVar != null) { model.setVariable(indexVar, index); } if (var != null) { model.setVariable(var, thrownType); } }
@Override protected void setupModelForLoop(TemplateModel model, WebFault webFault, int index) throws TemplateException { super.setupModelForLoop(model, webFault, index); if (var != null) { model.setVariable(var, webFault); } }
/** * The current annotation processing environment. * * @return The current annotation processing environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }
@Override protected void setupModelForLoop(TemplateModel model, WebMethod method, int index) throws TemplateException { super.setupModelForLoop(model, method, index); if (var != null) { model.setVariable(var, method); } }
/** * The current annotation processing environment. * * @return The current annotation processing environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }
@Override protected void setupModelForLoop(TemplateModel model, WebFault webFault, int index) throws TemplateException { super.setupModelForLoop(model, webFault, index); if (var != null) { model.setVariable(var, webFault); } }
/** * The current environment. * * @return The current environment. */ protected AnnotationProcessorEnvironment getEnv() { return Context.getCurrentEnvironment(); }
@Override protected void setupModelForLoop(TemplateModel model, WebFault webFault, int index) throws TemplateException { super.setupModelForLoop(model, webFault, index); if (var != null) { model.setVariable(var, webFault); } }
/** * The current environment. * * @return The current environment. */ protected AnnotationProcessorEnvironment getEnv() { return Context.getCurrentEnvironment(); }
/** * The current environment. * * @return The current environment. */ protected AnnotationProcessorEnvironment getEnv() { return Context.getCurrentEnvironment(); }
/** * The current annotation processor environment. * * @return The current annotation processor environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }
/** * The current annotation processor environment. * * @return The current annotation processor environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }
/** * The current environment. * * @return The current environment. */ protected AnnotationProcessorEnvironment getEnv() { return Context.getCurrentEnvironment(); }
/** * The current annotation processing environment. * * @return The current annotation processing environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }
/** * The current annotation processor environment. * * @return The current annotation processor environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }
/** * The current annotation processing environment. * * @return The current annotation processing environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }
/** * The current annotation processing environment. * * @return The current annotation processing environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }
/** * The current annotation processing environment. * * @return The current annotation processing environment. */ protected AnnotationProcessorEnvironment getAnnotationProcessorEnvironment() { return Context.getCurrentEnvironment(); }