mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
moved jdk annotations to community
This commit is contained in:
+4
-2
@@ -27,13 +27,14 @@ package com.intellij.codeInspection;
|
||||
import com.intellij.JavaTestUtil;
|
||||
import com.intellij.codeInspection.ex.LocalInspectionToolWrapper;
|
||||
import com.intellij.codeInspection.magicConstant.MagicConstantInspection;
|
||||
import com.intellij.openapi.application.PathManager;
|
||||
import com.intellij.openapi.projectRoots.Sdk;
|
||||
import com.intellij.openapi.projectRoots.SdkModificator;
|
||||
import com.intellij.openapi.roots.AnnotationOrderRootType;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.openapi.vfs.LocalFileSystem;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.testFramework.InspectionTestCase;
|
||||
import com.intellij.testFramework.PlatformTestUtil;
|
||||
|
||||
public class MagicConstantInspectionTest extends InspectionTestCase {
|
||||
@Override
|
||||
@@ -46,7 +47,8 @@ public class MagicConstantInspectionTest extends InspectionTestCase {
|
||||
// add JDK annotations
|
||||
Sdk sdk = super.getTestProjectSdk();
|
||||
SdkModificator sdkModificator = sdk.getSdkModificator();
|
||||
VirtualFile root = LocalFileSystem.getInstance().findFileByPath(PathManager.getHomePath() + "/jdkAnnotations");
|
||||
VirtualFile root = LocalFileSystem.getInstance().findFileByPath(
|
||||
FileUtil.toSystemIndependentName(PlatformTestUtil.getCommunityPath()) + "/java/jdkAnnotations");
|
||||
if (root != null) {
|
||||
sdkModificator.addRoot(root, AnnotationOrderRootType.getInstance());
|
||||
sdkModificator.commitChanges();
|
||||
|
||||
@@ -0,0 +1,161 @@
|
||||
<root>
|
||||
<item name='java.awt.CardLayout void show(Container parent, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.awt.Cursor'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.awt.Container void addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<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.CardLayout void show(java.awt.Container, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.awt.Rectangle boolean contains(java.awt.Rectangle) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.Font java.awt.Font deriveFont(int, float) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flags" val="{java.awt.Font.PLAIN, java.awt.Font.BOLD, java.awt.Font.ITALIC}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.Font java.awt.Font deriveFont(int, java.awt.geom.AffineTransform) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flags" val="{java.awt.Font.PLAIN, java.awt.Font.BOLD, java.awt.Font.ITALIC}"/>
|
||||
</annotation>
|
||||
</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}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.Font java.awt.Font deriveFont(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flags" val="{java.awt.Font.PLAIN, java.awt.Font.BOLD, java.awt.Font.ITALIC}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.Font int getStyle()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flags" val="{java.awt.Font.PLAIN, java.awt.Font.BOLD, java.awt.Font.ITALIC}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.FlowLayout void setAlignment(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<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.FlowLayout int getAlignment()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<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.FlowLayout FlowLayout(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<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.FlowLayout FlowLayout(int, int, int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<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.BasicStroke BasicStroke(float, int, int, float, float[], float) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.BasicStroke.CAP_BUTT, java.awt.BasicStroke.CAP_ROUND, java.awt.BasicStroke.CAP_SQUARE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.BasicStroke BasicStroke(float, int, int, float) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.BasicStroke.CAP_BUTT, java.awt.BasicStroke.CAP_ROUND, java.awt.BasicStroke.CAP_SQUARE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.BasicStroke BasicStroke(float, int, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.BasicStroke.CAP_BUTT, java.awt.BasicStroke.CAP_ROUND, java.awt.BasicStroke.CAP_SQUARE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.BasicStroke int getEndCap()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.BasicStroke.CAP_BUTT, java.awt.BasicStroke.CAP_ROUND, java.awt.BasicStroke.CAP_SQUARE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.BasicStroke BasicStroke(float, int, int, float, float[], float) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.BasicStroke.JOIN_BEVEL, java.awt.BasicStroke.JOIN_MITER, java.awt.BasicStroke.JOIN_ROUND}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.BasicStroke BasicStroke(float, int, int, float) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.BasicStroke.JOIN_BEVEL, java.awt.BasicStroke.JOIN_MITER, java.awt.BasicStroke.JOIN_ROUND}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.BasicStroke BasicStroke(float, int, int) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.BasicStroke.JOIN_BEVEL, java.awt.BasicStroke.JOIN_MITER, java.awt.BasicStroke.JOIN_ROUND}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.BasicStroke int getLineJoin()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.BasicStroke.JOIN_BEVEL, java.awt.BasicStroke.JOIN_MITER, java.awt.BasicStroke.JOIN_ROUND}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.Cursor Cursor(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.Cursor.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.Cursor int getType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.Cursor.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.Cursor java.awt.Cursor getPredefinedCursor(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.Cursor.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.AWTKeyStroke AWTKeyStroke(char, int, int, boolean) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.AWTKeyStroke java.awt.AWTKeyStroke getAWTKeyStroke(java.lang.Character, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.AWTKeyStroke java.awt.AWTKeyStroke getAWTKeyStroke(int, int, boolean) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.AWTKeyStroke java.awt.AWTKeyStroke getAWTKeyStroke(int, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.AWTKeyStroke int getModifiers()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.Label void setAlignment(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.Label.LEFT, java.awt.Label.CENTER, java.awt.Label.RIGHT}"/>
|
||||
</annotation>
|
||||
</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}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.Toolkit int getMenuShortcutKeyMask()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,8 @@
|
||||
<root>
|
||||
<item name='java.awt.datatransfer.DataFlavor DataFlavor(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.awt.datatransfer.DataFlavor DataFlavor(java.lang.String, java.lang.String,java.lang.ClassLoader) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,146 @@
|
||||
<root>
|
||||
<item name='java.awt.event.InputEvent InputEvent(java.awt.Component, int, long, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.InputEvent int getModifiers()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.InputEvent int getModifiersEx()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.ActionEvent ActionEvent(java.lang.Object, int, java.lang.String, long, int) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</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"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.ActionEvent int getModifiers()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.KeyEvent java.lang.String getKeyModifiersText(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.KeyEvent KeyEvent(java.awt.Component, int, long, int, int, char, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.KeyEvent KeyEvent(java.awt.Component, int, long, int, int, char) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.KeyEvent KeyEvent(java.awt.Component, int, long, int, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.KeyEvent void setModifiers(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.MouseEvent MouseEvent(java.awt.Component, int, long, int, int, int, int, boolean) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.MouseEvent MouseEvent(java.awt.Component, int, long, int, int, int, int, boolean, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.MouseEvent MouseEvent(java.awt.Component, int, long, int, int, int, int, int, int, boolean, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.MouseEvent java.lang.String getMouseModifiersText(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.HierarchyEvent HierarchyEvent(java.awt.Component, int, java.awt.Component, java.awt.Container, long) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flags" val="{java.awt.event.HierarchyEvent.PARENT_CHANGED,java.awt.event.HierarchyEvent.DISPLAYABILITY_CHANGED,java.awt.event.HierarchyEvent.SHOWING_CHANGED}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.HierarchyEvent int getChangeFlags()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flags" val="{java.awt.event.HierarchyEvent.PARENT_CHANGED,java.awt.event.HierarchyEvent.DISPLAYABILITY_CHANGED,java.awt.event.HierarchyEvent.SHOWING_CHANGED}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.ItemEvent ItemEvent(java.awt.ItemSelectable, int, java.lang.Object, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.event.ItemEvent.SELECTED, java.awt.event.ItemEvent.DESELECTED}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.ItemEvent int getStateChange()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.event.ItemEvent.SELECTED, java.awt.event.ItemEvent.DESELECTED}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.AdjustmentEvent AdjustmentEvent(java.awt.Adjustable, int, int, int, boolean) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.event.AdjustmentEvent.UNIT_INCREMENT, java.awt.event.AdjustmentEvent.UNIT_DECREMENT, java.awt.event.AdjustmentEvent.BLOCK_INCREMENT, java.awt.event.AdjustmentEvent.BLOCK_DECREMENT, java.awt.event.AdjustmentEvent.TRACK}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.AdjustmentEvent int getAdjustmentType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.event.AdjustmentEvent.UNIT_INCREMENT, java.awt.event.AdjustmentEvent.UNIT_DECREMENT, java.awt.event.AdjustmentEvent.BLOCK_INCREMENT, java.awt.event.AdjustmentEvent.BLOCK_DECREMENT, java.awt.event.AdjustmentEvent.TRACK}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.MouseWheelEvent int getScrollType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.event.MouseWheelEvent.WHEEL_UNIT_SCROLL, java.awt.event.MouseWheelEvent.WHEEL_BLOCK_SCROLL}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.MouseWheelEvent MouseWheelEvent(java.awt.Component, int, long, int, int, int, int, boolean, int, int, int) 8'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.event.MouseWheelEvent.WHEEL_UNIT_SCROLL, java.awt.event.MouseWheelEvent.WHEEL_BLOCK_SCROLL}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='java.awt.event.MouseWheelEvent MouseWheelEvent(java.awt.Component, int, long, int, int, int, int, int, int, boolean, int, int, int) 10'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.event.MouseWheelEvent.WHEEL_UNIT_SCROLL, java.awt.event.MouseWheelEvent.WHEEL_BLOCK_SCROLL}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='java.awt.event.MouseWheelEvent MouseWheelEvent(java.awt.Component, int, long, int, int, int, int, int, int, boolean, int, int, int, double) 10'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.event.MouseWheelEvent.WHEEL_UNIT_SCROLL, java.awt.event.MouseWheelEvent.WHEEL_BLOCK_SCROLL}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.event.MouseWheelEvent MouseWheelEvent(java.awt.Component, int, long, int, int, int, int, boolean, int, int, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='java.awt.event.MouseWheelEvent MouseWheelEvent(java.awt.Component, int, long, int, int, int, int, int, int, boolean, int, int, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='java.awt.event.MouseWheelEvent MouseWheelEvent(java.awt.Component, int, long, int, int, int, int, int, int, boolean, int, int, int, double) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,67 @@
|
||||
<root>
|
||||
<item name='java.awt.geom.Arc2D void setArcType(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D int getArcType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D void setArc(double, double, double, double, double, double, int) 6'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D void setArc(java.awt.geom.Point2D, java.awt.geom.Dimension2D, double, double, int) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D void setArc(java.awt.geom.Rectangle2D, double, double, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D void setArcByCenter(double, double, double, double, double, int) 5'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D.Float Float(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D.Float Float(float, float, float, float, float, float, int) 6'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D.Float Float(java.awt.geom.Rectangle2D, float, float, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D.Double Double(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D.Double Double(double, double, double, double, double, double, int) 6'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D.Double Double(java.awt.geom.Rectangle2D, double, double, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.awt.geom.Arc2D Arc2D(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.awt.geom.Arc2D.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,13 @@
|
||||
<root>
|
||||
<item
|
||||
name='java.awt.im.InputMethodRequests java.text.AttributedCharacterIterator cancelLatestCommittedText(java.text.AttributedCharacterIterator.Attribute[])'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'/>
|
||||
</item>
|
||||
<item name='java.awt.im.InputMethodRequests java.awt.font.TextHitInfo getLocationOffset(int, int)'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'/>
|
||||
</item>
|
||||
<item
|
||||
name='java.awt.im.InputMethodRequests java.text.AttributedCharacterIterator getSelectedText(java.text.AttributedCharacterIterator.Attribute[])'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'/>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,30 @@
|
||||
<root>
|
||||
<item name='java.io.File File(java.lang.String, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.io.File java.io.File createTempFile(java.lang.String, java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.io.File java.io.File createTempFile(java.lang.String, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.io.File java.io.File createTempFile(java.lang.String, java.lang.String, java.io.File) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.io.File java.io.File createTempFile(java.lang.String, java.lang.String, java.io.File) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.io.File File(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.io.File File(java.io.File, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.io.RandomAccessFile RandomAccessFile(java.io.File, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.io.File java.io.File[] listFiles()'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,87 @@
|
||||
<root>
|
||||
<item name='java.lang.String java.lang.String toLowerCase(java.util.Locale) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.String java.lang.String toLowerCase(java.util.Locale)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.String java.lang.String toUpperCase(java.util.Locale) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.String java.lang.String toUpperCase(java.util.Locale)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.Class java.lang.reflect.Field getDeclaredField(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.Class java.lang.reflect.Method getMethod(java.lang.String, java.lang.Class...) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.System java.lang.String setProperty(java.lang.String, java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.System java.lang.String setProperty(java.lang.String, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.Thread Thread(java.lang.Runnable, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.String boolean matches(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.Class java.lang.reflect.Method getDeclaredMethod(java.lang.String, java.lang.Class...) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.ClassLoader InputStream getResourceAsStream(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.System java.lang.String getProperty(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.Runtime Process exec(java.lang.String[]) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.Class java.lang.reflect.Method getDeclaredMethod(java.lang.String, java.lang.Class<?>...) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.Iterable Iterator<T> iterator()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.lang.ClassLoader java.net.URL getResource(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.String String(byte[], java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.String byte[] getBytes(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.RuntimeException RuntimeException(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.Class java.lang.reflect.Method getMethod(java.lang.String, java.lang.Class<?>...) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.Runtime java.lang.Process exec(java.lang.String[]) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.ClassLoader java.io.InputStream getResourceAsStream(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.lang.ClassLoader java.net.URL getResource(java.lang.String)'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'/>
|
||||
</item>
|
||||
<item name='java.lang.Class int getModifiers()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.lang.reflect.Modifier.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.lang.SecurityManager void checkMemberAccess(java.lang.Class<?>, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.lang.reflect.Member.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,6 @@
|
||||
<root>
|
||||
<item name='java.lang.ref.Reference T get()'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,7 @@
|
||||
<root>
|
||||
<item name='java.lang.reflect.Member int getModifiers()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.lang.reflect.Modifier.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,14 @@
|
||||
<root>
|
||||
<item name='java.net.URL URL(java.lang.String, java.lang.String, java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.net.URLEncoder java.lang.String encode(java.lang.String, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.net.URLConnection java.lang.String getHeaderField(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.net.URL URL(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,5 @@
|
||||
<root>
|
||||
<item name='java.nio.charset.Charset java.nio.charset.Charset forName(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,5 @@
|
||||
<root>
|
||||
<item name='java.security.MessageDigest MessageDigest java.security.getInstance(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,5 @@
|
||||
<root>
|
||||
<item name='java.text.SimpleDateFormat SimpleDateFormat(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,62 @@
|
||||
<root>
|
||||
<item name='java.util.Collection T[] toArray(T[] a)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Collection Iterator<E> iterator()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Collection Object[] toArray()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Collection boolean containsAll(java.util.Collection<?> c) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Collection boolean addAll(java.util.Collection<? extends E> c) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Collection boolean removeAll(java.util.Collection<?> c) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Collection boolean retainAll(java.util.Collection<?> c) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.List boolean addAll(int index, java.util.Collection<? extends E> c) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.List ListIterator<E> listIterator()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.List List<E> subList(int fromIndex, int toIndex)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Arrays java.util.List<T> asList(T...) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Arrays java.util.List<T> asList(T...)'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Arrays void sort(T[], java.util.Comparator<?) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.Arrays void sort(java.lang.Object[]) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.UUID'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.util.Calendar void set(int, int, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.util.Calendar.JANUARY, java.util.Calendar.FEBRUARY, java.util.Calendar.MARCH, java.util.Calendar.APRIL, java.util.Calendar.MAY, java.util.Calendar.JUNE, java.util.Calendar.JULY, java.util.Calendar.AUGUST, java.util.Calendar.SEPTEMBER, java.util.Calendar.OCTOBER, java.util.Calendar.NOVEMBER, java.util.Calendar.DECEMBER}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.util.Calendar void set(int, int, int, int, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.util.Calendar.JANUARY, java.util.Calendar.FEBRUARY, java.util.Calendar.MARCH, java.util.Calendar.APRIL, java.util.Calendar.MAY, java.util.Calendar.JUNE, java.util.Calendar.JULY, java.util.Calendar.AUGUST, java.util.Calendar.SEPTEMBER, java.util.Calendar.OCTOBER, java.util.Calendar.NOVEMBER, java.util.Calendar.DECEMBER}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.util.Calendar void set(int, int, int, int, int, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.util.Calendar.JANUARY, java.util.Calendar.FEBRUARY, java.util.Calendar.MARCH, java.util.Calendar.APRIL, java.util.Calendar.MAY, java.util.Calendar.JUNE, java.util.Calendar.JULY, java.util.Calendar.AUGUST, java.util.Calendar.SEPTEMBER, java.util.Calendar.OCTOBER, java.util.Calendar.NOVEMBER, java.util.Calendar.DECEMBER}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,23 @@
|
||||
<root>
|
||||
<item name='java.util.concurrent.ConcurrentMap V putIfAbsent(K, V) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.concurrent.ConcurrentMap boolean remove(java.lang.Object, java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.concurrent.ConcurrentMap boolean replace(K, V, V) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.concurrent.ConcurrentMap boolean replace(K, V, V) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.concurrent.ConcurrentMap boolean replace(K, V, V) 2'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.concurrent.ConcurrentMap V replace(K, V) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item name='java.util.concurrent.ConcurrentMap V replace(K, V) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,15 @@
|
||||
<root>
|
||||
<item name='java.util.regex.Pattern java.util.regex.Pattern compile(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='java.util.regex.Pattern java.util.regex.Pattern compile(java.lang.String, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.util.regex.Pattern.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.util.regex.Pattern int flags()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.util.regex.Pattern.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,12 @@
|
||||
<root>
|
||||
<item name='java.util.zip.ZipEntry void setMethod(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.util.zip.ZipEntry.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='java.util.zip.ZipEntry int getMethod()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="java.util.zip.ZipEntry.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,13 @@
|
||||
<root>
|
||||
<item
|
||||
name='javax.naming.event.NamingEvent NamingEvent(javax.naming.event.EventContext, int, javax.naming.Binding, javax.naming.Binding, java.lang.Object) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.naming.event.NamingEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.naming.event.NamingEvent int getType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.naming.event.NamingEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,375 @@
|
||||
<root>
|
||||
<item name='javax.swing.UIManager java.awt.Color getColor(java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.UIManager java.awt.Font getFont(java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.UIManager javax.swing.Icon getIcon(java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.LookAndFeel void installColorsAndFont(javax.swing.JComponent, java.lang.String, java.lang.String, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.LookAndFeel void installColorsAndFont(javax.swing.JComponent, java.lang.String, java.lang.String, java.lang.String) 2'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.LookAndFeel void installColorsAndFont(javax.swing.JComponent, java.lang.String, java.lang.String, java.lang.String) 3'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.LookAndFeel void installBorder(javax.swing.JComponent, java.lang.String) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.LookAndFeel java.lang.String getID()'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.UIManager java.lang.Object get(java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.JComponent java.lang.Object getClientProperty(java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.UIManager boolean getBoolean(java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.JComponent void putClientProperty(java.lang.Object, java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.UIManager javax.swing.border.Border getBorder(java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.AbstractAction AbstractAction(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.JEditorPane JEditorPane(java.lang.String, java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.ActionMap void put(java.lang.Object, javax.swing.Action) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.InputMap void put(javax.swing.KeyStroke, java.lang.Object) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.ActionMap javax.swing.Action get(java.lang.Object) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.JComponent void putClientProperty(java.lang.Object, java.lang.Object) 1'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.TransferHandler java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent)'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'/>
|
||||
</item>
|
||||
<item name='javax.swing.JTree javax.swing.tree.TreePath[] getSelectionPaths()'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'/>
|
||||
</item>
|
||||
<item name='javax.swing.UIManager'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
<item name='javax.swing.KeyStroke'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JTree java.awt.Rectangle getPathBounds(javax.swing.tree.TreePath)'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JTree javax.swing.tree.TreePath getPathForLocation(int, int)'>
|
||||
<annotation name='org.jetbrains.annotations.Nullable'>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JLabel JLabel(javax.swing.Icon, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.SwingConstants.LEFT, javax.swing.SwingConstants.CENTER, javax.swing.SwingConstants.RIGHT, javax.swing.SwingConstants.LEADING, javax.swing.SwingConstants.TRAILING}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JLabel JLabel(java.lang.String, javax.swing.Icon, int) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.SwingConstants.LEFT, javax.swing.SwingConstants.CENTER, javax.swing.SwingConstants.RIGHT, javax.swing.SwingConstants.LEADING, javax.swing.SwingConstants.TRAILING}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JLabel JLabel(java.lang.String, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.SwingConstants.LEFT, javax.swing.SwingConstants.CENTER, javax.swing.SwingConstants.RIGHT, javax.swing.SwingConstants.LEADING, javax.swing.SwingConstants.TRAILING}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.KeyStroke javax.swing.KeyStroke getKeyStroke(int, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.KeyStroke KeyStroke(char, int, int, boolean) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.KeyStroke javax.swing.KeyStroke getKeyStroke(java.lang.Character, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.KeyStroke javax.swing.KeyStroke getKeyStroke(int, int, boolean) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="flagsFromClass" val="java.awt.event.InputEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JScrollBar JScrollBar(int, int, int, int, int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.Adjustable.HORIZONTAL, java.awt.Adjustable.VERTICAL}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JScrollBar JScrollBar(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{java.awt.Adjustable.HORIZONTAL, java.awt.Adjustable.VERTICAL}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.BoxLayout BoxLayout(java.awt.Container, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.swing.BoxLayout.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.BoxLayout BoxLayout(java.awt.Container, int, java.io.PrintStream) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.swing.BoxLayout.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.BoxLayout int getAxis()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.swing.BoxLayout.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JComponent void setInputMap(int, javax.swing.InputMap) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JComponent.WHEN_FOCUSED,javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW,javax.swing.JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JComponent void registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JComponent.WHEN_FOCUSED,javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW,javax.swing.JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JComponent void registerKeyboardAction(java.awt.event.ActionListener, javax.swing.KeyStroke, int) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JComponent.WHEN_FOCUSED,javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW,javax.swing.JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JComponent javax.swing.InputMap getInputMap(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JComponent.WHEN_FOCUSED,javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW,javax.swing.JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JComponent javax.swing.InputMap getInputMap(int, boolean) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JComponent.WHEN_FOCUSED,javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW,javax.swing.JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JComponent boolean processKeyBinding(javax.swing.KeyStroke, java.awt.event.KeyEvent, int, boolean) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JComponent.WHEN_FOCUSED,javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW,javax.swing.JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane java.lang.String showInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane java.lang.Object showInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon, java.lang.Object[], java.lang.Object) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane void showMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane void showMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane int showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane int showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane int showOptionDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane int showInternalOptionDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
|
||||
<item name='javax.swing.JOptionPane void showInternalMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane void showInternalMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane int showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane int showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane java.lang.String showInternalInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane java.lang.Object showInternalInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon, java.lang.Object[], java.lang.Object) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane JOptionPane(java.lang.Object, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane JOptionPane(java.lang.Object, int, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane JOptionPane(java.lang.Object, int, int, javax.swing.Icon) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[]) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.INFORMATION_MESSAGE,javax.swing.JOptionPane.WARNING_MESSAGE,javax.swing.JOptionPane.ERROR_MESSAGE,javax.swing.JOptionPane.QUESTION_MESSAGE,javax.swing.JOptionPane.PLAIN_MESSAGE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JSplitPane JSplitPane(int, boolean) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JSplitPane.HORIZONTAL_SPLIT,javax.swing.JSplitPane.VERTICAL_SPLIT}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JSplitPane JSplitPane(int, java.awt.Component, java.awt.Component) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JSplitPane.HORIZONTAL_SPLIT,javax.swing.JSplitPane.VERTICAL_SPLIT}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JSplitPane JSplitPane(int, boolean, java.awt.Component, java.awt.Component) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JSplitPane.HORIZONTAL_SPLIT,javax.swing.JSplitPane.VERTICAL_SPLIT}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.ListSelectionModel void setSelectionMode(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.swing.ListSelectionModel.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.ListSelectionModel int getSelectionMode()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.swing.ListSelectionModel.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane int showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane int showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane int showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane int showOptionDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane int showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane int showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane int showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.JOptionPane int showInternalOptionDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane JOptionPane(java.lang.Object, int, int) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane JOptionPane(java.lang.Object, int, int, javax.swing.Icon) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[]) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane void setOptionType(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.JOptionPane int getOptionType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.JOptionPane.DEFAULT_OPTION, javax.swing.JOptionPane.YES_NO_OPTION, javax.swing.JOptionPane.YES_NO_CANCEL_OPTION, javax.swing.JOptionPane.OK_CANCEL_OPTION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,74 @@
|
||||
<root>
|
||||
<item name='javax.swing.border.BevelBorder BevelBorder(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.BevelBorder.RAISED, javax.swing.border.BevelBorder.LOWERED}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.BevelBorder int getBevelType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.BevelBorder.RAISED, javax.swing.border.BevelBorder.LOWERED}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.EtchedBorder EtchedBorder(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.EtchedBorder.RAISED, javax.swing.border.EtchedBorder.LOWERED}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.EtchedBorder int getEtchType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.EtchedBorder.RAISED, javax.swing.border.EtchedBorder.LOWERED}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.TitledBorder void setTitleJustification(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.RIGHT, javax.swing.border.TitledBorder.LEADING, javax.swing.border.TitledBorder.TRAILING}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.TitledBorder int getTitleJustification()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.RIGHT, javax.swing.border.TitledBorder.LEADING, javax.swing.border.TitledBorder.TRAILING}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.TitledBorder void setTitlePosition(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.ABOVE_TOP, javax.swing.border.TitledBorder.TOP, javax.swing.border.TitledBorder.BELOW_TOP, javax.swing.border.TitledBorder.ABOVE_BOTTOM, javax.swing.border.TitledBorder.BOTTOM, javax.swing.border.TitledBorder.BELOW_BOTTOM, javax.swing.border.TitledBorder.DEFAULT_POSITION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.TitledBorder int getTitlePosition()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.ABOVE_TOP, javax.swing.border.TitledBorder.TOP, javax.swing.border.TitledBorder.BELOW_TOP, javax.swing.border.TitledBorder.ABOVE_BOTTOM, javax.swing.border.TitledBorder.BOTTOM, javax.swing.border.TitledBorder.BELOW_BOTTOM, javax.swing.border.TitledBorder.DEFAULT_POSITION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.TitledBorder TitledBorder(javax.swing.border.Border, java.lang.String, int, int) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.RIGHT, javax.swing.border.TitledBorder.LEADING, javax.swing.border.TitledBorder.TRAILING}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.TitledBorder TitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.RIGHT, javax.swing.border.TitledBorder.LEADING, javax.swing.border.TitledBorder.TRAILING}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.border.TitledBorder TitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font, java.awt.Color) 2'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.RIGHT, javax.swing.border.TitledBorder.LEADING, javax.swing.border.TitledBorder.TRAILING}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.TitledBorder TitledBorder(javax.swing.border.Border, java.lang.String, int, int) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.ABOVE_TOP, javax.swing.border.TitledBorder.TOP, javax.swing.border.TitledBorder.BELOW_TOP, javax.swing.border.TitledBorder.ABOVE_BOTTOM, javax.swing.border.TitledBorder.BOTTOM, javax.swing.border.TitledBorder.BELOW_BOTTOM, javax.swing.border.TitledBorder.DEFAULT_POSITION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.border.TitledBorder TitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.ABOVE_TOP, javax.swing.border.TitledBorder.TOP, javax.swing.border.TitledBorder.BELOW_TOP, javax.swing.border.TitledBorder.ABOVE_BOTTOM, javax.swing.border.TitledBorder.BOTTOM, javax.swing.border.TitledBorder.BELOW_BOTTOM, javax.swing.border.TitledBorder.DEFAULT_POSITION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item
|
||||
name='javax.swing.border.TitledBorder TitledBorder(javax.swing.border.Border, java.lang.String, int, int, java.awt.Font, java.awt.Color) 3'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.border.TitledBorder.ABOVE_TOP, javax.swing.border.TitledBorder.TOP, javax.swing.border.TitledBorder.BELOW_TOP, javax.swing.border.TitledBorder.ABOVE_BOTTOM, javax.swing.border.TitledBorder.BOTTOM, javax.swing.border.TitledBorder.BELOW_BOTTOM, javax.swing.border.TitledBorder.DEFAULT_POSITION}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,22 @@
|
||||
<root>
|
||||
<item name='javax.swing.event.TableModelEvent TableModelEvent(javax.swing.table.TableModel, int, int, int, int) 4'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.event.TableModelEvent.INSERT, javax.swing.event.TableModelEvent.UPDATE, javax.swing.event.TableModelEvent.DELETE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.event.TableModelEvent int getType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="intValues" val="{javax.swing.event.TableModelEvent.INSERT, javax.swing.event.TableModelEvent.UPDATE, javax.swing.event.TableModelEvent.DELETE}"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.event.ListDataEvent ListDataEvent(java.lang.Object, int, int, int) 1'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.swing.event.ListDataEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.event.ListDataEvent int getType()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.swing.event.ListDataEvent.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,12 @@
|
||||
<root>
|
||||
<item name='javax.swing.tree.TreeSelectionModel void setSelectionMode(int) 0'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.swing.tree.TreeSelectionModel.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
<item name='javax.swing.tree.TreeSelectionModel int getSelectionMode()'>
|
||||
<annotation name='org.intellij.lang.annotations.MagicConstant'>
|
||||
<val name="valuesFromClass" val="javax.swing.tree.TreeSelectionModel.class"/>
|
||||
</annotation>
|
||||
</item>
|
||||
</root>
|
||||
@@ -0,0 +1,5 @@
|
||||
<root>
|
||||
<item name='org.jdom.Element Element(java.lang.String) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NonNls'/>
|
||||
</item>
|
||||
</root>
|
||||
+2
-1
@@ -216,7 +216,8 @@ public class ProjectRootContainerImpl implements JDOMExternalizable, ProjectRoot
|
||||
|
||||
List children = child.getChildren();
|
||||
LOG.assertTrue(children.size() == 1);
|
||||
myRoots.put(type, (CompositeProjectRoot)ProjectRootUtil.read((Element)children.get(0)));
|
||||
CompositeProjectRoot root = (CompositeProjectRoot)ProjectRootUtil.read((Element)children.get(0));
|
||||
myRoots.put(type, root);
|
||||
}
|
||||
|
||||
private void write(Element roots, PersistentOrderRootType type) throws WriteExternalException {
|
||||
|
||||
@@ -76,7 +76,7 @@ public class ProjectRootUtil {
|
||||
root.readExternal(element);
|
||||
return root;
|
||||
}
|
||||
else if (type.equals(COMPOSITE_ROOT)) {
|
||||
if (type.equals(COMPOSITE_ROOT)) {
|
||||
final CompositeProjectRoot root = new CompositeProjectRoot();
|
||||
root.readExternal(element);
|
||||
return root;
|
||||
|
||||
+23
-10
@@ -21,9 +21,11 @@ import com.intellij.openapi.util.InvalidDataException;
|
||||
import com.intellij.openapi.util.JDOMExternalizable;
|
||||
import com.intellij.openapi.util.WriteExternalException;
|
||||
import com.intellij.openapi.vfs.JarFileSystem;
|
||||
import com.intellij.openapi.vfs.VfsUtil;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.openapi.vfs.VirtualFileManager;
|
||||
import com.intellij.openapi.vfs.ex.http.HttpFileSystem;
|
||||
import com.intellij.util.PathUtil;
|
||||
import org.jdom.Element;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -36,9 +38,9 @@ import java.io.File;
|
||||
public class SimpleProjectRoot implements ProjectRoot, JDOMExternalizable {
|
||||
private String myUrl;
|
||||
private VirtualFile myFile;
|
||||
private final VirtualFile[] myFileArrray = new VirtualFile[1];
|
||||
private final VirtualFile[] myFileArray = new VirtualFile[1];
|
||||
private boolean myInitialized = false;
|
||||
@NonNls public static final String ATTRIBUTE_URL = "url";
|
||||
@NonNls private static final String ATTRIBUTE_URL = "url";
|
||||
|
||||
SimpleProjectRoot(@NotNull VirtualFile file) {
|
||||
myFile = file;
|
||||
@@ -71,8 +73,8 @@ public class SimpleProjectRoot implements ProjectRoot, JDOMExternalizable {
|
||||
return VirtualFile.EMPTY_ARRAY;
|
||||
}
|
||||
|
||||
myFileArrray[0] = myFile;
|
||||
return myFileArrray;
|
||||
myFileArray[0] = myFile;
|
||||
return myFileArray;
|
||||
}
|
||||
|
||||
public String[] getUrls() {
|
||||
@@ -96,15 +98,14 @@ public class SimpleProjectRoot implements ProjectRoot, JDOMExternalizable {
|
||||
|
||||
if (myFile == null || !myFile.isValid()) {
|
||||
myFile = VirtualFileManager.getInstance().findFileByUrl(myUrl);
|
||||
if (myFile != null && cantHaveChildren()) {
|
||||
if (myFile != null && !canHaveChildren()) {
|
||||
myFile = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private boolean cantHaveChildren() {
|
||||
if (myFile.getFileSystem() instanceof HttpFileSystem) return false;
|
||||
return !myFile.isDirectory();
|
||||
private boolean canHaveChildren() {
|
||||
return myFile.getFileSystem() instanceof HttpFileSystem || myFile.isDirectory();
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
@@ -112,7 +113,20 @@ public class SimpleProjectRoot implements ProjectRoot, JDOMExternalizable {
|
||||
}
|
||||
|
||||
public void readExternal(Element element) throws InvalidDataException {
|
||||
myUrl = element.getAttributeValue(ATTRIBUTE_URL);
|
||||
String url = element.getAttributeValue(ATTRIBUTE_URL);
|
||||
myUrl = migrateJdkAnnotationsToCommunityForDevIdea(url);
|
||||
}
|
||||
|
||||
// hack to migrate internal IDEA jdk annos dir from IDEA_PROJECT_HOME/jdkAnnotations to IDEA_PROJECT_HOME/community/java/jdkAnnotations
|
||||
private static String migrateJdkAnnotationsToCommunityForDevIdea(String url) {
|
||||
File root = new File(VfsUtil.urlToPath(url) + "/..");
|
||||
boolean isOldJdkAnnotations = new File(root, "community/java/jdkAnnotations").exists()
|
||||
&& new File(root, "idea.iml").exists()
|
||||
&& new File(root, "testData").exists();
|
||||
if (isOldJdkAnnotations) {
|
||||
return VfsUtil.pathToUrl(PathUtil.getCanonicalPath(VfsUtil.urlToPath(url + "/../community/java/jdkAnnotations")));
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
||||
public void writeExternal(Element element) throws WriteExternalException {
|
||||
@@ -122,5 +136,4 @@ public class SimpleProjectRoot implements ProjectRoot, JDOMExternalizable {
|
||||
|
||||
element.setAttribute(ATTRIBUTE_URL, myUrl);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -206,7 +206,7 @@ public class PathManager {
|
||||
}
|
||||
|
||||
public static File getIndexRoot() {
|
||||
File file = new File(getSystemPath(), "index");
|
||||
File file = new File(getIndexRootDir());
|
||||
try {
|
||||
file = file.getCanonicalFile();
|
||||
}
|
||||
@@ -216,6 +216,11 @@ public class PathManager {
|
||||
return file;
|
||||
}
|
||||
|
||||
private static String getIndexRootDir() {
|
||||
String dir = System.getProperty("index_root_path");
|
||||
return dir == null ? getSystemPath() + "/index" : dir;
|
||||
}
|
||||
|
||||
private static class StringHolder {
|
||||
private static final String ourPreinstalledPluginsPath = getHomePath() + File.separatorChar + PLUGINS_DIRECTORY;
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.util.Processor;
|
||||
import com.intellij.util.SystemProperties;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import com.intellij.util.containers.Stack;
|
||||
import com.intellij.util.io.URLUtil;
|
||||
import org.intellij.lang.annotations.RegExp;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
@@ -761,7 +762,7 @@ public class FileUtil {
|
||||
@NotNull @NonNls final String aFilePrefix,
|
||||
@NotNull String aExtension) {
|
||||
int postfix = 0;
|
||||
String ext = 0 == aExtension.length() ? "" : "." + aExtension;
|
||||
String ext = aExtension.isEmpty() ? "" : "." + aExtension;
|
||||
|
||||
File candidate = new File(aParentFolder, aFilePrefix + ext);
|
||||
while (candidate.exists()) {
|
||||
@@ -787,12 +788,12 @@ public class FileUtil {
|
||||
}
|
||||
|
||||
public static String toCanonicalPath(String path) {
|
||||
if (path == null || path.length() == 0) {
|
||||
if (path == null || path.isEmpty()) {
|
||||
return path;
|
||||
}
|
||||
path = path.replace(File.separatorChar, '/');
|
||||
final StringTokenizer tok = new StringTokenizer(path, "/");
|
||||
final com.intellij.util.containers.Stack<String> stack = new com.intellij.util.containers.Stack<String>();
|
||||
final Stack<String> stack = new Stack<String>();
|
||||
while (tok.hasMoreTokens()) {
|
||||
final String token = tok.nextToken();
|
||||
if ("..".equals(token)) {
|
||||
@@ -801,7 +802,7 @@ public class FileUtil {
|
||||
}
|
||||
stack.pop();
|
||||
}
|
||||
else if (token.length() != 0 && !".".equals(token)) {
|
||||
else if (!token.isEmpty() && !".".equals(token)) {
|
||||
stack.push(token);
|
||||
}
|
||||
}
|
||||
@@ -1256,7 +1257,7 @@ public class FileUtil {
|
||||
|
||||
String _path = path;
|
||||
|
||||
if ((SystemInfo.isLinux || SystemInfo.isMac)) {
|
||||
if (SystemInfo.isLinux || SystemInfo.isMac) {
|
||||
final File projectDir = new File(path);
|
||||
final File userHomeDir = new File(SystemProperties.getUserHome());
|
||||
if (isAncestor(userHomeDir, projectDir, true)) {
|
||||
|
||||
Reference in New Issue
Block a user