import java.lang.reflect.Method; import java.lang.annotation.Annotation; import java.lang.annotation.Target; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; public class MyAnnotation { public static void main(String[] args) { Class clazz = MyAnnotation.class; Method[] methods = clazz.getDeclaredMethods(); for (Method meth
