BytecodeAnalysis: infer failing contracts; infer contracts for input boolean arguments; squash inferred contracts; refactoring

This commit is contained in:
Tagir Valeev
2017-05-24 11:49:05 +07:00
parent 871ef095bb
commit 5599cc543f
35 changed files with 764 additions and 419 deletions
@@ -235,9 +235,7 @@
<annotation name='org.jetbrains.annotations.Nullable'/>
</item>
<item name='javax.swing.JComponent java.awt.Dimension getSize(java.awt.Dimension)'>
<annotation name='org.jetbrains.annotations.Contract'>
<val val="&quot;!null-&gt;!null;null-&gt;!null&quot;"/>
</annotation>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='javax.swing.JComponent java.awt.Dimension getSize(java.awt.Dimension) 0'>
<annotation name='org.jetbrains.annotations.Nullable'/>
@@ -592,6 +590,7 @@
</item>
<item name='javax.swing.SwingUtilities SwingUtilities()'>
<annotation name='org.jetbrains.annotations.Contract'>
<val name="value" val="&quot;-&gt;fail&quot;"/>
<val name="pure" val="true"/>
</annotation>
</item>