key = name.substring(3);
}
} else {
if (name.startsWith("get") && name.length() > 3) {
key = name.substring(3);
<BUG>} else if (name.startsWith("is") && name.length() > 2 && method.getReturnType() == boolean.class) {
key = name.substring(2);</BUG>
}
}
if (key != null) {

key = name.substring(3);
}
} else {
if (name.startsWith("get") && name.length() > 3) {
key = name.substring(3);
} else if (name.startsWith("is") && name.length() > 2
&& (method.getReturnType() == boolean.class || method.getReturnType() == Boolean.class)) {
key = name.substring(2);
}
}
if (key != null) {
