}
return true;
}
});
GeneratorUtils.visitMethods(beanOracle.getType(), new JMethodVisitor() {
public boolean visit(JMethod method) {
if (isInitMethod(method)) {
definition.setInitMethodName(method.getName());
} else if (isDisposeMethod(method)) {
definition.setDisposeMethodName(method.getName());