类 Annotations

java.lang.Object
springfox.documentation.schema.Annotations

public class Annotations extends Object
  • 方法详细资料

    • findPropertyAnnotation

      public static <A extends Annotation> com.google.common.base.Optional<A> findPropertyAnnotation(com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition, Class<A> annotationClass)
      Finds first annotation of the given type on the given bean property and returns it. Search precedence is getter, setter, field.
      类型参数:
      A - type that extends Annotation
      参数:
      beanPropertyDefinition - introspected jackson property definition
      annotationClass - class object representing desired annotation
      返回:
      first annotation found for property
    • memberIsUnwrapped

      public static boolean memberIsUnwrapped(com.fasterxml.jackson.databind.introspect.AnnotatedMember member)
    • unwrappedPrefix

      public static String unwrappedPrefix(com.fasterxml.jackson.databind.introspect.AnnotatedMember member)
    • memberName

      public static String memberName(com.fasterxml.jackson.databind.introspect.AnnotatedMember member)