@Test public void getValue() throws NoSuchMethodException, SecurityException { Method getter = MyModuleMock.class.getMethod("getMock"); Property p = new Property(new MyModuleMock(), null, null, getter, null, Collections.<Annotation> emptySet()); Assert.assertEquals(1234, p.getValue()); }
public Object getValue() { try { return getter.invoke(module); } catch (IllegalAccessException e) { } catch (IllegalArgumentException e) { } catch (InvocationTargetException e) { } return null; }
Property { public Object getValue() { try { return getter.invoke(module); } catch (IllegalAccessException e) { } catch (IllegalArgumentException e) { } catch (InvocationTargetException e) { } return null; } }
Property { public Object getValue() { try { return getter.invoke(module); } catch (IllegalAccessException e) { } catch (IllegalArgumentException e) { } catch (InvocationTargetException e) { } return null; } Property(Module module, String name, Class<?> type, Method getter, Method setter,
			Iterable<Annotation> annotations); }
Property { public Object getValue() { try { return getter.invoke(module); } catch (IllegalAccessException e) { } catch (IllegalArgumentException e) { } catch (InvocationTargetException e) { } return null; } Property(Module module, String name, Class<?> type, Method getter, Method setter,
			Iterable<Annotation> annotations); String getInfo(); void setInfo(String info); int getOrder(); void setOrder(int order); String getName(); Class<?> getType(); Method getGetter(); Method getSetter(); void addRequirement(Requirement requirement); boolean isActive(); Collection<Requirement> getRequirements(); Object getValue(); void setValue(Object value); void setValue(String value); boolean isNumber(); Collection<Annotation> getAnnotations(); @SuppressWarnings("unchecked") A getAnnotation(Class<? extends A> clazz); }
Property { public Object getValue() { try { return getter.invoke(module); } catch (IllegalAccessException e) { } catch (IllegalArgumentException e) { } catch (InvocationTargetException e) { } return null; } Property(Module module, String name, Class<?> type, Method getter, Method setter,
			Iterable<Annotation> annotations); String getInfo(); void setInfo(String info); int getOrder(); void setOrder(int order); String getName(); Class<?> getType(); Method getGetter(); Method getSetter(); void addRequirement(Requirement requirement); boolean isActive(); Collection<Requirement> getRequirements(); Object getValue(); void setValue(Object value); void setValue(String value); boolean isNumber(); Collection<Annotation> getAnnotations(); @SuppressWarnings("unchecked") A getAnnotation(Class<? extends A> clazz);  }