Permalink
Browse files

Remove KotlinSignature annotations from project code

  • Loading branch information...
1 parent b378969 commit baaa3ef50ad9e61ce3e8a17df65b66be27c92b60 @udalov udalov committed Oct 11, 2015
Showing with 7 additions and 370 deletions.
  1. +0 −9 annotations/com/android/tools/idea/gradle/output/parser/annotations.xml
  2. +0 −27 annotations/com/intellij/codeInsight/editorActions/annotations.xml
  3. +0 −6 annotations/com/intellij/codeInsight/intention/annotations.xml
  4. +0 −6 annotations/com/intellij/codeInsight/lookup/annotations.xml
  5. +0 −6 annotations/com/intellij/codeInsight/unwrap/annotations.xml
  6. +0 −5 annotations/com/intellij/codeInspection/annotations.xml
  7. +0 −6 annotations/com/intellij/debugger/actions/annotations.xml
  8. +0 −7 annotations/com/intellij/debugger/engine/annotations.xml
  9. +0 −16 annotations/com/intellij/ide/hierarchy/annotations.xml
  10. +0 −8 annotations/com/intellij/ide/hierarchy/type/annotations.xml
  11. +0 −8 annotations/com/intellij/ide/util/treeView/smartTree/annotations.xml
  12. +0 −15 annotations/com/intellij/openapi/util/annotations.xml
  13. +0 −6 annotations/com/intellij/platform/annotations.xml
  14. +0 −13 annotations/com/intellij/psi/search/searches/annotations.xml
  15. +0 −6 annotations/com/intellij/refactoring/annotations.xml
  16. +0 −7 annotations/com/intellij/refactoring/move/annotations.xml
  17. +0 −7 annotations/com/intellij/refactoring/move/moveFilesOrDirectories/annotations.xml
  18. +0 −14 annotations/com/intellij/refactoring/rename/annotations.xml
  19. +0 −98 annotations/com/intellij/refactoring/safeDelete/annotations.xml
  20. +0 −5 annotations/com/intellij/testFramework/fixtures/annotations.xml
  21. +0 −8 annotations/com/intellij/ui/classFilter/annotations.xml
  22. +0 −9 annotations/com/intellij/xdebugger/settings/annotations.xml
  23. +1 −5 compiler/backend/src/org/jetbrains/kotlin/codegen/optimization/transformer/MethodTransformer.java
  24. +0 −2 compiler/frontend/src/org/jetbrains/kotlin/psi/JetCallElement.java
  25. +0 −3 compiler/frontend/src/org/jetbrains/kotlin/resolve/BindingContext.java
  26. +0 −6 compiler/testData/codegen/notNullAssertions/A.java
  27. +0 −3 core/descriptors/src/org/jetbrains/kotlin/descriptors/CallableDescriptor.java
  28. +1 −2 core/descriptors/src/org/jetbrains/kotlin/descriptors/DeclarationDescriptor.java
  29. +0 −4 core/descriptors/src/org/jetbrains/kotlin/descriptors/DeclarationDescriptorVisitor.java
  30. +0 −35 core/descriptors/src/org/jetbrains/kotlin/resolve/OverridingUtil.java
  31. +2 −3 core/descriptors/src/org/jetbrains/kotlin/types/JetType.java
  32. +0 −4 core/util.runtime/src/org/jetbrains/kotlin/utils/DFS.java
  33. +0 −2 idea/src/org/jetbrains/kotlin/idea/refactoring/JetRefactoringUtil.java
  34. +3 −4 idea/src/org/jetbrains/kotlin/idea/refactoring/safeDelete/KotlinOverridingDialog.java
  35. +0 −3 idea/testData/editor/quickDoc/JavaMethodUsedInKotlin_Data.java
  36. +0 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/DeclarationBodyVisitor.java
@@ -1,9 +0,0 @@
-<root>
- <item
- name='com.android.tools.idea.gradle.output.parser.PatternAwareOutputParser boolean parse(java.lang.String, com.android.tools.idea.gradle.output.parser.OutputLineReader, java.util.List&lt;com.android.tools.idea.gradle.output.GradleMessage&gt;)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value"
- val="&quot;fun parse(line: String, reader: OutputLineReader, messages: MutableList&lt;GradleMessage&gt;): Boolean&quot;"/>
- </annotation>
- </item>
-</root>
@@ -20,13 +20,6 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.codeInsight.editorActions.CopyPastePostProcessor java.util.List&lt;T&gt; collectTransferableData(com.intellij.psi.PsiFile, com.intellij.openapi.editor.Editor, int[], int[])'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value"
- val="&quot;fun collectTransferableData(file: PsiFile, editor: Editor, startOffsets: IntArray, endOffsets: IntArray): List&lt;T&gt;&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.codeInsight.editorActions.CopyPastePostProcessor java.util.List&lt;T&gt; collectTransferableData(com.intellij.psi.PsiFile, com.intellij.openapi.editor.Editor, int[], int[]) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -43,12 +36,6 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.codeInsight.editorActions.CopyPastePostProcessor java.util.List&lt;T&gt; extractTransferableData(java.awt.datatransfer.Transferable)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value" val="&quot;fun extractTransferableData(content: Transferable): List&lt;T&gt;&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.codeInsight.editorActions.CopyPastePostProcessor java.util.List&lt;T&gt; extractTransferableData(java.awt.datatransfer.Transferable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -172,13 +159,6 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.codeInsight.editorActions.ExtendWordSelectionHandler java.util.List&lt;com.intellij.openapi.util.TextRange&gt; select(com.intellij.psi.PsiElement, java.lang.CharSequence, int, com.intellij.openapi.editor.Editor)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value"
- val="&quot;fun select(e: PsiElement, editorText: CharSequence, cursorOffset: Int, editor: Editor): List&lt;TextRange&gt;?&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.codeInsight.editorActions.ExtendWordSelectionHandler java.util.List&lt;com.intellij.openapi.util.TextRange&gt; select(com.intellij.psi.PsiElement, java.lang.CharSequence, int, com.intellij.openapi.editor.Editor) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -211,13 +191,6 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.codeInsight.editorActions.ExtendWordSelectionHandlerBase java.util.List&lt;com.intellij.openapi.util.TextRange&gt; select(com.intellij.psi.PsiElement, java.lang.CharSequence, int, com.intellij.openapi.editor.Editor)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value"
- val="&quot;fun select(e: PsiElement, editorText: CharSequence, cursorOffset: Int, editor: Editor): List&lt;TextRange&gt;?&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.codeInsight.editorActions.ExtendWordSelectionHandlerBase java.util.List&lt;com.intellij.openapi.util.TextRange&gt; select(com.intellij.psi.PsiElement, java.lang.CharSequence, int, com.intellij.openapi.editor.Editor) 3'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -1,10 +1,4 @@
<root>
- <item
- name='com.intellij.codeInsight.intention.IntentionAction boolean isAvailable(com.intellij.openapi.project.Project, com.intellij.openapi.editor.Editor, com.intellij.psi.PsiFile)'>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value" val="&quot;fun isAvailable(project: Project, editor: Editor, file: PsiFile): Boolean&quot;"/>
- </annotation>
- </item>
<item
name='com.intellij.codeInsight.intention.PsiElementBaseIntentionAction boolean isAvailable(com.intellij.openapi.project.Project, com.intellij.openapi.editor.Editor, com.intellij.psi.PsiElement) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
@@ -94,12 +94,6 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.codeInsight.lookup.LookupElementRenderer void renderElement(T, com.intellij.codeInsight.lookup.LookupElementPresentation)'>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value" val="&quot;fun renderElement(element: T?, presentation: LookupElementPresentation): Unit&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.codeInsight.lookup.LookupElementRenderer void renderElement(T, com.intellij.codeInsight.lookup.LookupElementPresentation) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -4,12 +4,6 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.codeInsight.unwrap.ScopeHighlighter ScopeHighlighter(com.intellij.openapi.editor.Editor, com.intellij.util.NotNullFunction&lt;com.intellij.psi.PsiElement,com.intellij.openapi.util.TextRange&gt;)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value" val="&quot;fun ScopeHighlighter(editor: Editor, ranger: NotNullFunction&lt;PsiElement, TextRange&gt;?)&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.codeInsight.unwrap.ScopeHighlighter void highlight(com.intellij.psi.PsiElement, java.util.List&lt;com.intellij.psi.PsiElement&gt;) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -1,9 +1,4 @@
<root>
- <item name='com.intellij.codeInspection.InspectionToolProvider java.lang.Class[] getInspectionClasses()'>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value" val="&quot;fun getInspectionClasses(): Array&lt;Class&lt;out Any?&gt;&gt;&quot;"/>
- </annotation>
- </item>
<item name='com.intellij.codeInspection.SuppressIntentionAction EMPTY_ARRAY'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -1,11 +1,5 @@
<root>
<item
- name='com.intellij.debugger.actions.JvmSmartStepIntoHandler java.util.List&lt;com.intellij.debugger.actions.SmartStepTarget&gt; findSmartStepTargets(com.intellij.debugger.SourcePosition)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value" val="&quot;fun findSmartStepTargets(position: SourcePosition): List&lt;SmartStepTarget&gt;&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.debugger.actions.JvmSmartStepIntoHandler java.util.List&lt;com.intellij.debugger.actions.SmartStepTarget&gt; findSmartStepTargets(com.intellij.debugger.SourcePosition) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -3,13 +3,6 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.debugger.engine.FrameExtraVariablesProvider java.util.Set&lt;com.intellij.debugger.engine.evaluation.TextWithImports&gt; collectVariables(com.intellij.debugger.SourcePosition, com.intellij.debugger.engine.evaluation.EvaluationContext, java.util.Set&lt;java.lang.String&gt;)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value"
- val="&quot;fun collectVariables(sourcePosition: SourcePosition?, evalContext: EvaluationContext?, alreadyCollected: Set&lt;String&gt;?): Set&lt;TextWithImports&gt;?&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.debugger.engine.MethodFilter boolean locationMatches(com.intellij.debugger.engine.DebugProcessImpl, com.sun.jdi.Location) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -8,23 +8,7 @@
<item name='com.intellij.ide.hierarchy.HierarchyBrowserBaseEx myBuilders'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
- <item name='com.intellij.ide.hierarchy.HierarchyBrowserBaseEx void createTrees(java.util.Map&lt;java.lang.String,javax.swing.JTree&gt;)'>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value" val="&quot;fun createTrees(trees: MutableMap&lt;String, JTree&gt;): Unit&quot;"/>
- </annotation>
- </item>
- <item name='com.intellij.ide.hierarchy.HierarchyBrowserBaseEx void prependActions(com.intellij.openapi.actionSystem.DefaultActionGroup)'>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value" val="&quot;fun prependActions(actionGroup: DefaultActionGroup): Unit&quot;"/>
- </annotation>
- </item>
<item name='com.intellij.ide.hierarchy.HierarchyNodeDescriptor myHighlightedText'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
- <item
- name='com.intellij.ide.hierarchy.HierarchyProvider com.intellij.ide.hierarchy.HierarchyBrowser createHierarchyBrowser(com.intellij.psi.PsiElement)'>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value" val="&quot;fun createHierarchyBrowser(target: PsiElement): HierarchyBrowser&quot;"/>
- </annotation>
- </item>
</root>
@@ -1,8 +0,0 @@
-<root>
- <item
- name='com.intellij.ide.hierarchy.type.TypeHierarchyBrowser void prependActions(com.intellij.openapi.actionSystem.DefaultActionGroup)'>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value" val="&quot;fun prependActions(actionGroup: DefaultActionGroup): Unit&quot;"/>
- </annotation>
- </item>
-</root>
@@ -1,8 +0,0 @@
-<root>
- <item
- name='com.intellij.ide.util.treeView.smartTree.NodeProvider java.util.Collection&lt;T&gt; provideNodes(com.intellij.ide.util.treeView.smartTree.TreeElement)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value" val="&quot;fun provideNodes(node: TreeElement): Collection&lt;T&gt;&quot;"/>
- </annotation>
- </item>
-</root>
@@ -3,22 +3,7 @@
name='com.intellij.openapi.util.Conditions com.intellij.openapi.util.Condition&lt;T&gt; or(com.intellij.openapi.util.Condition&lt;T&gt;, com.intellij.openapi.util.Condition&lt;T&gt;)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
- <item name='com.intellij.openapi.util.Key T get(com.intellij.openapi.util.UserDataHolder, T)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value" val="&quot;fun get(holder: UserDataHolder?, defaultValue: T): T&quot;"/>
- </annotation>
- </item>
<item name='com.intellij.openapi.util.Key com.intellij.openapi.util.Key&lt;T&gt; create(java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
- <item name='com.intellij.openapi.util.Pair A getFirst()'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value" val="&quot;fun getFirst(): A&quot;"/>
- </annotation>
- </item>
- <item name='com.intellij.openapi.util.Pair B getSecond()'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value" val="&quot;fun getSecond(): B&quot;"/>
- </annotation>
- </item>
</root>
@@ -1,11 +1,5 @@
<root>
<item
- name='com.intellij.platform.ProjectTemplatesFactory com.intellij.platform.ProjectTemplate[] createTemplates(java.lang.String, com.intellij.ide.util.projectWizard.WizardContext)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value" val="&quot;fun createTemplates(group: String, context: WizardContext?): Array&lt;out ProjectTemplate&gt;&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.platform.ProjectTemplatesFactory com.intellij.platform.ProjectTemplate[] createTemplates(java.lang.String, com.intellij.ide.util.projectWizard.WizardContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -20,25 +20,12 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.psi.search.searches.ReferencesSearch com.intellij.util.Query&lt;com.intellij.psi.PsiReference&gt; search(com.intellij.psi.PsiElement)'>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value" val="&quot;fun search(element: PsiElement): Query&lt;PsiReference&gt;&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.psi.search.searches.ReferencesSearch com.intellij.util.Query&lt;com.intellij.psi.PsiReference&gt; search(com.intellij.psi.PsiElement, com.intellij.psi.search.SearchScope)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value" val="&quot;fun search(element: PsiElement, searchScope: SearchScope): Query&lt;PsiReference&gt;&quot;"/>
- </annotation>
</item>
<item
name='com.intellij.psi.search.searches.ReferencesSearch com.intellij.util.Query&lt;com.intellij.psi.PsiReference&gt; search(com.intellij.psi.PsiElement, com.intellij.psi.search.SearchScope, boolean)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value"
- val="&quot;fun search(element: PsiElement, searchScope: SearchScope, ignoreAccessScope: Boolean): Query&lt;PsiReference&gt;&quot;"/>
- </annotation>
</item>
<item
name='com.intellij.psi.search.searches.ReferencesSearch com.intellij.util.Query&lt;com.intellij.psi.PsiReference&gt; search(com.intellij.psi.search.searches.ReferencesSearch.SearchParameters)'>
@@ -1,10 +1,4 @@
<root>
- <item
- name='com.intellij.refactoring.BaseRefactoringProcessor boolean preprocessUsages(com.intellij.openapi.util.Ref&lt;com.intellij.usageView.UsageInfo[]&gt;)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value" val="&quot;fun preprocessUsages(refUsages: Ref&lt;Array&lt;UsageInfo&gt;&gt;): Boolean&quot;"/>
- </annotation>
- </item>
<item name='com.intellij.refactoring.BaseRefactoringProcessor myProject'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -8,13 +8,6 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.refactoring.move.MoveHandlerDelegate boolean tryToMove(com.intellij.psi.PsiElement, com.intellij.openapi.project.Project, com.intellij.openapi.actionSystem.DataContext, com.intellij.psi.PsiReference, com.intellij.openapi.editor.Editor)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value"
- val="&quot;fun tryToMove(element: PsiElement, project: Project, dataContext: DataContext?, reference: PsiReference?, editor: Editor?): Boolean&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.refactoring.move.MoveHandlerDelegate com.intellij.psi.PsiElement[] adjustForMove(com.intellij.openapi.project.Project, com.intellij.psi.PsiElement[], com.intellij.psi.PsiElement) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -1,12 +1,5 @@
<root>
<item
- name='com.intellij.refactoring.move.moveFilesOrDirectories.MoveFileHandler java.util.List&lt;com.intellij.usageView.UsageInfo&gt; findUsages(com.intellij.psi.PsiFile, com.intellij.psi.PsiDirectory, boolean, boolean)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value"
- val="&quot;fun findUsages(psiFile: PsiFile, newParent: PsiDirectory, searchInComments: Boolean, searchInNonJavaFiles: Boolean): List&lt;UsageInfo&gt;?&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.refactoring.move.moveFilesOrDirectories.MoveFileHandler void prepareMovedFile(com.intellij.psi.PsiFile, com.intellij.psi.PsiDirectory, java.util.Map&lt;com.intellij.psi.PsiElement,com.intellij.psi.PsiElement&gt;) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -1,12 +1,5 @@
<root>
<item
- name='com.intellij.refactoring.rename.RenamePsiElementProcessor void findCollisions(com.intellij.psi.PsiElement, java.lang.String, java.util.Map&lt;? extends com.intellij.psi.PsiElement,java.lang.String&gt;, java.util.List&lt;com.intellij.usageView.UsageInfo&gt;)'>
- <annotation name='kotlin.jvm.KotlinSignature'>
- <val name="value"
- val="&quot;fun findCollisions(element: PsiElement?, newName: String?, allRenames: Map&lt;out PsiElement?, String&gt;, result: MutableList&lt;UsageInfo&gt;): Unit&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.refactoring.rename.RenamePsiElementProcessor void findCollisions(com.intellij.psi.PsiElement, java.lang.String, java.util.Map&lt;? extends com.intellij.psi.PsiElement,java.lang.String&gt;, java.util.List&lt;com.intellij.usageView.UsageInfo&gt;) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -23,13 +16,6 @@
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item
- name='com.intellij.refactoring.rename.RenamePsiElementProcessor void prepareRenaming(com.intellij.psi.PsiElement, java.lang.String, java.util.Map&lt;com.intellij.psi.PsiElement,java.lang.String&gt;, com.intellij.psi.search.SearchScope)'>
- <annotation name='jet.runtime.typeinfo.KotlinSignature'>
- <val name="value"
- val="&quot;fun prepareRenaming(element: PsiElement?, newName: String?, allRenames: MutableMap&lt;PsiElement, String&gt;, scope: SearchScope): Unit&quot;"/>
- </annotation>
- </item>
- <item
name='com.intellij.refactoring.rename.RenamePsiElementProcessor void prepareRenaming(com.intellij.psi.PsiElement, java.lang.String, java.util.Map&lt;com.intellij.psi.PsiElement,java.lang.String&gt;, com.intellij.psi.search.SearchScope) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
Oops, something went wrong.

0 comments on commit baaa3ef

Please sign in to comment.