mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 03:20:56 +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
14 lines
167 B
Java
14 lines
167 B
Java
// "Remove 'new'" "true"
|
|
|
|
class A {
|
|
public static void process() {}
|
|
}
|
|
|
|
class B extends A {
|
|
{
|
|
new /*
|
|
* hello
|
|
* world
|
|
*/ B.<caret>process();
|
|
}
|
|
} |