接口 Annotated

所有已知实现类:
AbstractModule, AbstractParam, AbstractUnit, AModule, AParam, AUnit, OwnServiceModule, OwnServiceUnit, ProtobufModule, ProtobufUnit

public interface Annotated
Created by davidoff shen on 2016-11-30.
  • 方法详细资料

    • getDeclaredAnnotation

      <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass)
      类型参数:
      T -
      参数:
      annotationClass - annotationClass
      返回:
      获取某个注解
    • getAnnotations

      Annotation[] getAnnotations()
      返回:
      获取全部注解