@Override @Nullable public Invokable invoke(Invokation invokation, Object... parameters) { String message = CharMatcher.WHITESPACE.trimFrom(parameters[0].toString()); StaticEnvironment.processing().getMessager().printMessage(Diagnostic.Kind.ERROR, message); return null; }
protected final ProcessingEnvironment processing() { return StaticEnvironment.processing(); }
private static Messager getMessager() { return StaticEnvironment.processing().getMessager(); }
private static Filer getFiler() { return StaticEnvironment.processing().getFiler(); }