JsCacheRemoveVisitor implements ElementVisitor<Void, Writer> { @Override public Void visitVariable(VariableElement e, Writer p) { return null; } JsCacheRemoveVisitor(ProcessingEnvironment environment); @Override Void visit(Element e, Writer p); @Override Void visit(Element e); @Override Void visitPackage(PackageElement e, Writer p); @Override Void visitType(TypeElement e, Writer p); @Override Void visitVariable(VariableElement e, Writer p); @Override Void visitExecutable(ExecutableElement e, Writer p); @Override Void visitTypeParameter(TypeParameterElement e, Writer p); @Override Void visitUnknown(Element e, Writer p);  }
@Test public void testVisitVariable() { System.out.println("visitVariable"); Void result = instance.visitVariable(null, null); assertThat(result).isNull(); }