注释类型 ViewMeta


  • @Target(TYPE)
    @Retention(SOURCE)
    @Repeatable(ViewMetas.class)
    public @interface ViewMeta
    Used to generate the meta class. However even not use it, ViewOf will generate the meta class as well. But if you want to change the simple name or package name of the generated class, this is your best choose.
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      Class<?> of  
      String packageName
      The package of the generated class.
      String value
      The simple name of the generated class .
    • 元素详细资料

      • value

        String value
        The simple name of the generated class . By default, (the simple name if the original Class + "Meta") is used.
        返回:
        the target class
        默认值:
        ""
      • packageName

        String packageName
        The package of the generated class. Bu default, the package fo the original class is used.
        返回:
        the package of the generated.
        默认值:
        ""
      • of

        Class<?> of
        默认值:
        io.github.vipcxj.beanknife.runtime.utils.Self.class