ManagedOperation managedOp = (ManagedOperation) ctMethod.getAnnotation(ManagedOperation.class);
if (managedAttr != null) {
String property = prefix + getPropertyFromBeanConvention(ctMethod);
String attrDisplayName = managedAttr.displayName();
if (attrDisplayName.length() == 0) {
throw new RuntimeException("Missing displayName on: " + property);
}
String displayName = withNamePrefix ? "[" + mbean.objectName() + "] " + attrDisplayName : attrDisplayName;
validateDisplayName(displayName);