External @NonNls annotations for JDK

GitOrigin-RevId: 777ba699151d113673bd7ae8c56841ddca584aaf
This commit is contained in:
Dmitry Jemerov
2020-08-04 21:06:12 +02:00
committed by intellij-monorepo-bot
parent e3a1dba2e5
commit 70a6c0c3fd
4 changed files with 23 additions and 0 deletions

View File

@@ -77,6 +77,12 @@
<item name='java.awt.Component java.awt.Point location()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='java.awt.Component void firePropertyChange(java.lang.String, boolean, boolean) 0'>
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
<item name='java.awt.Component void firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) 0'>
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
<item name='java.awt.Component void setLocation(java.awt.Point) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -127,6 +133,9 @@
<val name="intValues" val="{java.awt.FlowLayout.LEFT, java.awt.FlowLayout.CENTER, java.awt.FlowLayout.RIGHT, java.awt.FlowLayout.LEADING, java.awt.FlowLayout.TRAILING}" />
</annotation>
</item>
<item name='java.awt.Font Font(java.lang.String, int, int) 0'>
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
<item name="java.awt.Font Font(java.lang.String, int, int) 1">
<annotation name="org.intellij.lang.annotations.MagicConstant">
<val name="flags" val="{java.awt.Font.PLAIN, java.awt.Font.BOLD, java.awt.Font.ITALIC}" />
@@ -164,6 +173,9 @@
<item name="java.awt.KeyboardFocusManager void addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) 0">
<annotation name="org.jetbrains.annotations.NonNls" />
</item>
<item name='java.awt.KeyboardFocusManager void removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) 0'>
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
<item name="java.awt.Label int getAlignment()">
<annotation name="org.intellij.lang.annotations.MagicConstant">
<val name="intValues" val="{java.awt.Label.LEFT, java.awt.Label.CENTER, java.awt.Label.RIGHT}" />

View File

@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<item name="java.awt.event.ActionEvent ActionEvent(java.lang.Object, int, java.lang.String, int) 2">
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
<item name="java.awt.event.ActionEvent ActionEvent(java.lang.Object, int, java.lang.String, int) 3">
<annotation name="org.intellij.lang.annotations.MagicConstant">
<val name="flagsFromClass" val="java.awt.event.InputEvent.class" />

View File

@@ -0,0 +1,5 @@
<root>
<item name='java.beans.PropertyChangeEvent java.lang.String getPropertyName()'>
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
</root>

View File

@@ -335,12 +335,15 @@
</item>
<item name='java.nio.file.Paths java.nio.file.Path get(java.lang.String, java.lang.String...)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
<item name='java.nio.file.Paths java.nio.file.Path get(java.lang.String, java.lang.String...) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
<item name='java.nio.file.Paths java.nio.file.Path get(java.lang.String, java.lang.String...) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='org.jetbrains.annotations.NonNls'/>
</item>
<item name='java.nio.file.Paths java.nio.file.Path get(java.net.URI)'>
<annotation name='org.jetbrains.annotations.NotNull'/>