Commit Graph

8 Commits

Author SHA1 Message Date
Tagir Valeev
528416102b [java-dfa] Support explanation for constructor contracts; ArrayBlockingQueueContract constructor contracts
GitOrigin-RevId: 641b8569630c8f22d0bfa806f3cd5a54c3290ba4
2021-09-14 15:25:04 +00:00
Tagir Valeev
1f55c80364 [java-dfa] More precise date ranges; precise return type for toArray()
GitOrigin-RevId: 98c2883ac4048827ab2e0b69cf75cd1c8f22755b
2021-03-31 07:47:22 +00:00
Tagir Valeev
80fadea28d [java-dfa] DfaMemoryStateImpl.getUnboxedDfType: fix for updated DfaBoxedValue semantics
GitOrigin-RevId: e4b7f636ee91a85035bec83d8dd1f5199a539603
2021-02-15 06:47:03 +00:00
Tagir Valeev
f2e1cccd26 [java-dfa] Simplify array initialization with improved BoxingInstruction
GitOrigin-RevId: 7efbce9db4b0ce37a13b1466908f57bf8dff3f2c
2021-02-15 06:47:02 +00:00
Tagir Valeev
0a196e727f [java-dfa] Enhance DfaBoxedValue to wrap any special field
Allows putting on the stack values with special field bound to variable.

GitOrigin-RevId: 3fac435de1b77c8e5185b356ff187cfe2b990554
2021-02-15 06:47:01 +00:00
Tagir Valeev
2bfc6d6491 [java-dfa] Do not warn about mutability violation for empty arrays
GitOrigin-RevId: 4f17f801fc81ad25b9cc0f0da36722204469cc37
2021-01-29 09:00:16 +00:00
Tagir Valeev
f247670ecb [java-inspections] Remove cast processing from SuspiciousToArrayCallInspection
It produced confusing warnings for non-raw collections (IDEA-260307). If the cast mismatches the array type, it will be warned by DFA instead.

GitOrigin-RevId: 374d924cc401c196c6c4700cb1b043e4de2ebb41
2021-01-29 09:00:13 +00:00
Tagir Valeev
c3efd7eb7d [java-inspections] IDEA-260407 First-class support for Collection.toArray in DFA
GitOrigin-RevId: d11677e1b70f4c2e6117767b22fe707912b606ca
2021-01-27 06:42:37 +00:00