&& method.getReturnType() != java.lang.Void.TYPE) {
// we found is method
if (methodName.startsWith("is")) {
attributeName = methodName.substring(2);
info = new MBeanAttributeInfo(attributeName, method.getReturnType().getCanonicalName(),
attr.description(), true, atts.containsKey(attributeName), true);
} else {
// this has to be get
attributeName = methodName.substring(3);
info = new MBeanAttributeInfo(attributeName, method.getReturnType().getCanonicalName(),
attr.description(), true, atts.containsKey(attributeName), false);