Method[] methods=this.getClass().getMethods();
for(Method method:methods) {
if(method.isAnnotationPresent(ManagedAttribute.class)) {
ManagedAttribute annotation=method.getAnnotation(ManagedAttribute.class);
if(!annotation.writable() && (method.getName().startsWith("is")
|| method.getName().startsWith("get"))) {
Object value=null;
try {
value=method.invoke(this, new Object[0]);
String attributeName=methodNameToAttributeName(method.getName());