Package 

Class KAnnotatedElementExtensionsKt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Annotation> T findExtraAnnotation(KAnnotatedElement $self) 得到指定的额外注解。查找的范围包括:属性对应的字段、主构造参数等。
      final static <T extends Annotation> Boolean hasExtraAnnotation(KAnnotatedElement $self) 判断是否拥有指定的额外的解。查找的范围包括:属性对应的字段、主构造参数等。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • findExtraAnnotation

         final static <T extends Annotation> T findExtraAnnotation(KAnnotatedElement $self)

        得到指定的额外注解。

        查找的范围包括:属性对应的字段、主构造参数等。

      • hasExtraAnnotation

         final static <T extends Annotation> Boolean hasExtraAnnotation(KAnnotatedElement $self)

        判断是否拥有指定的额外的解。

        查找的范围包括:属性对应的字段、主构造参数等。