315696de00
6480588: No way to suppress deprecation warnings when implementing deprecated interface Fixing DeferredLintHandler configuration, so lint warnings are reported with correct @SuppressWarnings settings Reviewed-by: jjg, vromero
15 lines
201 B
Java
15 lines
201 B
Java
/* /nodynamiccopyright/ */
|
|
package pack;
|
|
|
|
@SuppressWarnings("deprecation")
|
|
public class ImplicitMain {
|
|
private Object test() {
|
|
return new ImplicitUse();
|
|
}
|
|
}
|
|
|
|
@Deprecated
|
|
class Dep {
|
|
|
|
}
|