130131132133134135136137138139140
continue; } operations.put(method.getName(), method); String operationDescr = getDescription(annotation.description(), method.getName()); operationInfos.add(new MBeanOperationInfo(operationDescr, method)); } Class<?> clazz = annotatedMBean;
146147148149150151152153154155156
if (annotation != null) { field.setAccessible(true); final String fieldName = field.getName(); final String fieldDescription = getDescription(annotation.description(), fieldName); final Class<?> type = field.getType(); final String methodName; if (fieldName.length() > 1) {