mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
Fix notes from the review, it includes: - moving the check if the new expression can be a call to static field/method to HighlightUtil - checking the base class when looking for a static member GitOrigin-RevId: 0a914f8cc76a13ae4249f9f6b752dcbccae8c940
15 lines
173 B
Java
15 lines
173 B
Java
// "Remove 'new'" "true"
|
|
|
|
class A {
|
|
public static A field = new A();
|
|
}
|
|
|
|
class B extends A {
|
|
{
|
|
/*
|
|
* hello
|
|
* world
|
|
*/
|
|
A a = B.field;
|
|
}
|
|
} |