public synchronized Engine registerAnnotationProcessor(AnnotationProcessor<?> annotationProcessor) { annotationProcessors.put(annotationProcessor.getType(), annotationProcessor); return this; }
public Object evaluate(TemplateContext context) { AnnotationProcessor<?> annotationProcessor = context .resolveAnnotationProcessor(receiver); if (annotationProcessor != null) { Object value = annotationProcessor.eval(this, context); if (value != null) { return value; } } return ""; } }
public Object evaluate(TemplateContext context) { AnnotationProcessor<?> annotationProcessor = context .resolveAnnotationProcessor(receiver); if (annotationProcessor != null) { Object value = annotationProcessor.eval(this, context); if (value != null) { return value; } } return ""; } }
public synchronized Engine deregisterAnnotationProcessor(AnnotationProcessor<?> annotationProcessor) { annotationProcessors.remove(annotationProcessor.getType()); return this; }
public synchronized Engine deregisterAnnotationProcessor(AnnotationProcessor<?> annotationProcessor) { annotationProcessors.remove(annotationProcessor.getType()); return this; }
public synchronized Engine registerAnnotationProcessor(AnnotationProcessor<?> annotationProcessor) { annotationProcessors.put(annotationProcessor.getType(), annotationProcessor); return this; }