mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-15 11:58:18 +07:00
IDEA-133946 Don't highlight private constructor as unused if it is called by dependency injection engine
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import java.lang.Override;
|
||||
|
||||
class PrivateConstructor {
|
||||
private final int myA;
|
||||
|
||||
private PrivateConstructor(int a) {
|
||||
myA = a;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return myA;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user