175176177178179180181182
logger.debug("added getter {} to interface {}", getter.getName(), controller); } } return inter.toClass(); } catch (CannotCompileException | NotFoundException e) { throw new ProxyCreationException(e); } }
177178179180181182183184
176177178179180181182183
178179180181182183184185
141142143144145146147148
CtMethod getter = CtNewMethod.make(String.format("abstract String get%s();", StringUtils.capitalize(name)), inter); inter.addMethod(getter); } return inter.toClass(); } catch (CannotCompileException e) { throw new ProxyCreationException(e); } }
174175176177178179180181
184185186187188189190191