注释类型 CollectionType

    • 必需元素概要

      所需元素 
      修饰符和类型 必需的元素 说明
      String type
      Names the type.
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      Parameter[] parameters
      Specifies configuration information for the type.
      Class<?> semantics
      Specifies the class to use the semantics of.
      • semantics

        Class<?> semantics
        Specifies the class to use the semantics of. For example, specifying Set will use Set semantics. When not specified, will be inferred from the interfaces on the property as long as it extends a standard Collection or Map.
        返回:
        the class to use the semantics of.
        默认值:
        void.class
      • parameters

        Parameter[] parameters
        Specifies configuration information for the type. Note that if the named type is a UserCollectionType, it must also implement ParameterizedType in order to receive these values.
        默认值:
        {}