in boolean/src/main/java/org/apache/cxf/xjc/bg/BooleanGetterPlugin.java [51:67]
public boolean run(Outline outline, Options opt, ErrorHandler errorHandler) {
LOG.info("Running boolean getter plugin.");
for (ClassOutline classOutline : outline.getClasses()) {
Collection<JMethod> methods = classOutline.implClass.methods();
for (JMethod method : methods) {
if (method.name().startsWith("is")) {
String newName = "get" + method.name().substring(2);
LOG.info("Changing method name from " + method.name() + " to " + newName);
method.javadoc().add(
"\nThis getter has been renamed from " + method.name() + "() to "
+ newName + "() by cxf-xjc-boolean plugin.");
method.name(newName);
}
}
}
return true;
}