Commit Graph

7 Commits

Author SHA1 Message Date
Tagir Valeev
7e9d7a664e DFA: exception names shortened in messages ('java.lang.' package prefix is removed) 2018-08-20 13:24:45 +07:00
Tagir Valeev
5a8e6d64cc DFA instruction visitor refactoring wave#7
Merge reporting of constant variables and constant conditions
Fix DfaConstValue#createFromValue (for constants like Integer X = new Integer(1))
DfaMemoryState#getConstantValue now accepts DfaValue (and processes unboxed value as well)
Report "will cause NPE", etc. messages when dereferenced value is statically known to be null (not only null literal) IDEA-194676
2018-08-08 16:39:38 +07:00
peter
b3c40ee773 dfa: highlight just method reference name on possible NPE warnings (IDEA-149904) 2016-01-20 16:47:53 +01:00
peter
2cda0cd109 dfa: avoid false positives when method calls change state (IDEA-107604) 2013-05-22 18:08:59 +02:00
peter
aa671e4c3f let method calls on other instances not affect our fields (IDEA-92380) 2013-02-03 22:42:57 +01:00
peter
b418e60060 a consistent dfa treatment for plain fields assuming single-threaded context (IDEA-92380) 2013-02-03 22:42:56 +01:00
peter
1341348316 test expectations for IDEA-92380 "Constant Conditions & Exceptions": relax possible NPE reporting for fields 2012-11-07 20:44:08 +01:00