Annotation Type Name


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface Name
    用以界定程序输入参数的名称,在调用程序时为程序确定参数值。例如,如果用参数进行程序调用,此时声明的名称需映射至参数的名称。
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String defaultValue  
    • Field Detail

      • DEFAULT_VALUE

        static final String DEFAULT_VALUE
        默认值
    • Element Detail

      • value

        String value
        Returns:
        输入参数的值
      • defaultValue

        String defaultValue
        Default:
        " <[6795b15e-8693-4a21-b57a-4a7b87f09a5a]> "