@Test public void basicTest() throws Exception { assertEquals("", new InterfaceGenerator().generate(mock(Type.class))); }
@Override public String generate(Type type) { if (type instanceof GeneratedType && !(type instanceof GeneratedTransferObject)) { final GeneratedType genType = (GeneratedType) type; final InterfaceTemplate interfaceTemplate = new InterfaceTemplate(genType); return interfaceTemplate.generate(); } return ""; }
InterfaceGenerator implements CodeGenerator { @Override public String generate(Type type) { if (type instanceof GeneratedType && !(type instanceof GeneratedTransferObject)) { final GeneratedType genType = (GeneratedType) type; final InterfaceTemplate interfaceTemplate = new InterfaceTemplate(genType); return interfaceTemplate.generate(); } return ""; } }
InterfaceGenerator implements CodeGenerator { @Override public String generate(Type type) { if (type instanceof GeneratedType && !(type instanceof GeneratedTransferObject)) { final GeneratedType genType = (GeneratedType) type; final InterfaceTemplate interfaceTemplate = new InterfaceTemplate(genType); return interfaceTemplate.generate(); } return ""; }  }
InterfaceGenerator implements CodeGenerator { @Override public String generate(Type type) { if (type instanceof GeneratedType && !(type instanceof GeneratedTransferObject)) { final GeneratedType genType = (GeneratedType) type; final InterfaceTemplate interfaceTemplate = new InterfaceTemplate(genType); return interfaceTemplate.generate(); } return ""; }  @Override boolean isAcceptable(Type type); @Override String generate(Type type); @Override String getUnitName(Type type); }
InterfaceGenerator implements CodeGenerator { @Override public String generate(Type type) { if (type instanceof GeneratedType && !(type instanceof GeneratedTransferObject)) { final GeneratedType genType = (GeneratedType) type; final InterfaceTemplate interfaceTemplate = new InterfaceTemplate(genType); return interfaceTemplate.generate(); } return ""; }  @Override boolean isAcceptable(Type type); @Override String generate(Type type); @Override String getUnitName(Type type);  }