public class AnnotatedMethods { @SimpleAnnotation(id=1) public void method1() { } @SimpleAnnotation(id=2) public void method2() { } }