< prev index next >

src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/internals.md

Print this page




 178                                        int srcEnd,
 179                                        byte[] dst,
 180                                        int dstBegin)
 181 
 182    has the descriptor
 183 
 184            getBytes(II[BI)V
 185 
 186  * _since_ - the value of the `since` element of the `@Deprecated`
 187    annotation, or empty if this element is not present.
 188 
 189  * _forRemoval_ - the value of the `forRemoval` element of the
 190    `@Deprecated` annotation, a boolean, either "true" or "false".
 191 
 192 Note that the _since_ field can have arbitrary text (excluding
 193 line separators) and is thus subject to quoting.
 194 
 195 **EXAMPLE OUTPUT**
 196 
 197 Given the following method declaration and annotation from the
 198 `java.lang.Runtime` class,
 199 
 200             @Deprecated(since="1.2",
 201                         forRemoval=true)
 202             public static void runFinalizersOnExit(boolean value)
 203 
 204 the following line will be emitted from **jdeprscan -Xprint-csv**:
 205 
 206             METHOD,java/lang/Runtime,runFinalizersOnExit(Z)V,1.2,true
 207 
 208 
 209 [RFC]: https://www.ietf.org/rfc/rfc4180.txt
 210 
 211 [wiki]: https://en.wikipedia.org/wiki/Comma-separated_values
 212 
 213 [jls131]: http://docs.oracle.com/javase/specs/jls/se8/html/jls-13.html#jls-13.1
 214 
 215 [jvms433]: http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.3.3


 178                                        int srcEnd,
 179                                        byte[] dst,
 180                                        int dstBegin)
 181 
 182    has the descriptor
 183 
 184            getBytes(II[BI)V
 185 
 186  * _since_ - the value of the `since` element of the `@Deprecated`
 187    annotation, or empty if this element is not present.
 188 
 189  * _forRemoval_ - the value of the `forRemoval` element of the
 190    `@Deprecated` annotation, a boolean, either "true" or "false".
 191 
 192 Note that the _since_ field can have arbitrary text (excluding
 193 line separators) and is thus subject to quoting.
 194 
 195 **EXAMPLE OUTPUT**
 196 
 197 Given the following method declaration and annotation from the
 198 `java.lang.Character` class,
 199 
 200             @Deprecated(since="1.1")
 201             public static boolean isJavaLetter(char ch)

 202 
 203 the following line will be emitted from **jdeprscan -Xprint-csv**:
 204 
 205             METHOD,java/lang/Character,isJavaLetter(C)Z,1.1,false
 206 
 207 
 208 [RFC]: https://www.ietf.org/rfc/rfc4180.txt
 209 
 210 [wiki]: https://en.wikipedia.org/wiki/Comma-separated_values
 211 
 212 [jls131]: http://docs.oracle.com/javase/specs/jls/se8/html/jls-13.html#jls-13.1
 213 
 214 [jvms433]: http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.3.3
< prev index next >