DynamicMethod.java 364 B

12345678910111213141516171819202122
  1. package cn.nosum.support.annotation;
  2. import org.springframework.stereotype.Component;
  3. import java.lang.annotation.*;
  4. /**
  5. * DynamicMethod Annotation.
  6. *
  7. * @author Young
  8. */
  9. @Component
  10. @Documented
  11. @Target({ElementType.METHOD})
  12. @Retention(RetentionPolicy.RUNTIME)
  13. public @interface DynamicMethod {
  14. /**
  15. * 名称.
  16. */
  17. String name() default "";
  18. }