@@ -172,7 +172,7 @@ public Reader reader() {
172
172
* @since 23
173
173
*/
174
174
@ PreviewFeature (feature = PreviewFeature .Feature .IMPLICIT_CLASSES )
175
- public Console println (Object obj ) {
175
+ public Console println (@ Nullable Object obj ) {
176
176
throw newUnsupportedOperationException ();
177
177
}
178
178
@@ -192,7 +192,7 @@ public Console println(Object obj) {
192
192
* @since 23
193
193
*/
194
194
@ PreviewFeature (feature = PreviewFeature .Feature .IMPLICIT_CLASSES )
195
- public Console print (Object obj ) {
195
+ public Console print (@ Nullable Object obj ) {
196
196
throw newUnsupportedOperationException ();
197
197
}
198
198
@@ -214,7 +214,7 @@ public Console print(Object obj) {
214
214
* @since 23
215
215
*/
216
216
@ PreviewFeature (feature = PreviewFeature .Feature .IMPLICIT_CLASSES )
217
- public String readln (String prompt ) {
217
+ public String readln (@ Nullable String prompt ) {
218
218
throw newUnsupportedOperationException ();
219
219
}
220
220
@@ -289,7 +289,7 @@ public Console format(String format, @Nullable Object ... args) {
289
289
* @return This console
290
290
* @since 23
291
291
*/
292
- public Console format (Locale locale , String format , Object ... args ) {
292
+ public Console format (@ Nullable Locale locale , String format , @ Nullable Object ... args ) {
293
293
throw newUnsupportedOperationException ();
294
294
}
295
295
@@ -369,7 +369,7 @@ public Console printf(String format, @Nullable Object ... args) {
369
369
* @return This console
370
370
* @since 23
371
371
*/
372
- public Console printf (Locale locale , String format , Object ... args ) {
372
+ public Console printf (@ Nullable Locale locale , String format , @ Nullable Object ... args ) {
373
373
throw newUnsupportedOperationException ();
374
374
}
375
375
@@ -453,7 +453,7 @@ public Console printf(Locale locale, String format, Object ... args) {
453
453
* if an end of stream has been reached.
454
454
* @since 23
455
455
*/
456
- public String readLine (Locale locale , String format , Object ... args ) {
456
+ public @ Nullable String readLine (@ Nullable Locale locale , String format , @ Nullable Object ... args ) {
457
457
throw newUnsupportedOperationException ();
458
458
}
459
459
@@ -553,7 +553,7 @@ public String readLine(Locale locale, String format, Object ... args) {
553
553
* or {@code null} if an end of stream has been reached.
554
554
* @since 23
555
555
*/
556
- public char [] readPassword (Locale locale , String format , Object ... args ) {
556
+ public char @ Nullable [] readPassword (@ Nullable Locale locale , String format , @ Nullable Object ... args ) {
557
557
throw newUnsupportedOperationException ();
558
558
}
559
559
0 commit comments