mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Inline field/method: check for reflective usages
Fixes EA-126479 - CCE: InlineConstantFieldProcessor.inlineExpressionUsage
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
private static final int <caret>FIELD = 5;
|
||||
|
||||
void test() {
|
||||
System.out.println(FIELD);
|
||||
System.out.println(Test.class.getDeclaredField("FIELD"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user