src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/resources/jdeprscan.properties
changeset 47216 71c04702a3d5
parent 44295 f147ed497558
child 48322 0cd5e2ca53dd
equal deleted inserted replaced
47215:4ebc2e2fb97c 47216:71c04702a3d5
       
     1 main.usage=\
       
     2 Usage: jdeprscan [options] '{dir|jar|class}' ...\n\
       
     3 \n\
       
     4 options:\n\
       
     5 \       --class-path PATH\n\
       
     6 \       --for-removal\n\
       
     7 \       --full-version\n\
       
     8 \  -h   --help\n\
       
     9 \  -l   --list\n\
       
    10 \       --release 6|7|8|9\n\
       
    11 \  -v   --verbose\n\
       
    12 \       --version
       
    13 
       
    14 main.help=\
       
    15 Scans each argument for usages of deprecated APIs. An argument\n\
       
    16 may be a directory specifying the root of a package hierarchy,\n\
       
    17 a JAR file, a class file, or a class name. The class name must be\n\
       
    18 specified using a fully qualified class name using the $ separator\n\
       
    19 character for nested classes, for example,\n\
       
    20 \n\
       
    21 \    java.lang.Thread$State\n\
       
    22 \n\
       
    23 The --class-path option provides a search path for resolution\n\
       
    24 of dependent classes.\n\
       
    25 \n\
       
    26 The --for-removal option limits scanning or listing to APIs that are\n\
       
    27 deprecated for removal. Cannot be used with a release value of 6, 7, or 8.\n\
       
    28 \n\
       
    29 The --full-version option prints out the full version string of the tool.\n\
       
    30 \n\
       
    31 The --help option prints out a full help message.\n\
       
    32 \n\
       
    33 The --list (-l) option prints out the set of deprecated APIs. No scanning is done,\n\
       
    34 so no directory, jar, or class arguments should be provided.\n\
       
    35 \n\
       
    36 The --release option specifies the Java SE release that provides the set\n\
       
    37 of deprecated APIs for scanning.\n\
       
    38 \n\
       
    39 The --verbose (-v) option enables additional message output during processing.\n\
       
    40 \n\
       
    41 The --version option prints out the abbreviated version string of the tool.
       
    42 
       
    43 main.xhelp=\
       
    44 Unsupported options:\n\
       
    45 \n\
       
    46 \  --Xload-class CLASS\n\
       
    47 \      Loads deprecation information from the named class.\n\
       
    48 \  --Xload-csv CSVFILE\n\
       
    49 \      Loads deprecation information from the named CSV file.\n\
       
    50 \  --Xload-dir DIR\n\
       
    51 \      Loads deprecation information from the class hierarchy\n\
       
    52 \      at the named directory.\n\
       
    53 \  --Xload-jar JARFILE\n\
       
    54 \      Loads deprecation information from the named JAR file.\n\
       
    55 \  --Xload-jdk9 JAVA_HOME\n\
       
    56 \      Loads deprecation information from the JDK located at\n\
       
    57 \      JAVA_HOME, which must be a modular JDK.\n\
       
    58 \  --Xload-old-jdk JAVA_HOME\n\
       
    59 \      Loads deprecation information from the JDK located at\n\
       
    60 \      JAVA_HOME, which must not be a modular JDK. Instead, the\n\
       
    61 \      named JDK must be a "classic" JDK with an rt.jar file.\n\
       
    62 \  --Xload-self\n\
       
    63 \      Loads deprecation information by traversing the jrt:\n\
       
    64 \      filesystem of the running JDK image.\n\
       
    65 \  --Xcompiler-arg ARG\n\
       
    66 \      Adds ARG to the list of compiler arguments.\n\
       
    67 \  --Xcsv-comment COMMENT\n\
       
    68 \      Adds COMMENT as a comment line to the output CSV file.\n\
       
    69 \      Only effective if -Xprint-csv is also supplied.\n\
       
    70 \  --Xhelp\n\
       
    71 \      Prints this message.\n\
       
    72 \  --Xprint-csv\n\
       
    73 \      Prints a CSV file containing the loaded deprecation information\n\
       
    74 \      instead of scanning any classes or JAR files.
       
    75 
       
    76 scan.process.class=Processing class {0}...
       
    77 
       
    78 # The "removal tag": empty for normal deprecations,
       
    79 # nonempty for removal deprecations; do not translate.
       
    80 scan.dep.normal=
       
    81 scan.dep.removal=(forRemoval=true)
       
    82 
       
    83 scan.err.exception=error: unexpected exception {0}
       
    84 scan.err.noclass=error: cannot find class {0}
       
    85 scan.err.nofile=error: cannot find file {0}
       
    86 
       
    87 # 0: class name, 1: method name, 2: parameter and return types
       
    88 scan.err.nomethod=error: cannot resolve Methodref {0}.{1}:{2}
       
    89 
       
    90 scan.head.jar=Jar file {0}:
       
    91 scan.head.dir=Directory {0}:
       
    92 
       
    93 # In all of the messages below, 0 and 1 are as follows:
       
    94 #   0: type kind (class, interface, enum, or annotation type)
       
    95 #   1: type name
       
    96 # The last element is generally a "removal tag"; see above.
       
    97 
       
    98 # 2: class name, 3: removal tag
       
    99 scan.out.extends={0} {1} extends deprecated class {2} {3}
       
   100 
       
   101 # 2: interface name, 3: removal tag
       
   102 scan.out.implements={0} {1} implements deprecated interface {2} {3}
       
   103 
       
   104 # 2: class name, 3: removal tag
       
   105 scan.out.usesclass={0} {1} uses deprecated class {2} {3}
       
   106 
       
   107 # 2: class name, 3: method name, 4: method parameter and return types, 5: removal tag
       
   108 scan.out.usesmethod={0} {1} uses deprecated method {2}::{3}{4} {5}
       
   109 
       
   110 # 2: class name, 3: method name, 4: method parameter and return types, 5: removal tag
       
   111 scan.out.usesintfmethod={0} {1} uses deprecated method {2}::{3}{4} {5}
       
   112 
       
   113 # 2: class name, 3: field name, 4: removal tag
       
   114 scan.out.usesfield={0} {1} uses deprecated field {2}::{3} {4}
       
   115 
       
   116 # 2: field name, 3: type name, 4: removal tag
       
   117 scan.out.hasfield={0} {1} has field named {2} of deprecated type {3} {4}
       
   118 
       
   119 # 2: method name, 3: parameter type, 4: removal tag
       
   120 scan.out.methodparmtype={0} {1} has method named {2} having deprecated parameter type {3} {4}
       
   121 
       
   122 # 2: method name, 3: return type, 4: removal tag
       
   123 scan.out.methodrettype={0} {1} has method named {2} having deprecated return type {3} {4}
       
   124 
       
   125 # 2: class name, 3: method name, 4: method parameter and return types, 5: removal tag
       
   126 scan.out.methodoverride={0} {1} overrides deprecated method {2}::{3}{4} {5}