The readme example:
@JMXBean(description = "My first JMX bean test")
public class MyBean {
int level = 0;
@JMXBeanAttribute(name = "Floor Level", description = "The current floor level")
public int getLevel() {
return level;
}
@JMXBeanAttribute
public void setLevel(int newLevel) {
level = newLevel;
}
}
Creates two distinct attributes instead of correctly matching getter and setter:

To blame are these lines:
|
BeanAttribute att = beanAttributes.get(name); |
|
BeanAttribute att = beanAttributes.get(name); |
Intuitively, the method name should always be used to match getters and setters.
(I may be biased by my reliance on IntelliJs boilerplate generation here)
The readme example:
Creates two distinct attributes instead of correctly matching getter and setter:

To blame are these lines:
JMXWrapper/src/com/udojava/jmx/wrapper/JMXBeanWrapper.java
Line 631 in 80fad1c
JMXWrapper/src/com/udojava/jmx/wrapper/JMXBeanWrapper.java
Line 647 in 80fad1c
Intuitively, the method name should always be used to match getters and setters.
(I may be biased by my reliance on IntelliJs boilerplate generation here)