IDEA-120535 SelectableChannel.register should have the same magic constants as SelectionKey.interestOps

This commit is contained in:
Alexey Kudravtsev
2014-02-10 20:04:00 +04:00
parent ad661d92e4
commit ea3cf29feb
@@ -41,4 +41,35 @@
<item name='java.nio.channels.Channels java.nio.channels.WritableByteChannel newChannel(java.io.OutputStream) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='java.nio.channels.SelectableChannel int validOps()'>
<annotation name="org.intellij.lang.annotations.MagicConstant">
<val name="flagsFromClass" val="java.nio.channels.SelectionKey.class" />
</annotation>
</item>
<item name='java.nio.channels.SelectableChannel java.nio.channels.SelectionKey register(java.nio.channels.Selector, int) 1'>
<annotation name="org.intellij.lang.annotations.MagicConstant">
<val name="flagsFromClass" val="java.nio.channels.SelectionKey.class" />
</annotation>
</item>
<item
name='java.nio.channels.SelectableChannel java.nio.channels.SelectionKey register(java.nio.channels.Selector, int, java.lang.Object) 1'>
<annotation name="org.intellij.lang.annotations.MagicConstant">
<val name="flagsFromClass" val="java.nio.channels.SelectionKey.class" />
</annotation>
</item>
<item name='java.nio.channels.SelectionKey int interestOps()'>
<annotation name="org.intellij.lang.annotations.MagicConstant">
<val name="flagsFromClass" val="java.nio.channels.SelectionKey.class" />
</annotation>
</item>
<item name='java.nio.channels.SelectionKey java.nio.channels.SelectionKey interestOps(int) 0'>
<annotation name="org.intellij.lang.annotations.MagicConstant">
<val name="flagsFromClass" val="java.nio.channels.SelectionKey.class" />
</annotation>
</item>
<item name='java.nio.channels.SelectionKey int readyOps()'>
<annotation name="org.intellij.lang.annotations.MagicConstant">
<val name="flagsFromClass" val="java.nio.channels.SelectionKey.class" />
</annotation>
</item>
</root>