blob: 9a158dac72c35f0f0a643e1ed626c1b22e9ff69d [file]
// "Replace method call with A.newMethod" "true"
class A {
{
Object b = newMethod(); // invoke here
}
/**
* @deprecated check if {@link #newMethod()} returns nonnull value instead
*/
Boolean oldMethod() {
return true;
}
Object newMethod() {
return 42;
}
}