├── .gitattributes ├── kotlin-eclipse-policy └── build.properties ├── kotlin-eclipse-ui-test ├── testData │ ├── format │ │ ├── autoIndent │ │ │ ├── sampleTest.kt │ │ │ ├── beforeCloseBrace.kt │ │ │ ├── afterOneOpenBrace.kt │ │ │ ├── betweenBracesOnOneLine.kt │ │ │ ├── sampleTest.after.kt │ │ │ ├── afterFunCallInScript.kts │ │ │ ├── beforeCloseBrace.after.kt │ │ │ ├── beforeFunctionStart.kt │ │ │ ├── continuationBeforeFunName.kt │ │ │ ├── afterFunCallInScript.after.kts │ │ │ ├── afterOneOpenBrace.after.kt │ │ │ ├── beforeFunctionStart.after.kt │ │ │ ├── betweenBracesOnOneLine.after.kt │ │ │ ├── lineBreakSaveIndent.kt │ │ │ ├── betweenBracesOnDifferentLine.kt │ │ │ ├── continuationBeforeFunName.after.kt │ │ │ ├── afterOperatorIfWithoutBraces.kt │ │ │ ├── lineBreakSaveIndent.after.kt │ │ │ ├── afterOperatorWhileWithoutBraces.kt │ │ │ ├── betweenBracesOnDifferentLine.after.kt │ │ │ ├── afterOpenBraceWithShift.kt │ │ │ ├── betweenBracesWithSpacesMiddle.kt │ │ │ ├── afterOperatorIfWithoutBraces.after.kt │ │ │ ├── betweenBracesWithSpacesAtStart.kt │ │ │ ├── betweenBracesWithSpacesEnd1.kt │ │ │ ├── betweenBracesWithSpacesEnd2.kt │ │ │ ├── breakLineAfterIfWithoutBraces.kt │ │ │ ├── continuationAfterDotCall.kt │ │ │ ├── indentBeforeWhile.kt │ │ │ ├── afterOperatorWhileWithoutBraces.after.kt │ │ │ ├── nestedOperatorsWithoutBraces.kt │ │ │ ├── afterOpenBraceWithShift.after.kt │ │ │ ├── breakLineAfterIfWithoutBraces.after.kt │ │ │ ├── indentBeforeWhile.after.kt │ │ │ ├── newLineInParameters1.kt │ │ │ ├── betweenBracesWithSpacesEnd1.after.kt │ │ │ ├── betweenBracesWithSpacesEnd2.after.kt │ │ │ ├── betweenBracesWithSpacesMiddle.after.kt │ │ │ ├── continuationAfterDotCall.after.kt │ │ │ ├── betweenBracesWithSpacesAtStart.after.kt │ │ │ ├── nestedOperatorsWithoutBraces.after.kt │ │ │ ├── newLineInParameters2.kt │ │ │ ├── nestedOperatorsWithBraces.kt │ │ │ ├── newLineInParameters1.after.kt │ │ │ ├── newLineInParameters2.after.kt │ │ │ └── nestedOperatorsWithBraces.after.kt │ │ ├── initIndent.kt │ │ ├── initIndent.kt.after │ │ ├── packageFunctionsFormatTest.kt │ │ ├── indentInDoWhile.kt │ │ ├── newLineAfterImportsAndPackage.kt │ │ ├── packageFunctionsFormatTest.kt.after │ │ ├── indentInDoWhile.kt.after │ │ ├── formatScriptFile.kts │ │ ├── formatSelection.kt │ │ ├── lambdaInBlock.kt │ │ ├── newLineAfterImportsAndPackage.kt.after │ │ ├── formatSelection.kt.after │ │ ├── indentInIfExpressionBlock.kt │ │ ├── lambdaInBlock.kt.after │ │ ├── indentInWhenEntry.kt │ │ ├── classesAndPropertiesFormatTest.kt │ │ ├── withoutComments.kt │ │ ├── formatScriptFile.kts.after │ │ ├── indentInIfExpressionBlock.kt.after │ │ ├── indentInWhenEntry.kt.after │ │ ├── objectsAndLocalFunctionsFormatTest.kt │ │ ├── withoutComments.kt.after │ │ ├── classesAndPropertiesFormatTest.kt.after │ │ ├── withMutableVariable.kt │ │ ├── objectsAndLocalFunctionsFormatTest.kt.after │ │ ├── withMutableVariable.kt.after │ │ ├── withJavaDoc.kt │ │ ├── withLineComments.kt │ │ ├── blockCommentBeforeDeclaration.kt │ │ ├── respectCaretAfterFormatting.kt.after │ │ ├── withBlockComments.kt │ │ ├── withLineComments.kt.after │ │ ├── commentOnTheLastLineOfLambda.kt │ │ ├── indentInPropertyAccessor.kt │ │ ├── withBlockComments.kt.after │ │ ├── respectCaretAfterFormatting.kt │ │ ├── indentInPropertyAccessor.kt.after │ │ └── withJavaDoc.kt.after │ ├── ide_analyzer │ │ ├── kotlinFromJava │ │ │ ├── Bar.kt │ │ │ └── Foo.java │ │ ├── checkExistancePackageLevelFunctions │ │ │ ├── Bar.kt │ │ │ ├── Baz.kt │ │ │ └── Foo.java │ │ ├── checkAnalyzerFoundError.kt │ │ ├── unresolvedPackageType │ │ │ ├── Bar.kt │ │ │ └── Baz.kt │ │ ├── javaFromKotlin │ │ │ ├── Foo.java │ │ │ └── Bar.kt │ │ ├── kotlinInPackageFromJava │ │ │ ├── K1.kt │ │ │ └── J1.java │ │ ├── kotlinJavaKotlin │ │ │ ├── K1.kt │ │ │ ├── J1.java │ │ │ └── K2.kt │ │ ├── packageLevelPropertiesFromJava │ │ │ └── Bar.kt │ │ ├── analyzerHasKotlinRuntime.kt │ │ ├── packageLevelFunctionsFromJava │ │ │ ├── Bar.kt │ │ │ └── Foo.java │ │ ├── checkTestsFoundJavaError │ │ │ └── J1.java │ │ ├── companionObjectFromJava │ │ │ ├── Bar.kt │ │ │ └── Foo.java │ │ └── analyzerHasKotlinAnnotations.kt │ ├── highlighting │ │ ├── basic │ │ │ ├── textWithTokenBetween.kt │ │ │ ├── textWithTokenInPrefix.kt │ │ │ ├── textWithTokenInSuffix.kt │ │ │ ├── forKeyword.kt │ │ │ ├── inKeyword.kt │ │ │ ├── stringToken.kt │ │ │ ├── importKeyword.kt │ │ │ ├── keywordWithText.kt │ │ │ ├── singleLineComment.kt │ │ │ ├── blockComment.kt │ │ │ ├── interfaceKeyword.kt │ │ │ ├── openKeyword.kt │ │ │ ├── softImportKeyword.kt │ │ │ ├── kdocBasic.kt │ │ │ ├── function.kt │ │ │ ├── stringInterpolation.kt │ │ │ ├── highlightCompanionObject.kt │ │ │ ├── kdocWithEmptyLines.kt │ │ │ ├── kdocWithProperty.kt │ │ │ ├── kdocWithMyTag.kt │ │ │ ├── getterSetter.kt │ │ │ ├── kdocWithSee.kt │ │ │ ├── softKeywords.kt │ │ │ ├── kdocWithThrows.kt │ │ │ ├── kdocWithParam.kt │ │ │ └── kdocWithoutLeadingAsterisk.kt │ │ └── positionUpdater │ │ │ ├── afterFunctionName.kt │ │ │ ├── beforeFunctionName.kt │ │ │ ├── illegalCharactersAfter.kt │ │ │ ├── illegalCharactersAfter.kt.after │ │ │ ├── illegalCharactersBefore.kt │ │ │ ├── illegalCharactersBefore.kt.after │ │ │ ├── afterFunctionName.kt.after │ │ │ ├── insideHighlightedPosition.kt │ │ │ ├── afterHighlightedPosition.kt │ │ │ ├── beforeFunctionName.kt.after │ │ │ ├── insideHighlightedPosition.kt.after │ │ │ ├── beforeHighlightedPosition.kt │ │ │ ├── illegalCharactersBeforeHighlightedPosition.kt │ │ │ ├── afterHighlightedPosition.kt.after │ │ │ ├── beforeHighlightedPosition.kt.after │ │ │ └── illegalCharactersBeforeHighlightedPosition.kt.after │ ├── completion │ │ ├── handlers │ │ │ ├── nonImportedByCamelCase.kt │ │ │ ├── completeNonImported.kt │ │ │ ├── filterTypesFromSamePackage.dependency.kt │ │ │ ├── nonImportedByCamelCase.kt.after │ │ │ ├── completeNonImported.kt.after │ │ │ ├── filterTypesFromSamePackage.kt │ │ │ ├── filterTypesFromSamePackage.kt.after │ │ │ ├── paramsFunction.kt │ │ │ ├── insertFunctionWithSingleParameterWithBrace.kt │ │ │ ├── completeWithExistingBraces.kt │ │ │ ├── insertJavaMethodWithParam.kt │ │ │ ├── paramsFunction.kt.after │ │ │ ├── withParamsAndBraces.kt │ │ │ ├── insertFunctionWithSingleParameterWithBrace.kt.after │ │ │ ├── insertJavaMethodWithParam.kt.after │ │ │ ├── withLambdaAndBraces.kt │ │ │ ├── completeWithExistingBraces.kt.after │ │ │ ├── withParamsAndBraces.kt.after │ │ │ ├── higherOrderFunctionWithArgs1.kt │ │ │ ├── unitFunctionOnDot.kt │ │ │ ├── withLambdaAndBraces.kt.after │ │ │ ├── unitFunctionOnBracket.kt │ │ │ ├── functionWithParamOnDot.kt │ │ │ ├── higherOrderFunctionWithArgs1.kt.after │ │ │ ├── unitFunctionOnBracket.kt.after │ │ │ ├── unitFunctionOnDot.kt.after │ │ │ ├── FunctionWithParamOnBracket.kt │ │ │ ├── insertVoidJavaMethod.kt │ │ │ ├── noParamsFunction.kt │ │ │ ├── completeWithExistingBracesOnBrace.kt │ │ │ ├── completeWithExistingBracesOnDot.kt │ │ │ ├── functionWithParamOnDot.kt.after │ │ │ ├── insertVoidJavaMethod.kt.after │ │ │ ├── paramsFunctionOnDot.kt │ │ │ ├── FunctionWithParamOnBracket.kt.after │ │ │ ├── noParamsFunction.kt.after │ │ │ ├── withLambdaAndBracesOnDot.kt │ │ │ ├── withParamsAndBracesOnBrace.kt │ │ │ ├── withParamsAndBracesOnDot.kt │ │ │ ├── withParamsAndBracesOnDot.kt.after │ │ │ ├── completeWithExistingBracesOnBrace.kt.after │ │ │ ├── completeWithExistingBracesOnDot.kt.after │ │ │ ├── paramsFunctionOnDot.kt.after │ │ │ ├── withLambdaAndBracesOnDot.kt.after │ │ │ └── withParamsAndBracesOnBrace.kt.after │ │ ├── autoimport │ │ │ ├── localJavaClassAutoImport │ │ │ │ ├── Bar.kt │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java │ │ │ ├── localJavaEnumAutoImport │ │ │ │ ├── Bar.kt │ │ │ │ ├── Bar.kt.after │ │ │ │ └── FooEnum.java │ │ │ ├── packageLevelValImport │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── extensionValImport │ │ │ │ ├── other.kt │ │ │ │ ├── dependency.kt │ │ │ │ ├── test.kt │ │ │ │ └── test.kt.after │ │ │ ├── functionReferenceImport │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── importWithExtraBreaklineWithoutPackage.kt │ │ │ ├── localJavaInterfaceAutoImport │ │ │ │ ├── Bar.kt │ │ │ │ ├── Bar.kt.after │ │ │ │ └── FooInterface.java │ │ │ ├── propertyReferenceImport │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── classNestedInClassImport │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── classNestedInObjectImport │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── importWithExtraBreakline.kt │ │ │ ├── packageLevelFunctionImport │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── packageLevelInvokableValImport │ │ │ │ ├── test.kt │ │ │ │ ├── test.kt.after │ │ │ │ └── dependency.kt │ │ │ ├── oneStandardVectorAutoImport.kt │ │ │ ├── packageLevelFunctionValImport │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── extensionOperatorImport │ │ │ │ ├── other1.kt │ │ │ │ ├── other2.kt │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── extensionFunctionImport │ │ │ │ ├── other.kt │ │ │ │ ├── dependency.kt │ │ │ │ ├── test.kt │ │ │ │ └── test.kt.after │ │ │ ├── extensionInfixFunctionImport │ │ │ │ ├── other1.kt │ │ │ │ ├── other2.kt │ │ │ │ ├── dependency.kt │ │ │ │ ├── test.kt │ │ │ │ └── test.kt.after │ │ │ ├── functionExtensionValImport │ │ │ │ ├── other.kt │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── invokableExtensionValImport │ │ │ │ ├── other.kt │ │ │ │ ├── test.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── unaryExtensionOperatorImport │ │ │ │ ├── other1.kt │ │ │ │ ├── test.kt │ │ │ │ ├── other2.kt │ │ │ │ ├── other3.kt │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt.after │ │ │ ├── extensionValReferenceImport │ │ │ │ ├── other.kt │ │ │ │ ├── dependency.kt │ │ │ │ ├── test.kt │ │ │ │ └── test.kt.after │ │ │ ├── importClassWithExistingPackageKeyword.kt │ │ │ ├── importOnlyUnresolvedReferenceExpressions.kt │ │ │ ├── importOnlyUnresolvedReferenceExpressions.kt.after │ │ │ ├── sameProjectJavaClassAutoImport │ │ │ │ ├── Bar.kt │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java │ │ │ ├── extensionFunctionReferenceImport │ │ │ │ ├── other.kt │ │ │ │ ├── dependency.kt │ │ │ │ ├── test.kt │ │ │ │ └── test.kt.after │ │ │ ├── importWithExtraBreaklineWithoutPackage.kt.after │ │ │ ├── extensionMethodInLambdaWithReceiverAmbigousImport │ │ │ │ ├── other.kt │ │ │ │ ├── dependency2.kt │ │ │ │ └── dependency1.kt │ │ │ ├── extensionMethodInLambdaWithReceiverImport │ │ │ │ ├── dependency.kt │ │ │ │ └── test.kt │ │ │ ├── importWithExtraBreakline.kt.after │ │ │ ├── oneStandardVectorAutoImport.kt.after │ │ │ ├── importClassWithExistingPackageKeyword.kt.after │ │ │ ├── packageArrayListAutoImport.kt │ │ │ ├── packageArrayListAutoImport.kt.after │ │ │ └── standardEnumMapAutoImport.kt │ │ ├── basic │ │ │ ├── scripts │ │ │ │ ├── absentMainTemplate.kts │ │ │ │ ├── argsCompletion.kts │ │ │ │ ├── classFromJRE.kts │ │ │ │ ├── keywordsCompletion.kts │ │ │ │ ├── functionFromStdlib.kts │ │ │ │ ├── typeFromRuntime.kts │ │ │ │ └── localDeclarations.kts │ │ │ ├── common │ │ │ │ ├── NoCompletionAfterBigFloat.kt │ │ │ │ ├── NoCompletionAfterFloat.kt │ │ │ │ ├── NoCompletionAfterLong.kt │ │ │ │ ├── BasicAny.kt │ │ │ │ ├── NoEmptyPackage.kt │ │ │ │ ├── BasicInt.kt │ │ │ │ ├── NoCompletionAfterInt.kt │ │ │ │ ├── functionWithLowerCase.kt │ │ │ │ ├── NoTopLevelCompletionInQualifiedUserTypes.kt │ │ │ │ ├── SubpackageInFun.kt │ │ │ │ ├── notImportedAnnotation.kt │ │ │ │ ├── OneWithStarImport.kt │ │ │ │ ├── WithCompletedExpression.kt │ │ │ │ ├── ExtensionToIntInFloatStyle.kt │ │ │ │ ├── AfterFloatOnNewLine.kt │ │ │ │ ├── ClassRedeclaration1.kt │ │ │ │ ├── ClassRedeclaration2.kt │ │ │ │ ├── JavaPackage.kt │ │ │ │ ├── ObjectRedeclaration1.kt │ │ │ │ ├── ObjectRedeclaration2.kt │ │ │ │ ├── OneProposalWithExplicitImport.kt │ │ │ │ ├── InGlobalPropertyInitializer.kt │ │ │ │ ├── InPackageBegin.kt │ │ │ │ ├── VariableWithLowerCase.kt │ │ │ │ ├── InEmptyImport.kt │ │ │ │ ├── NoObjectInTypePosition.kt │ │ │ │ ├── InLongDotQualifiedExpression.kt │ │ │ │ ├── AfterIntSeparatedWithComments.kt │ │ │ │ ├── FunctionCompletionFormatting.kt │ │ │ │ ├── InExtendTypeAnnotation.kt │ │ │ │ └── InImport.kt │ │ │ └── java │ │ │ │ ├── InPackage.kt │ │ │ │ └── AutoForceCompletion.kt │ │ ├── keywords │ │ │ └── InFunctionTypePosition.kt │ │ └── relevance │ │ │ ├── localBeforeNonImported.kt │ │ │ └── sortingForNonImported.kt │ ├── organizeImports │ │ ├── importOneClass.kt │ │ ├── includeImportsOnlyFromActiveFile │ │ │ ├── Baz.kt │ │ │ ├── Bar.kt │ │ │ └── Bar.kt.after │ │ ├── importOneClass.kt.after │ │ ├── importSeveralClasses.kt │ │ ├── doNotInsertLinesForNoErrors.kt │ │ ├── doNotInsertLinesForNoErrors.kt.after │ │ ├── importSeveralClassesWithExistingPackage.kt │ │ └── importSeveralClasses.kt.after │ ├── refactoring │ │ └── rename │ │ │ ├── renameKotlinTopLevelFun │ │ │ ├── before │ │ │ │ ├── Some.kt │ │ │ │ └── SomeJava.java │ │ │ ├── after │ │ │ │ ├── Some.kt │ │ │ │ └── SomeJava.java │ │ │ └── renameKotlinTopLevelFun.test │ │ │ ├── renameKotlinClassFromJava │ │ │ ├── before │ │ │ │ ├── KotlinCls.kt │ │ │ │ └── JavaUsage.java │ │ │ ├── after │ │ │ │ ├── KotlinCls.kt │ │ │ │ └── JavaUsage.java │ │ │ └── renameKotlinClassFromJava.test │ │ │ ├── scripts │ │ │ ├── renameInScriptLocally │ │ │ │ ├── after │ │ │ │ │ ├── main.kts │ │ │ │ │ └── other.kts │ │ │ │ ├── before │ │ │ │ │ ├── main.kts │ │ │ │ │ └── other.kts │ │ │ │ └── info.test │ │ │ ├── renameFunctionInScript │ │ │ │ ├── info.test │ │ │ │ ├── before │ │ │ │ │ └── main.kts │ │ │ │ └── after │ │ │ │ │ └── main.kts │ │ │ ├── renameClassInScript │ │ │ │ └── info.test │ │ │ └── renamePropertyInScript │ │ │ │ └── info.test │ │ │ ├── renameKotlinTopLevelFunFromJava │ │ │ ├── after │ │ │ │ ├── KotlinCls.kt │ │ │ │ └── JavaUsage.java │ │ │ ├── before │ │ │ │ ├── KotlinCls.kt │ │ │ │ └── JavaUsage.java │ │ │ └── renameKotlinTopLevelFunFromJava.test │ │ │ ├── renameJavaStaticMethod │ │ │ ├── before │ │ │ │ ├── Some.kt │ │ │ │ └── SomeJava.java │ │ │ ├── after │ │ │ │ ├── Some.kt │ │ │ │ └── SomeJava.java │ │ │ └── renameJavaStaticMethod.test │ │ │ ├── renameJavaClass │ │ │ ├── after │ │ │ │ └── testing │ │ │ │ │ └── NewName.java │ │ │ └── before │ │ │ │ └── testing │ │ │ │ └── SomeClass.java │ │ │ ├── renameKotlinClass │ │ │ ├── after │ │ │ │ ├── RenameKotlinClass.kt │ │ │ │ └── testing │ │ │ │ │ └── JavaClient.java │ │ │ ├── before │ │ │ │ ├── RenameKotlinClass.kt │ │ │ │ └── testing │ │ │ │ │ └── JavaClient.java │ │ │ └── javaWrapperForKotlinClass.test │ │ │ ├── renameJavaClassSamePackage │ │ │ ├── after │ │ │ │ └── testing │ │ │ │ │ └── NewName.java │ │ │ └── before │ │ │ │ └── testing │ │ │ │ └── SomeClass.java │ │ │ ├── simple │ │ │ ├── after │ │ │ │ └── main.kt │ │ │ ├── before │ │ │ │ └── main.kt │ │ │ └── info.test │ │ │ ├── renameJavaInterface │ │ │ ├── after │ │ │ │ └── testing │ │ │ │ │ └── NewInterface.java │ │ │ └── before │ │ │ │ └── testing │ │ │ │ └── SomeInterface.java │ │ │ ├── renameKotlinClassByConstructorRef │ │ │ ├── after │ │ │ │ └── main.kt │ │ │ ├── before │ │ │ │ └── main.kt │ │ │ └── renameKotlinClassByConstructorRef.test │ │ │ ├── renameKotlinMethod │ │ │ ├── after │ │ │ │ └── RenameKotlinMethod.kt │ │ │ └── before │ │ │ │ └── RenameKotlinMethod.kt │ │ │ ├── renameKotlinMethodFromJava │ │ │ ├── before │ │ │ │ ├── KotlinCls.kt │ │ │ │ └── JavaUsage.java │ │ │ ├── after │ │ │ │ └── KotlinCls.kt │ │ │ └── renameKotlinMethodFromJava.test │ │ │ ├── automaticRenamer │ │ │ └── simple.test │ │ │ └── renameJavaMethod │ │ │ ├── after │ │ │ └── testing │ │ │ │ └── JavaClass.java │ │ │ ├── before │ │ │ └── testing │ │ │ │ └── JavaClass.java │ │ │ └── javaBaseMethod.test │ ├── navigation │ │ ├── javaToKotlin │ │ │ ├── toKotlinClass │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toFilePart │ │ │ │ ├── Baz.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toKotlinObject │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toObjectInstance │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── specifiedPackageLevelFunction │ │ │ │ ├── Bar.kt │ │ │ │ └── Baz.kt.after │ │ │ ├── toFunctionInFilePart │ │ │ │ └── Baz.kt.after │ │ │ ├── toKotlinClassInPackage │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toKotlinSuperClass │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toBasicTopLevelProperty │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toKotlinTopLevelFunction │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toParametrizedFunction │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toParametrizedClass │ │ │ │ └── Bar.kt.after │ │ │ ├── toKotlinEnumClass │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toTopLevelPropertyWithGetter │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toBasicProperty │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toKotlinFunction │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toKotlinEnumEntry │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toFunctionInObject │ │ │ │ └── Bar.kt.after │ │ │ ├── toMutablePropertyFromGetter │ │ │ │ └── Bar.kt.after │ │ │ ├── toMutablePropertyFromSetter │ │ │ │ └── Bar.kt.after │ │ │ ├── toPropertyWithGetter │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toInnerKotlinEnumClass │ │ │ │ └── Bar.kt.after │ │ │ ├── toInnerKotlinEnumEntry │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toFunctionWithExistingConstructorEqualSignature │ │ │ │ └── Bar.kt.after │ │ │ ├── toFunctionWithExistingEqualSignature │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toMethodWithDefaultArg │ │ │ │ └── Bar.kt.after │ │ │ ├── toCompanionObject │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toFunctionWithPlatformName │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toParametrizedFunctionWithOverload │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toTopLevelPropertyWithSetter │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toInnerKotlinClass │ │ │ │ └── Bar.kt.after │ │ │ ├── toFunctionInInnerClass │ │ │ │ └── Bar.kt.after │ │ │ ├── toNamedCompanionObject │ │ │ │ └── Bar.kt.after │ │ │ ├── toPropertyInBaseClass │ │ │ │ ├── Bar.kt.after │ │ │ │ └── Foo.java.before │ │ │ ├── toPropertyInCompanion │ │ │ │ └── Bar.kt.after │ │ │ ├── toFunctionWithNameDuplicate │ │ │ │ ├── Foo.java.before │ │ │ │ └── Bar.kt.after │ │ │ ├── toOverridenProperty │ │ │ │ └── Foo.java.before │ │ │ ├── toSecondaryConstructor1 │ │ │ │ └── Bar.kt.after │ │ │ ├── toSecondaryConstructor2 │ │ │ │ └── Bar.kt.after │ │ │ └── toMutablePropertyInCompanion │ │ │ │ └── Bar.kt.after │ │ ├── scripts │ │ │ └── basic │ │ │ │ ├── toFunction.kts │ │ │ │ ├── toVariable.kts │ │ │ │ ├── toFunction.kts.after │ │ │ │ └── toVariable.kts.after │ │ ├── lib │ │ │ ├── src │ │ │ │ ├── packagefacade │ │ │ │ │ ├── first.kt │ │ │ │ │ └── second.kt │ │ │ │ └── misplaced-source-folder │ │ │ │ │ ├── first │ │ │ │ │ └── misplaced.kt │ │ │ │ │ ├── second │ │ │ │ │ └── misplaced.kt │ │ │ │ │ └── simpleMisplaced.kt │ │ │ ├── class.kt │ │ │ ├── packageFacadeFunction.kt │ │ │ ├── classWithMisplacedSource.kt │ │ │ ├── function.kt │ │ │ └── constructor.kt │ │ ├── toKotlinClassNavigation │ │ │ ├── Bar.kt │ │ │ ├── Foo.kt.after │ │ │ └── Baz.kt.before │ │ ├── toKotlinMethodNavigation │ │ │ ├── Bar.kt │ │ │ ├── Foo.kt.after │ │ │ └── Baz.kt.before │ │ ├── toJavaClassNavigation │ │ │ └── Bar.kt.before │ │ ├── withinFileToClassNavigation.kt │ │ ├── fromSyntheticPropertyOnlyWithGetter │ │ │ ├── Bar.kt.before │ │ │ └── Foo.java.after │ │ ├── withinFileToClassNavigation.kt.after │ │ ├── toJavaGetterMethod │ │ │ └── Bar.kt.before │ │ ├── withinFileFromConstructorToClassNavigation.kt │ │ ├── fromGetterSyntheticProperty │ │ │ └── Bar.kt.before │ │ ├── fromSetterSyntheticProperty │ │ │ └── Bar.kt.before │ │ ├── withinFileFromConstructorToClassNavigation.kt.after │ │ ├── toJavaMethodNavigation │ │ │ └── Bar.kt.before │ │ ├── withinFileToMethodNavigation.kt │ │ └── withinFileToMethodNavigation.kt.after │ ├── wordSelection │ │ ├── selectEnclosing │ │ │ ├── SimpleStringLiteral │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── TemplateStringLiteral1 │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ └── 3.kt │ │ │ ├── TemplateStringLiteral2 │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ ├── 3.kt │ │ │ │ └── 4.kt │ │ │ ├── TemplateStringLiteral3 │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ ├── 3.kt │ │ │ │ ├── 4.kt │ │ │ │ └── 5.kt │ │ │ ├── ShiftOnWhitespace │ │ │ │ ├── 0.kt │ │ │ │ └── 1.kt │ │ │ ├── ForRange │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ └── 3.kt │ │ │ ├── TypeParameters │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── IfCondition │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ └── 3.kt │ │ │ ├── ValueArguments │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── IfBody │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ ├── 3.kt │ │ │ │ ├── 4.kt │ │ │ │ └── 5.kt │ │ │ ├── SimpleStringLiteral2 │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── TypeArguments │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── ValueParameters │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── FunctionWithLineCommentAfter │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ └── 3.kt │ │ │ ├── DocComment │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ └── 3.kt │ │ │ ├── FunctionWithLineCommentBefore │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ └── 3.kt │ │ │ ├── LineComment │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── WholeFileSelection │ │ │ │ ├── 0.kt │ │ │ │ └── 1.kt │ │ │ ├── SimpleComment │ │ │ │ ├── 0.kt │ │ │ │ └── 1.kt │ │ │ └── selectEnclosingFunctionNameWithoutSelection │ │ │ │ └── 0.kt │ │ ├── selectNext │ │ │ ├── TemplateStringLiteral │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ ├── 3.kt │ │ │ │ ├── 4.kt │ │ │ │ └── 5.kt │ │ │ ├── ShiftOnWhitespace │ │ │ │ ├── 0.kt │ │ │ │ └── 1.kt │ │ │ ├── TypeParameters │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── NonTraversableElement │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── ValueArguments │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ └── 3.kt │ │ │ ├── TypeArguments │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ └── 2.kt │ │ │ ├── ValueParameters │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ └── 3.kt │ │ │ ├── DocComment │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ ├── 3.kt │ │ │ │ └── 4.kt │ │ │ ├── WholeFile │ │ │ │ ├── 0.kt │ │ │ │ └── 1.kt │ │ │ ├── FunctionWithLineComments │ │ │ │ ├── 0.kt │ │ │ │ ├── 1.kt │ │ │ │ ├── 2.kt │ │ │ │ ├── 3.kt │ │ │ │ └── 4.kt │ │ │ └── Functions │ │ │ │ ├── 0.kt │ │ │ │ └── 1.kt │ │ └── selectPrevious │ │ │ ├── TemplateStringLiteral │ │ │ ├── 0.kt │ │ │ ├── 1.kt │ │ │ ├── 2.kt │ │ │ ├── 3.kt │ │ │ ├── 4.kt │ │ │ └── 5.kt │ │ │ ├── ShiftOnWhitespace │ │ │ ├── 0.kt │ │ │ └── 1.kt │ │ │ ├── NonTraversableElement │ │ │ ├── 0.kt │ │ │ ├── 1.kt │ │ │ └── 2.kt │ │ │ ├── TypeParameters │ │ │ ├── 0.kt │ │ │ ├── 1.kt │ │ │ ├── 2.kt │ │ │ └── 3.kt │ │ │ ├── ValueArguments │ │ │ ├── 0.kt │ │ │ ├── 1.kt │ │ │ ├── 2.kt │ │ │ └── 3.kt │ │ │ ├── TypeArguments │ │ │ ├── 0.kt │ │ │ ├── 1.kt │ │ │ ├── 2.kt │ │ │ └── 3.kt │ │ │ ├── ValueParameters │ │ │ ├── 0.kt │ │ │ ├── 1.kt │ │ │ ├── 2.kt │ │ │ └── 3.kt │ │ │ ├── DocComment │ │ │ ├── 0.kt │ │ │ ├── 1.kt │ │ │ ├── 2.kt │ │ │ ├── 3.kt │ │ │ └── 4.kt │ │ │ ├── WholeFile │ │ │ ├── 0.kt │ │ │ └── 1.kt │ │ │ └── FunctionWithLineComments │ │ │ ├── 0.kt │ │ │ ├── 1.kt │ │ │ ├── 2.kt │ │ │ ├── 3.kt │ │ │ └── 4.kt │ ├── intentions │ │ ├── replaceGetOrSet │ │ │ ├── replaceGetInScript.kts.after │ │ │ └── replaceGetInScript.kts │ │ ├── convertToExpressionBody │ │ │ ├── funWithReturn.kt.after │ │ │ ├── funWithReturn.kt │ │ │ ├── funWithNothingType.kt.after │ │ │ ├── funWithUnitTypeWithThrow.kt.after │ │ │ ├── funWithNothingType.kt │ │ │ ├── funWithImplicitUnitTypeWithThrow.kt │ │ │ ├── funWithImplicitUnitTypeWithThrow.kt.after │ │ │ └── funWithUnitTypeWithThrow.kt │ │ ├── changeReturnType │ │ │ ├── typeMismatchInReturnLambda.kt │ │ │ ├── typeMismatchInReturnLambda.kt.after │ │ │ ├── changeReturnTypeInScript.kts │ │ │ ├── changeReturnTypeInScript.kts.after │ │ │ ├── typeMismatchInReturnLambdaWithLabel.kt │ │ │ └── typeMismatchInReturnLambdaWithLabel.kt.after │ │ ├── specifyType │ │ │ ├── StringRedefined.kt │ │ │ ├── StringRedefined.kt.after │ │ │ └── ClassNameClashing.kt │ │ └── implementMethods │ │ │ └── implementMethodInScript.kts │ ├── markers │ │ └── parsing │ │ │ ├── classDefinitionTypoErrorTest.kt │ │ │ ├── missingClosingBraceErrorTest.kt │ │ │ ├── missingClosingBraceErrorTest.kt.after │ │ │ ├── missingFunctionBodyErrorTest.kt │ │ │ ├── excessBraceTypingErrorTest.kt │ │ │ ├── classDefinitionTypoErrorTest.kt.after │ │ │ ├── missingFunctionBodyErrorTest.kt.after │ │ │ └── excessBraceTypingErrorTest.kt.after │ ├── findUsages │ │ ├── kotlin │ │ │ ├── findFunctionUsages │ │ │ │ ├── kotlinMultiRefInImport.results.txt │ │ │ │ ├── kotlinMethodUsages.results.txt │ │ │ │ └── javaMethodUsages.results.txt │ │ │ ├── findPrimaryConstructorUsages │ │ │ │ ├── primaryConstructorByRef.results.txt │ │ │ │ └── primaryConstructorWithKeyword.results.txt │ │ │ └── findObjectUsages │ │ │ │ ├── kotlinObjectUsages.results.txt │ │ │ │ ├── javaObjectUsages.results.txt │ │ │ │ ├── kotlinNestedObjectUsages.results.txt │ │ │ │ └── javaObjectUsages.0.kt │ │ └── java │ │ │ ├── JKDerivedInterfaces.results.txt │ │ │ ├── JKClassDerivedObjects.1.kt │ │ │ ├── JKClassDerivedClasses.results.txt │ │ │ ├── JKClassDerivedObjects.results.txt │ │ │ ├── JKClassDerivedInnerClasses.results.txt │ │ │ ├── JKClassDerivedInnerObjects.results.txt │ │ │ ├── JKClassDerivedLocalClasses.results.txt │ │ │ ├── JKClassDerivedLocalObjects.results.txt │ │ │ ├── JKClassDerivedAnonymousObjects.results.txt │ │ │ ├── JKDerivedInterfaces.0.java │ │ │ ├── JKDerivedInterfaces.1.kt │ │ │ ├── JKClassDerivedClasses.1.kt │ │ │ ├── JKClassDerivedClasses.0.java │ │ │ ├── JKClassDerivedObjects.0.java │ │ │ ├── JKClassDerivedInnerClasses.0.java │ │ │ ├── JKClassDerivedInnerObjects.0.java │ │ │ ├── JKClassDerivedLocalClasses.0.java │ │ │ ├── JKClassDerivedLocalObjects.0.java │ │ │ └── JKClassDerivedAnonymousObjects.0.java │ ├── scripts │ │ └── templates │ │ │ ├── customEPResolver.kts │ │ │ └── standard.kts │ ├── diagnostics │ │ └── resolveConstructor.kt │ └── compiler │ │ └── diagnostics │ │ └── tests │ │ └── ResolveToJava.txt └── plugin.xml ├── kotlin-weaving-feature └── build.properties ├── kotlin-eclipse-core └── src │ └── org │ └── jetbrains │ └── kotlin │ └── core │ ├── compiler │ └── KotlinCompiler2.java │ └── utils │ └── genericUtils.kt ├── kotlin-eclipse-aspects └── build.properties ├── kotlin-eclipse-ui ├── icons │ ├── kotlin.png │ ├── julaunch.gif │ ├── kotlin-file.gif │ ├── newenum_wiz.gif │ ├── newfile_wiz.gif │ ├── newint_wiz.gif │ ├── newobj_wiz.gif │ ├── newclass_wiz.gif │ └── newprj_kotlin_wiz.gif └── src │ └── org │ └── jetbrains │ └── kotlin │ └── preferences │ └── views │ └── Validable.kt ├── kotlin-bundled-compiler ├── src │ └── com │ │ └── intellij │ │ ├── openapi │ │ ├── editor │ │ │ └── Editor.java │ │ ├── fileTypes │ │ │ └── StdFileTypes.java │ │ └── extensions │ │ │ └── ExtensionException.kt │ │ └── util │ │ └── containers │ │ └── LinkedMultiMap.java └── gradle │ └── wrapper │ └── gradle-wrapper.jar ├── kotlin-eclipse-gradle-model ├── gradle │ └── wrapper │ │ └── gradle-wrapper.jar └── build.properties ├── kotlin-eclipse-gradle └── build.properties └── kotlin-eclipse-maven └── build.properties /.gitattributes: -------------------------------------------------------------------------------- 1 | **/testData/** linguist-vendored 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-policy/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/sampleTest.kt: -------------------------------------------------------------------------------- 1 | abc -------------------------------------------------------------------------------- /kotlin-weaving-feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/kotlinFromJava/Bar.kt: -------------------------------------------------------------------------------- 1 | class Bar -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/beforeCloseBrace.kt: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/textWithTokenBetween.kt: -------------------------------------------------------------------------------- 1 | sinus -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/textWithTokenInPrefix.kt: -------------------------------------------------------------------------------- 1 | inprefix -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/textWithTokenInSuffix.kt: -------------------------------------------------------------------------------- 1 | main -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterOneOpenBrace.kt: -------------------------------------------------------------------------------- 1 | fun tt(){ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesOnOneLine.kt: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/sampleTest.after.kt: -------------------------------------------------------------------------------- 1 | ab 2 | c -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/forKeyword.kt: -------------------------------------------------------------------------------- 1 | for -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/inKeyword.kt: -------------------------------------------------------------------------------- 1 | in -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterFunCallInScript.kts: -------------------------------------------------------------------------------- 1 | println() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/stringToken.kt: -------------------------------------------------------------------------------- 1 | "Hello" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/nonImportedByCamelCase.kt: -------------------------------------------------------------------------------- 1 | val k: ArrList -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/beforeCloseBrace.after.kt: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/beforeFunctionStart.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/continuationBeforeFunName.kt: -------------------------------------------------------------------------------- 1 | fun test() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/importKeyword.kt: -------------------------------------------------------------------------------- 1 | import some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/keywordWithText.kt: -------------------------------------------------------------------------------- 1 | in some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterFunCallInScript.after.kts: -------------------------------------------------------------------------------- 1 | println() 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterOneOpenBrace.after.kt: -------------------------------------------------------------------------------- 1 | fun tt(){ 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/initIndent.kt: -------------------------------------------------------------------------------- 1 | class Test { 2 | init { 3 | val a = 1 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/singleLineComment.kt: -------------------------------------------------------------------------------- 1 | // abc def -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/importOneClass.kt: -------------------------------------------------------------------------------- 1 | fun test(s: ArrayList) { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFun/before/Some.kt: -------------------------------------------------------------------------------- 1 | fun test() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/localJavaClassAutoImport/Bar.kt: -------------------------------------------------------------------------------- 1 | fun test() = Foo -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/completeNonImported.kt: -------------------------------------------------------------------------------- 1 | fun test(k: Vect) { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/beforeFunctionStart.after.kt: -------------------------------------------------------------------------------- 1 | 2 | fun tt() { 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesOnOneLine.after.kt: -------------------------------------------------------------------------------- 1 | { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/lineBreakSaveIndent.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinClass/Bar.kt.after: -------------------------------------------------------------------------------- 1 | class SomeKotlin -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/localJavaEnumAutoImport/Bar.kt: -------------------------------------------------------------------------------- 1 | fun test() = FooEnum -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesOnDifferentLine.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/checkExistancePackageLevelFunctions/Bar.kt: -------------------------------------------------------------------------------- 1 | fun topLevel1() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/checkExistancePackageLevelFunctions/Baz.kt: -------------------------------------------------------------------------------- 1 | fun topLevel2() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClassFromJava/before/KotlinCls.kt: -------------------------------------------------------------------------------- 1 | class KotlinCls -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/SimpleStringLiteral/0.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelValImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | foo 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/scripts/absentMainTemplate.kts: -------------------------------------------------------------------------------- 1 | mai 2 | 3 | // ABSENT: main -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/continuationBeforeFunName.after.kt: -------------------------------------------------------------------------------- 1 | fun 2 | test() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/blockComment.kt: -------------------------------------------------------------------------------- 1 | /* test 2 | 3 | test 4 | 5 | */ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/interfaceKeyword.kt: -------------------------------------------------------------------------------- 1 | interface Some { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/openKeyword.kt: -------------------------------------------------------------------------------- 1 | open class Some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/checkAnalyzerFoundError.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | prin() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/replaceGetOrSet/replaceGetInScript.kts.after: -------------------------------------------------------------------------------- 1 | val p = listOf(1, 2) 2 | p[0] -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/scripts/basic/toFunction.kts: -------------------------------------------------------------------------------- 1 | fun someFun() { 2 | } 3 | 4 | someFun() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/scripts/basic/toVariable.kts: -------------------------------------------------------------------------------- 1 | var sample = 10 2 | 3 | println(sample) -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClassFromJava/after/KotlinCls.kt: -------------------------------------------------------------------------------- 1 | class KotlinRenamedCls -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFun/after/Some.kt: -------------------------------------------------------------------------------- 1 | fun kotlinRenamedTest() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral1/0.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa $x bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral2/0.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa $x bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TemplateStringLiteral/0.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionValImport/other.kt: -------------------------------------------------------------------------------- 1 | package other 2 | 3 | val Int.foo = this -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/functionReferenceImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | ::foo 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/importWithExtraBreaklineWithoutPackage.kt: -------------------------------------------------------------------------------- 1 | fun test() = Vector -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/localJavaInterfaceAutoImport/Bar.kt: -------------------------------------------------------------------------------- 1 | fun test() = FooInterface -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/propertyReferenceImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | ::foo 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterOperatorIfWithoutBraces.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | if (true) 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/lineBreakSaveIndent.after.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | 3 | 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/initIndent.kt.after: -------------------------------------------------------------------------------- 1 | class Test { 2 | init { 3 | val a = 1 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/softImportKeyword.kt: -------------------------------------------------------------------------------- 1 | class some { 2 | import 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/unresolvedPackageType/Bar.kt: -------------------------------------------------------------------------------- 1 | package org.jet 2 | 3 | fun hello() { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/convertToExpressionBody/funWithReturn.kt.after: -------------------------------------------------------------------------------- 1 | fun foo(): String = "abc" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/replaceGetOrSet/replaceGetInScript.kts: -------------------------------------------------------------------------------- 1 | val p = listOf(1, 2) 2 | p.get(0) -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/markers/parsing/classDefinitionTypoErrorTest.kt: -------------------------------------------------------------------------------- 1 | package parsingMarkers 2 | 3 | clas Foo -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/markers/parsing/missingClosingBraceErrorTest.kt: -------------------------------------------------------------------------------- 1 | package parsingMarkers 2 | 3 | fun foo() { -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renameInScriptLocally/after/main.kts: -------------------------------------------------------------------------------- 1 | fun renamedFun() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renameInScriptLocally/after/other.kts: -------------------------------------------------------------------------------- 1 | fun sampleFun() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renameInScriptLocally/before/main.kts: -------------------------------------------------------------------------------- 1 | fun sampleFun() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renameInScriptLocally/before/other.kts: -------------------------------------------------------------------------------- 1 | fun sampleFun() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral3/0.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-core/src/org/jetbrains/kotlin/core/compiler/KotlinCompiler2.java: -------------------------------------------------------------------------------- 1 | package org.jetbrains.kotlin.core.compiler; 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/classNestedInClassImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | Bar() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/classNestedInObjectImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | Bar() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/importWithExtraBreakline.kt: -------------------------------------------------------------------------------- 1 | package testing 2 | fun test() = Vector -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelFunctionImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | foo() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelInvokableValImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | foo() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/NoCompletionAfterBigFloat.kt: -------------------------------------------------------------------------------- 1 | val a = 1.0F 2 | 3 | // NUMBER: 0 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/NoCompletionAfterFloat.kt: -------------------------------------------------------------------------------- 1 | val a = 1.0f 2 | 3 | // NUMBER: 0 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/NoCompletionAfterLong.kt: -------------------------------------------------------------------------------- 1 | val a = 1L 2 | 3 | // NUMBER: 0 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/scripts/argsCompletion.kts: -------------------------------------------------------------------------------- 1 | println(args.size) 2 | 3 | // EXIST: args -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/kotlin/findFunctionUsages/kotlinMultiRefInImport.results.txt: -------------------------------------------------------------------------------- 1 | Function call 8 foo() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterOperatorWhileWithoutBraces.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | while (true) 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesOnDifferentLine.after.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | 3 | 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/packageFunctionsFormatTest.kt: -------------------------------------------------------------------------------- 1 | package format 2 | 3 | fun foo() { 4 | val s = "" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/afterFunctionName.kt: -------------------------------------------------------------------------------- 1 | fun fnName {} 2 | 3 | // TYPE: Some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/beforeFunctionName.kt: -------------------------------------------------------------------------------- 1 | fun fnName() {} 2 | 3 | // TYPE: some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/javaFromKotlin/Foo.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | public class Foo { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/kotlinInPackageFromJava/K1.kt: -------------------------------------------------------------------------------- 1 | package org.jetbrains.kotlin.test 2 | 3 | class Some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/kotlinJavaKotlin/K1.kt: -------------------------------------------------------------------------------- 1 | open class KFirst() { 2 | fun foo() { 3 | } 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/packageLevelPropertiesFromJava/Bar.kt: -------------------------------------------------------------------------------- 1 | val x = 123 2 | val inc = { n: Int -> n + 1 } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/src/packagefacade/first.kt: -------------------------------------------------------------------------------- 1 | package packagefacade 2 | 3 | fun firstFileFun() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/src/packagefacade/second.kt: -------------------------------------------------------------------------------- 1 | package packagefacade 2 | 3 | fun secondFileFun() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/scripts/basic/toFunction.kts.after: -------------------------------------------------------------------------------- 1 | fun someFun() { 2 | } 3 | 4 | someFun() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/scripts/basic/toVariable.kts.after: -------------------------------------------------------------------------------- 1 | var sample = 10 2 | 3 | println(sample) -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFunFromJava/after/KotlinCls.kt: -------------------------------------------------------------------------------- 1 | fun renamedFun() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TemplateStringLiteral/0.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-aspects/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | . 5 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/functionReferenceImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | fun foo() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/oneStandardVectorAutoImport.kt: -------------------------------------------------------------------------------- 1 | fun test() = Vector 2 | 3 | // NUMBER: 1 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelFunctionValImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | foo() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelValImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | val foo = 7 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/BasicAny.kt: -------------------------------------------------------------------------------- 1 | fun some() { 2 | var a : A 3 | } 4 | 5 | // EXIST: Any -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/NoEmptyPackage.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | 3 | } 4 | 5 | // ABSENT: "" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/scripts/classFromJRE.kts: -------------------------------------------------------------------------------- 1 | StringBuilder().toStr 2 | 3 | // EXIST: toString -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKDerivedInterfaces.results.txt: -------------------------------------------------------------------------------- 1 | Unclassified usage (3: 18) public interface T: A 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterOpenBraceWithShift.kt: -------------------------------------------------------------------------------- 1 | data class User( 2 | val name: String) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/indentInDoWhile.kt: -------------------------------------------------------------------------------- 1 | fun aa() { 2 | do { 3 | println("some") 4 | } while (true) 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/illegalCharactersAfter.kt: -------------------------------------------------------------------------------- 1 | fun fnName() {} 2 | 3 | // TYPE: /+- -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/illegalCharactersAfter.kt.after: -------------------------------------------------------------------------------- 1 | fun fnName/+-() {} 2 | 3 | // TYPE: /+- -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/illegalCharactersBefore.kt: -------------------------------------------------------------------------------- 1 | fun fnName() {} 2 | 3 | // TYPE: /+- -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/illegalCharactersBefore.kt.after: -------------------------------------------------------------------------------- 1 | fun /+-fnName() {} 2 | 3 | // TYPE: /+- -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/analyzerHasKotlinRuntime.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | println("Some") 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/javaFromKotlin/Bar.kt: -------------------------------------------------------------------------------- 1 | package testing 2 | 3 | fun foo() { 4 | val x = Foo() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/kotlinJavaKotlin/J1.java: -------------------------------------------------------------------------------- 1 | public class J1 extends KFirst { 2 | void baz() {} 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/toKotlinClassNavigation/Bar.kt: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | public open class Bar : Foo() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/toKotlinMethodNavigation/Bar.kt: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | public open class Bar : Foo() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/includeImportsOnlyFromActiveFile/Baz.kt: -------------------------------------------------------------------------------- 1 | fun callFromBaz(l: ArrayList) { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaStaticMethod/before/Some.kt: -------------------------------------------------------------------------------- 1 | fun ktTest() { 2 | SomeJava.test() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFunFromJava/before/KotlinCls.kt: -------------------------------------------------------------------------------- 1 | fun kotlinTopLevelFun() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/SimpleStringLiteral/1.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/SimpleStringLiteral/2.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ShiftOnWhitespace/0.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TypeParameters/0.kt: -------------------------------------------------------------------------------- 1 | fun <A, B> foo() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TypeParameters/1.kt: -------------------------------------------------------------------------------- 1 | fun <A, B> foo() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TypeParameters/2.kt: -------------------------------------------------------------------------------- 1 | fun <A, B> foo() { 2 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui/icons/kotlin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-ui/icons/kotlin.png -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionOperatorImport/other1.kt: -------------------------------------------------------------------------------- 1 | package other1 2 | 3 | fun String.div(a: Int) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/localJavaClassAutoImport/Bar.kt.after: -------------------------------------------------------------------------------- 1 | import testing.Foo 2 | 3 | fun test() = Foo -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelFunctionImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | fun foo() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/propertyReferenceImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | val foo = null -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/BasicInt.kt: -------------------------------------------------------------------------------- 1 | fun some() { 2 | var a : In 3 | } 4 | 5 | // EXIST: Int -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesWithSpacesMiddle.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1).filter { } 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/newLineAfterImportsAndPackage.kt: -------------------------------------------------------------------------------- 1 | package some 2 | import hello 3 | import other 4 | fun test() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/packageFunctionsFormatTest.kt.after: -------------------------------------------------------------------------------- 1 | package format 2 | 3 | fun foo() { 4 | val s = "" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/afterFunctionName.kt.after: -------------------------------------------------------------------------------- 1 | fun fnNameSome {} 2 | 3 | // TYPE: Some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/insideHighlightedPosition.kt: -------------------------------------------------------------------------------- 1 | fun fnName() {} 2 | 3 | // TYPE: some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/convertToExpressionBody/funWithReturn.kt: -------------------------------------------------------------------------------- 1 | fun foo(): String { 2 | return "abc" 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFilePart/Baz.kt.after: -------------------------------------------------------------------------------- 1 | package org.jet 2 | 3 | fun someOne() { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/toJavaClassNavigation/Bar.kt.before: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | public class Bar : Foo() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/toKotlinClassNavigation/Foo.kt.after: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | public open class Foo -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ShiftOnWhitespace/0.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/NonTraversableElement/0.kt: -------------------------------------------------------------------------------- 1 | val property: String = "Non-traversable test" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ShiftOnWhitespace/0.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui/icons/julaunch.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-ui/icons/julaunch.gif -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionFunctionImport/other.kt: -------------------------------------------------------------------------------- 1 | package other 2 | 3 | operator fun Int.foo(a: String) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionInfixFunctionImport/other1.kt: -------------------------------------------------------------------------------- 1 | package other1 2 | 3 | fun Int.foo(a: String) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionValImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | val String.foo = this 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/functionExtensionValImport/other.kt: -------------------------------------------------------------------------------- 1 | package other 2 | 3 | val Int.foo: () -> Unit = {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/invokableExtensionValImport/other.kt: -------------------------------------------------------------------------------- 1 | package other 2 | 3 | val Int.foo: () -> Unit = {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/localJavaClassAutoImport/Foo.java: -------------------------------------------------------------------------------- 1 | package testing 2 | 3 | public class Foo { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/localJavaEnumAutoImport/Bar.kt.after: -------------------------------------------------------------------------------- 1 | import testing.FooEnum 2 | 3 | fun test() = FooEnum -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/unaryExtensionOperatorImport/other1.kt: -------------------------------------------------------------------------------- 1 | package other1 2 | 3 | fun String.unaryMinus() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/scripts/keywordsCompletion.kts: -------------------------------------------------------------------------------- 1 | if (123 i 2 | 3 | // EXIST: in, is 4 | // NOTHING_ELSE -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/filterTypesFromSamePackage.dependency.kt: -------------------------------------------------------------------------------- 1 | package org.jet 2 | 3 | class KotlinCompletionTest -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/nonImportedByCamelCase.kt.after: -------------------------------------------------------------------------------- 1 | import java.util.ArrayList 2 | 3 | val k: ArrayList -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/kotlin/findFunctionUsages/kotlinMethodUsages.results.txt: -------------------------------------------------------------------------------- 1 | Function call 5 Server().processRequest() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterOperatorIfWithoutBraces.after.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | if (true) 3 | 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesWithSpacesAtStart.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1).filter { } 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesWithSpacesEnd1.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1).filter { } 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesWithSpacesEnd2.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1).filter { } 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/breakLineAfterIfWithoutBraces.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | if (true) 3 | true 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/continuationAfterDotCall.kt: -------------------------------------------------------------------------------- 1 | fun some() { 2 | listOf(1, 2).map { it >= 2 } 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/indentBeforeWhile.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | val some = 1 3 | while (true) {} 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/indentInDoWhile.kt.after: -------------------------------------------------------------------------------- 1 | fun aa() { 2 | do { 3 | println("some") 4 | } while (true) 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/kdocBasic.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * some 3 | */ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/afterHighlightedPosition.kt: -------------------------------------------------------------------------------- 1 | fun fnName() { } 2 | 3 | // TYPE: println() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/beforeFunctionName.kt.after: -------------------------------------------------------------------------------- 1 | fun somefnName() {} 2 | 3 | // TYPE: some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/markers/parsing/missingClosingBraceErrorTest.kt.after: -------------------------------------------------------------------------------- 1 | package parsingMarkers 2 | 3 | fun foo() { -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/markers/parsing/missingFunctionBodyErrorTest.kt: -------------------------------------------------------------------------------- 1 | package parsingMarkers 2 | 3 | fun foo() = 4 | 5 | class Foo -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinObject/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | object KotlinObject -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toObjectInstance/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | object SomeObject -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/importOneClass.kt.after: -------------------------------------------------------------------------------- 1 | import java.util.ArrayList 2 | 3 | fun test(s: ArrayList) { 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/importSeveralClasses.kt: -------------------------------------------------------------------------------- 1 | fun test(s: ArrayList) { 2 | val k: HashSet? = null 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaStaticMethod/after/Some.kt: -------------------------------------------------------------------------------- 1 | fun ktTest() { 2 | SomeJava.javaRenamedTest() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ForRange/0.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | for (i in 1..10) { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral1/1.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa $x bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral1/2.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa $x bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral1/3.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa $x bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral2/1.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa $x bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral2/2.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa $x bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral2/3.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa $x bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral2/4.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa $x bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TypeParameters/0.kt: -------------------------------------------------------------------------------- 1 | fun B> foo() { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TypeParameters/1.kt: -------------------------------------------------------------------------------- 1 | fun <A, B> foo() { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TypeParameters/2.kt: -------------------------------------------------------------------------------- 1 | fun B> foo() { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TemplateStringLiteral/1.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TemplateStringLiteral/2.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TemplateStringLiteral/3.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TemplateStringLiteral/4.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TemplateStringLiteral/5.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/NonTraversableElement/0.kt: -------------------------------------------------------------------------------- 1 | val property: String = "Non-traversable test" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TypeParameters/0.kt: -------------------------------------------------------------------------------- 1 | fun C> foo() { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TypeParameters/1.kt: -------------------------------------------------------------------------------- 1 | fun B, C> foo() { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TypeParameters/2.kt: -------------------------------------------------------------------------------- 1 | fun <A, B, C> foo() { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TypeParameters/3.kt: -------------------------------------------------------------------------------- 1 | fun C> foo() { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui/icons/kotlin-file.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-ui/icons/kotlin-file.gif -------------------------------------------------------------------------------- /kotlin-eclipse-ui/icons/newenum_wiz.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-ui/icons/newenum_wiz.gif -------------------------------------------------------------------------------- /kotlin-eclipse-ui/icons/newfile_wiz.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-ui/icons/newfile_wiz.gif -------------------------------------------------------------------------------- /kotlin-eclipse-ui/icons/newint_wiz.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-ui/icons/newint_wiz.gif -------------------------------------------------------------------------------- /kotlin-eclipse-ui/icons/newobj_wiz.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-ui/icons/newobj_wiz.gif -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionFunctionImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | fun String.foo(a: Int) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionOperatorImport/other2.kt: -------------------------------------------------------------------------------- 1 | package other2 2 | 3 | operator fun Int.div(a: String) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionValImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | "".foo 3 | } 4 | 5 | // NUMBER: 1 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionValReferenceImport/other.kt: -------------------------------------------------------------------------------- 1 | package other 2 | 3 | operator fun Int.foo(a: String) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/importClassWithExistingPackageKeyword.kt: -------------------------------------------------------------------------------- 1 | package testing 2 | 3 | fun test() = Vector -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/importOnlyUnresolvedReferenceExpressions.kt: -------------------------------------------------------------------------------- 1 | // NUMBER: 0 2 | 3 | fun test() = Object -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/importOnlyUnresolvedReferenceExpressions.kt.after: -------------------------------------------------------------------------------- 1 | // NUMBER: 0 2 | 3 | fun test() = Object -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/localJavaEnumAutoImport/FooEnum.java: -------------------------------------------------------------------------------- 1 | package testing 2 | 3 | public enum FooEnum { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/sameProjectJavaClassAutoImport/Bar.kt: -------------------------------------------------------------------------------- 1 | package second 2 | 3 | public class Bar : Foo() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/completeNonImported.kt.after: -------------------------------------------------------------------------------- 1 | import java.util.Vector 2 | 3 | fun test(k: Vector) { 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/kotlin/findFunctionUsages/javaMethodUsages.results.txt: -------------------------------------------------------------------------------- 1 | Unclassified usage 5 new Server().processRequest(); -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterOperatorWhileWithoutBraces.after.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | while (true) 3 | 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/nestedOperatorsWithoutBraces.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | if (true) 3 | if (true) 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/insideHighlightedPosition.kt.after: -------------------------------------------------------------------------------- 1 | fun fnsomeName() {} 2 | 3 | // TYPE: some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/specifiedPackageLevelFunction/Bar.kt: -------------------------------------------------------------------------------- 1 | package org.jet 2 | 3 | fun someTwo() { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionInFilePart/Baz.kt.after: -------------------------------------------------------------------------------- 1 | package org.jet 2 | 3 | fun someOne() { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinClassInPackage/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinSuperClass/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | open class SomeKotlin -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfCondition/0.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (!a) { 3 | bar() 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral3/1.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral3/2.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral3/3.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral3/4.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TemplateStringLiteral3/5.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TemplateStringLiteral/1.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TemplateStringLiteral/2.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TemplateStringLiteral/3.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TemplateStringLiteral/4.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TemplateStringLiteral/5.kt: -------------------------------------------------------------------------------- 1 | val v = "aaa ${x + y} bbb" 2 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui/icons/newclass_wiz.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-ui/icons/newclass_wiz.gif -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionFunctionReferenceImport/other.kt: -------------------------------------------------------------------------------- 1 | package other 2 | 3 | operator fun Int.foo(a: String) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionInfixFunctionImport/other2.kt: -------------------------------------------------------------------------------- 1 | package other2 2 | 3 | infix fun String.foo(a: String) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionOperatorImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | "" / 27 3 | } 4 | 5 | // NUMBER: 1 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionValReferenceImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | fun String.foo(a: Int) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/functionReferenceImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | ::foo 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/importWithExtraBreaklineWithoutPackage.kt.after: -------------------------------------------------------------------------------- 1 | import java.util.Vector 2 | 3 | fun test() = Vector -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelValImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | foo 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/propertyReferenceImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | ::foo 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/unaryExtensionOperatorImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | - "" 3 | } 4 | 5 | // NUMBER: 1 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/NoCompletionAfterInt.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | val a = 10 3 | } 4 | 5 | // NUMBER: 0 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/functionWithLowerCase.kt: -------------------------------------------------------------------------------- 1 | fun someCase() { 2 | someca 3 | } 4 | 5 | // EXIST: someCase -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/scripts/functionFromStdlib.kts: -------------------------------------------------------------------------------- 1 | println(args.ma) 2 | 3 | // EXIST: map, mapNotNull, mapTo, max -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/scripts/typeFromRuntime.kts: -------------------------------------------------------------------------------- 1 | println(In) 2 | 3 | // EXIST: Int, IntArray, IntIterator, IntRange -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/afterOpenBraceWithShift.after.kt: -------------------------------------------------------------------------------- 1 | data class User( 2 | val name: String) { 3 | 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/formatScriptFile.kts: -------------------------------------------------------------------------------- 1 | with(Any()) { 2 | listOf( 1). apply { 3 | fun test(x:Int,s:String):Any=19 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/formatSelection.kt: -------------------------------------------------------------------------------- 1 | fun test1(x:Int,y:String) {} 2 | 3 | fun test2(x:Int):Int{return 1} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/lambdaInBlock.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1, 2).forEach { number -> 3 | println(number) 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/newLineAfterImportsAndPackage.kt.after: -------------------------------------------------------------------------------- 1 | package some 2 | 3 | import hello 4 | import other 5 | 6 | fun test() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/function.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | fun innerF() { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/beforeHighlightedPosition.kt: -------------------------------------------------------------------------------- 1 | 2 | val ktProperty = 10 3 | 4 | // TYPE: val test = 1 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/kotlinFromJava/Foo.java: -------------------------------------------------------------------------------- 1 | public class Foo { 2 | public void foo() { 3 | new Bar(); 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/packageLevelFunctionsFromJava/Bar.kt: -------------------------------------------------------------------------------- 1 | package kotlin.eclipse.ide 2 | 3 | fun some(n: Integer): String = "" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/changeReturnType/typeMismatchInReturnLambda.kt: -------------------------------------------------------------------------------- 1 | fun foo(): String { 2 | return 123.apply { } 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/changeReturnType/typeMismatchInReturnLambda.kt.after: -------------------------------------------------------------------------------- 1 | fun foo(): Int { 2 | return 123.apply { } 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/markers/parsing/excessBraceTypingErrorTest.kt: -------------------------------------------------------------------------------- 1 | package parsingMarkers 2 | 3 | fun foo() { 4 | } 5 | 6 | // TYPE: } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toBasicTopLevelProperty/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | val topLevelProp = 20 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/withinFileToClassNavigation.kt: -------------------------------------------------------------------------------- 1 | package temp 2 | 3 | fun test(t: BigTest) { 4 | } 5 | 6 | class BigTest -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ValueArguments/0.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ValueArguments/1.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ValueArguments/2.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ValueArguments/0.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2, 3) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ValueArguments/1.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2, 3) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ValueArguments/2.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2, 3) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ValueArguments/3.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2, 3) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ValueArguments/0.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2, 3) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ValueArguments/1.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2, 3) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ValueArguments/2.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2, 3) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ValueArguments/3.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo(1, 2, 3) 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-bundled-compiler/src/com/intellij/openapi/editor/Editor.java: -------------------------------------------------------------------------------- 1 | package com.intellij.openapi.editor; 2 | 3 | public class Editor { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/classNestedInClassImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | class Foo { 4 | class Bar 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionFunctionImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | "".foo(27) 3 | } 4 | 5 | // NUMBER: 1 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionFunctionReferenceImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | fun String.foo(a: Int) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionInfixFunctionImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | infix fun Int.foo(a: String) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionMethodInLambdaWithReceiverAmbigousImport/other.kt: -------------------------------------------------------------------------------- 1 | package other 2 | 3 | fun Int.foo(a: Int) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionOperatorImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | operator fun String.div(a: Int) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/functionExtensionValImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | "".foo() 3 | } 4 | 5 | // NUMBER: 1 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/invokableExtensionValImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | "".foo() 3 | } 4 | 5 | // NUMBER: 1 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/localJavaInterfaceAutoImport/Bar.kt.after: -------------------------------------------------------------------------------- 1 | import testing.FooInterface 2 | 3 | fun test() = FooInterface -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelFunctionImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | foo() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelFunctionValImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | val foo: () -> Unit = {} 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/unaryExtensionOperatorImport/other2.kt: -------------------------------------------------------------------------------- 1 | package other2 2 | 3 | operator fun BooleanArray.unaryMinus() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/filterTypesFromSamePackage.kt: -------------------------------------------------------------------------------- 1 | package org.jet 2 | 3 | fun foo() { 4 | KotlinCompletionTe 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/kotlin/findPrimaryConstructorUsages/primaryConstructorByRef.results.txt: -------------------------------------------------------------------------------- 1 | 4 A(0) 2 | 7 A(1) 3 | 11 A(1) 4 | 10 A() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/breakLineAfterIfWithoutBraces.after.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | if (true) 3 | true 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/indentBeforeWhile.after.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | val some = 1 3 | 4 | while (true) {} 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/newLineInParameters1.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | fun some(a: Int, b: Int) {} 3 | some(12, 3) 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/formatSelection.kt.after: -------------------------------------------------------------------------------- 1 | fun test1(x:Int,y:String) {} 2 | 3 | fun test2(x: Int): Int { 4 | return 1 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/indentInIfExpressionBlock.kt: -------------------------------------------------------------------------------- 1 | fun sm() { 2 | val aa = if (true) { 3 | 1 4 | } else { 5 | 2 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/lambdaInBlock.kt.after: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1, 2).forEach { number -> 3 | println(number) 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/stringInterpolation.kt: -------------------------------------------------------------------------------- 1 | val xyz = 10 2 | "test: $xyz" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/illegalCharactersBeforeHighlightedPosition.kt: -------------------------------------------------------------------------------- 1 | val someProperty = 10 2 | 3 | // TYPE: /-() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/kotlinJavaKotlin/K2.kt: -------------------------------------------------------------------------------- 1 | class K2: J1() { 2 | fun bar() { 3 | foo() 4 | baz() 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/unresolvedPackageType/Baz.kt: -------------------------------------------------------------------------------- 1 | package org.jet 2 | 3 | fun some() { 4 | JetPackage.hello() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/specifyType/StringRedefined.kt: -------------------------------------------------------------------------------- 1 | // "Specify type explicitly" "true" 2 | class String {} 3 | 4 | val x = "" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/markers/parsing/classDefinitionTypoErrorTest.kt.after: -------------------------------------------------------------------------------- 1 | package parsingMarkers 2 | 3 | clas Foo -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/specifiedPackageLevelFunction/Baz.kt.after: -------------------------------------------------------------------------------- 1 | package org.jet 2 | 3 | fun someOne() { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinTopLevelFunction/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | fun topLevelFun() { 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaClass/after/testing/NewName.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | public class NewName { 4 | } 5 | 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClass/after/RenameKotlinClass.kt: -------------------------------------------------------------------------------- 1 | package testing.rename 2 | 3 | public open class Third { 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfBody/0.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (a) { 3 | f() 4 | g() 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/SimpleStringLiteral2/0.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | println("foo bar") 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/NonTraversableElement/1.kt: -------------------------------------------------------------------------------- 1 | val property: String = "Non-traversable test" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/NonTraversableElement/2.kt: -------------------------------------------------------------------------------- 1 | val property: String = "Non-traversable test" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ShiftOnWhitespace/1.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TypeArguments/0.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo<Int, B>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TypeArguments/1.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo<Int, B>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TypeArguments/2.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foont, B>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui/icons/newprj_kotlin_wiz.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-ui/icons/newprj_kotlin_wiz.gif -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/classNestedInClassImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.Foo.Bar 2 | 3 | fun main() { 4 | Bar() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/classNestedInObjectImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | object Foo { 4 | class Bar 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/classNestedInObjectImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.Foo.Bar 2 | 3 | fun main() { 4 | Bar() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionInfixFunctionImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | 6 foo "bar" 3 | } 4 | 5 | // NUMBER: 1 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionValReferenceImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | String::foo 3 | } 4 | 5 | // NUMBER: 1 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/functionExtensionValImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | val String.foo: () -> Unit = {} 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/invokableExtensionValImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | val String.foo: () -> Unit = {} 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelFunctionValImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | foo() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelInvokableValImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | foo() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/unaryExtensionOperatorImport/other3.kt: -------------------------------------------------------------------------------- 1 | package other2 2 | 3 | operator fun String.minus(other: String) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/NoTopLevelCompletionInQualifiedUserTypes.kt: -------------------------------------------------------------------------------- 1 | class Test : java.lang.A 2 | 3 | // ABSENT: Annotation -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/kotlin/findPrimaryConstructorUsages/primaryConstructorWithKeyword.results.txt: -------------------------------------------------------------------------------- 1 | 4 A(0) 2 | 7 A(1) 3 | 11 A(1) 4 | 10 A() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesWithSpacesEnd1.after.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1).filter { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesWithSpacesEnd2.after.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1).filter { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesWithSpacesMiddle.after.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1).filter { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/continuationAfterDotCall.after.kt: -------------------------------------------------------------------------------- 1 | fun some() { 2 | listOf(1, 2). 3 | map { it >= 2 } 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/indentInWhenEntry.kt: -------------------------------------------------------------------------------- 1 | fun a() { 2 | when (1) { 3 | is Int { 4 | println() 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/afterHighlightedPosition.kt.after: -------------------------------------------------------------------------------- 1 | fun fnName() { println() } 2 | 3 | // TYPE: println() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/specifyType/StringRedefined.kt.after: -------------------------------------------------------------------------------- 1 | // "Specify type explicitly" "true" 2 | class String {} 3 | 4 | val x: String = "" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/markers/parsing/missingFunctionBodyErrorTest.kt.after: -------------------------------------------------------------------------------- 1 | package parsingMarkers 2 | 3 | fun foo() = 4 | 5 | class Foo -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/fromSyntheticPropertyOnlyWithGetter/Bar.kt.before: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | fun some() { 4 | Foo().bar 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toParametrizedFunction/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | fun withType(id: T): T = id -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/withinFileToClassNavigation.kt.after: -------------------------------------------------------------------------------- 1 | package temp 2 | 3 | fun test(t: BigTest) { 4 | } 5 | 6 | class BigTest -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/includeImportsOnlyFromActiveFile/Bar.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | val s: HashSet? = null 3 | callFromBaz() 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaClass/before/testing/SomeClass.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | public class SomeClass { 4 | } 5 | 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaClassSamePackage/after/testing/NewName.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | class NewName { 4 | } 5 | 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClass/before/RenameKotlinClass.kt: -------------------------------------------------------------------------------- 1 | package testing.rename 2 | 3 | public open class First { 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/simple/after/main.kt: -------------------------------------------------------------------------------- 1 | class Bar 2 | 3 | fun main(args : Array) { 4 | println(Bar().hashCode()) 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ShiftOnWhitespace/1.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TypeArguments/0.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo<Int, B>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TypeArguments/1.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo<Int, B>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/TypeArguments/2.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foont, B>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ValueParameters/0.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ValueParameters/1.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ValueParameters/2.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/NonTraversableElement/1.kt: -------------------------------------------------------------------------------- 1 | val property: String = "Non-traversable test" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/NonTraversableElement/2.kt: -------------------------------------------------------------------------------- 1 | val property: String = "Non-traversable test" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ShiftOnWhitespace/1.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TypeArguments/0.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | fooA>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TypeArguments/1.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | fooB, A>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TypeArguments/2.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | foo<Int, B, A>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/TypeArguments/3.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | fooA>() 3 | } 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionFunctionReferenceImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | String::foo 3 | } 4 | 5 | // NUMBER: 1 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionMethodInLambdaWithReceiverAmbigousImport/dependency2.kt: -------------------------------------------------------------------------------- 1 | package dependencies2 2 | 3 | fun foo(a: Int) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionMethodInLambdaWithReceiverImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | fun String.foo(a: Int) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/importWithExtraBreakline.kt.after: -------------------------------------------------------------------------------- 1 | package testing 2 | 3 | import java.util.Vector 4 | 5 | fun test() = Vector -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/localJavaInterfaceAutoImport/FooInterface.java: -------------------------------------------------------------------------------- 1 | package testing 2 | 3 | public interface FooInterface { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/oneStandardVectorAutoImport.kt.after: -------------------------------------------------------------------------------- 1 | import java.util.Vector 2 | 3 | fun test() = Vector 4 | 5 | // NUMBER: 1 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/unaryExtensionOperatorImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | operator fun String.unaryMinus() {} 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/SubpackageInFun.kt: -------------------------------------------------------------------------------- 1 | package Test.MyTest 2 | 3 | fun test() { 4 | Test. 5 | } 6 | 7 | // EXIST: MyTest -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/notImportedAnnotation.kt: -------------------------------------------------------------------------------- 1 | class FXMLClass 2 | 3 | fun foo() { 4 | @FX 5 | } 6 | 7 | // EXIST: FXML -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/filterTypesFromSamePackage.kt.after: -------------------------------------------------------------------------------- 1 | package org.jet 2 | 3 | fun foo() { 4 | KotlinCompletionTest 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedObjects.1.kt: -------------------------------------------------------------------------------- 1 | public interface T: A 2 | 3 | public object O1: A() 4 | 5 | public object O2: T 6 | 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/kotlin/findObjectUsages/kotlinObjectUsages.results.txt: -------------------------------------------------------------------------------- 1 | Receiver 7 println("foo = ${O.foo}") 2 | Value read 8 val obj = O 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/betweenBracesWithSpacesAtStart.after.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | listOf(1).filter { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/nestedOperatorsWithoutBraces.after.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | if (true) 3 | if (true) 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/newLineInParameters2.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | fun some(/*1*/a: Int, /*2*/b: Int) {} 3 | some(12, 3) 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/classesAndPropertiesFormatTest.kt: -------------------------------------------------------------------------------- 1 | package format 2 | 3 | class Foo { 4 | fun foo() { 5 | } 6 | 7 | val f: String? = null 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withoutComments.kt: -------------------------------------------------------------------------------- 1 | package org.jet.test 2 | 3 | class SimpleTest 4 | 5 | fun topLevelFun() { 6 | fun localFun() { 7 | } 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/markers/parsing/excessBraceTypingErrorTest.kt.after: -------------------------------------------------------------------------------- 1 | package parsingMarkers 2 | 3 | fun foo() { 4 | }} 5 | 6 | // TYPE: } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toParametrizedClass/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class KtWithTypes> -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/src/misplaced-source-folder/first/misplaced.kt: -------------------------------------------------------------------------------- 1 | package misplaced.first 2 | 3 | class ClassWithMisplacedIdenticalSource {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaClassSamePackage/before/testing/SomeClass.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | class SomeClass { 4 | } 5 | 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/simple/before/main.kt: -------------------------------------------------------------------------------- 1 | class Hello 2 | 3 | fun main(args : Array) { 4 | println(Hello().hashCode()) 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/scripts/templates/customEPResolver.kts: -------------------------------------------------------------------------------- 1 | val date = Date() 2 | 3 | val f: String = "" 4 | val s: Int = 12 5 | 6 | val l = listOf(1, 2) -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ForRange/1.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | for (i in 1..10) { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ForRange/2.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | for (i in 1..10) { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/ForRange/3.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | for (i in 1..10) { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ValueParameters/0.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int, c: String) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ValueParameters/1.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int, c: String) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ValueParameters/2.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int, c: String) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/ValueParameters/3.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int, c: String) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/sameProjectJavaClassAutoImport/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package second 2 | 3 | import first.Foo 4 | 5 | public class Bar : Foo() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/OneWithStarImport.kt: -------------------------------------------------------------------------------- 1 | import java.util.* 2 | 3 | val k: HashMap 4 | 5 | // EXIST: HashMap 6 | // NUMBER: 1 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/WithCompletedExpression.kt: -------------------------------------------------------------------------------- 1 | fun some() { 2 | some().hashCode() 3 | } 4 | 5 | // EXIST: equals, toString -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/paramsFunction.kt: -------------------------------------------------------------------------------- 1 | package somefortest 2 | 3 | fun test(a: Int) { 4 | } 5 | 6 | fun other() { 7 | tes 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/keywords/InFunctionTypePosition.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | val test : 3 | } 4 | 5 | // EXIST: suspend 6 | // NOTHING_ELSE 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/relevance/localBeforeNonImported.kt: -------------------------------------------------------------------------------- 1 | fun test(c: Dat) { 2 | } 3 | 4 | class DatK 5 | 6 | // ORDER: DatK 7 | // ORDER: Date -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedClasses.results.txt: -------------------------------------------------------------------------------- 1 | Unclassified usage 1 public open class X: A() 2 | Unclassified usage 3 public interface T: A -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedObjects.results.txt: -------------------------------------------------------------------------------- 1 | Unclassified usage 1 public interface T: A 2 | Unclassified usage 3 public object O1: A() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/nestedOperatorsWithBraces.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | if (true) { 3 | if (true) { 4 | } 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/formatScriptFile.kts.after: -------------------------------------------------------------------------------- 1 | with(Any()) { 2 | listOf(1).apply { 3 | fun test(x: Int, s: String): Any = 19 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/indentInIfExpressionBlock.kt.after: -------------------------------------------------------------------------------- 1 | fun sm() { 2 | val aa = if (true) { 3 | 1 4 | } else { 5 | 2 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/indentInWhenEntry.kt.after: -------------------------------------------------------------------------------- 1 | fun a() { 2 | when (1) { 3 | is Int { 4 | println() 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/beforeHighlightedPosition.kt.after: -------------------------------------------------------------------------------- 1 | val test = 1 2 | val ktProperty = 10 3 | 4 | // TYPE: val test = 1 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/positionUpdater/illegalCharactersBeforeHighlightedPosition.kt.after: -------------------------------------------------------------------------------- 1 | /-()val someProperty = 10 2 | 3 | // TYPE: /-() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/changeReturnType/changeReturnTypeInScript.kts: -------------------------------------------------------------------------------- 1 | fun testReturn(): List { 2 | return listOf(1, 2).toTypedArray() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/changeReturnType/changeReturnTypeInScript.kts.after: -------------------------------------------------------------------------------- 1 | fun testReturn(): Array { 2 | return listOf(1, 2).toTypedArray() 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinClass/Foo.java.before: -------------------------------------------------------------------------------- 1 | public class Foo { 2 | public void some() { 3 | new SomeKotlin(); 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinEnumClass/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | enum class KotlinEnum { 4 | ABC 5 | ABD 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toTopLevelPropertyWithGetter/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | val withGetter: Int 4 | get() = 10 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/src/misplaced-source-folder/second/misplaced.kt: -------------------------------------------------------------------------------- 1 | package misplaced.second 2 | 3 | class ClassWithMisplacedIdenticalSource {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/toJavaGetterMethod/Bar.kt.before: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | fun some() { 4 | val foo = Foo() 5 | foo.getBar() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/withinFileFromConstructorToClassNavigation.kt: -------------------------------------------------------------------------------- 1 | package temp 2 | 3 | fun test() { 4 | BigTest() 5 | } 6 | 7 | class BigTest -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/doNotInsertLinesForNoErrors.kt: -------------------------------------------------------------------------------- 1 | package some 2 | 3 | import java.util.ArrayList 4 | 5 | fun test(s: ArrayList) { 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/FunctionWithLineCommentAfter/0.kt: -------------------------------------------------------------------------------- 1 | fun a() : Int {} // fun a 2 | 3 | fun b() : Short { 4 | f() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfCondition/1.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (!a) { 3 | bar() 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfCondition/2.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (!a) { 3 | bar() 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfCondition/3.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (!a) { 3 | bar() 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ValueParameters/0.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int, c: String) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ValueParameters/1.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int, c: String) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ValueParameters/2.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int, c: String) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/ValueParameters/3.kt: -------------------------------------------------------------------------------- 1 | fun foo(a : Array, b : Int, c: String) { 2 | } 3 | -------------------------------------------------------------------------------- /kotlin-bundled-compiler/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-bundled-compiler/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionMethodInLambdaWithReceiverAmbigousImport/dependency1.kt: -------------------------------------------------------------------------------- 1 | package dependencies1 2 | 3 | fun String.foo(a: Int) {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/importClassWithExistingPackageKeyword.kt.after: -------------------------------------------------------------------------------- 1 | package testing 2 | 3 | import java.util.Vector 4 | 5 | fun test() = Vector -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/ExtensionToIntInFloatStyle.kt: -------------------------------------------------------------------------------- 1 | val Int.f: Float get() = this.toFloat() 2 | 3 | val test = 1. 4 | 5 | // EXIST: f -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/java/InPackage.kt: -------------------------------------------------------------------------------- 1 | package java.util. 2 | 3 | // EXIST: concurrent 4 | // ABSENT: AbstractList, Date, Random, import 5 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/insertFunctionWithSingleParameterWithBrace.kt: -------------------------------------------------------------------------------- 1 | fun some(f: () -> Unit) { f() } 2 | 3 | fun test() { 4 | some 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedInnerClasses.results.txt: -------------------------------------------------------------------------------- 1 | Unclassified usage 2 public open class X: A() 2 | Unclassified usage 4 public interface T: A -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedInnerObjects.results.txt: -------------------------------------------------------------------------------- 1 | Unclassified usage 2 public interface T: A 2 | Unclassified usage 4 public object O1: A() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedLocalClasses.results.txt: -------------------------------------------------------------------------------- 1 | Unclassified usage 2 public open class X: A() 2 | Unclassified usage 4 public interface T: A -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedLocalObjects.results.txt: -------------------------------------------------------------------------------- 1 | Unclassified usage 2 public interface T: A 2 | Unclassified usage 4 public object O1: A() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/kotlin/findObjectUsages/javaObjectUsages.results.txt: -------------------------------------------------------------------------------- 1 | Class static member access 7 System.out.println("foo = " + O.INSTANCE$.getFoo()); -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/newLineInParameters1.after.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | fun some(a: Int, b: Int) {} 3 | some( 4 | 12, 3) 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/objectsAndLocalFunctionsFormatTest.kt: -------------------------------------------------------------------------------- 1 | package format 2 | 3 | object Foo { 4 | fun foo() { 5 | fun localFoo() { 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/fromGetterSyntheticProperty/Bar.kt.before: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | fun some() { 4 | val foo = Foo() 5 | foo.bar 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toBasicProperty/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | val basicProp = 10 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/toKotlinClassNavigation/Baz.kt.before: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | public class Baz : Bar() 4 | 5 | fun test() { 6 | Foo() 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/toKotlinMethodNavigation/Foo.kt.after: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | public open class Foo { 4 | fun foo() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/doNotInsertLinesForNoErrors.kt.after: -------------------------------------------------------------------------------- 1 | package some 2 | 3 | import java.util.ArrayList 4 | 5 | fun test(s: ArrayList) { 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaInterface/after/testing/NewInterface.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | public interface NewInterface { 4 | } 5 | 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaInterface/before/testing/SomeInterface.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | public interface SomeInterface { 4 | } 5 | 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaStaticMethod/before/SomeJava.java: -------------------------------------------------------------------------------- 1 | public class SomeJava { 2 | static void test() { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/DocComment/0.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/WholeFile/0.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) 2 | { 3 | println("Whole file selection test!") 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/WholeFile/1.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) 2 | { 3 | println("Whole file selection test!") 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionOperatorImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.div 2 | 3 | fun main() { 4 | "" / 27 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionValImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | "".foo 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/AfterFloatOnNewLine.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | val some = 1 3 | val f = 1.0f 4 | som 5 | } 6 | 7 | // EXIST: some -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/ClassRedeclaration1.kt: -------------------------------------------------------------------------------- 1 | class A { 2 | fun f() : A 3 | } 4 | 5 | class A { 6 | fun f() : A 7 | } 8 | 9 | // EXIST: A -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/ClassRedeclaration2.kt: -------------------------------------------------------------------------------- 1 | class A { 2 | fun f() : A 3 | } 4 | 5 | class A { 6 | fun f() : A 7 | } 8 | 9 | // EXIST: A -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/completeWithExistingBraces.kt: -------------------------------------------------------------------------------- 1 | fun withoutParam() { 2 | } 3 | 4 | fun main(args : Array) { 5 | withoutPa() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/insertJavaMethodWithParam.kt: -------------------------------------------------------------------------------- 1 | import java.io.File 2 | 3 | fun test() { 4 | val f = File("testFile") 5 | f.equal 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/paramsFunction.kt.after: -------------------------------------------------------------------------------- 1 | package somefortest 2 | 3 | fun test(a: Int) { 4 | } 5 | 6 | fun other() { 7 | test() 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withParamsAndBraces.kt: -------------------------------------------------------------------------------- 1 | fun withParams(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args : Array) { 5 | withPar() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/relevance/sortingForNonImported.kt: -------------------------------------------------------------------------------- 1 | fun test(c: Date) { 2 | } 3 | 4 | // ORDER: Date 5 | // ORDER: DateDV 6 | // ORDER: DateFormat -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/diagnostics/resolveConstructor.kt: -------------------------------------------------------------------------------- 1 | // FILE: Aaa.java 2 | 3 | public class Aaa { 4 | } 5 | 6 | // FILE: bbb.kt 7 | 8 | fun Aaa.some(): Aaa = Aaa() 9 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/kotlin/findObjectUsages/kotlinNestedObjectUsages.results.txt: -------------------------------------------------------------------------------- 1 | Receiver 10 println("foo = ${a.O.foo}") 2 | Value read 11 val obj = a.O 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withoutComments.kt.after: -------------------------------------------------------------------------------- 1 | package org.jet.test 2 | 3 | class SimpleTest 4 | 5 | fun topLevelFun() { 6 | fun localFun() { 7 | } 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/highlightCompanionObject.kt: -------------------------------------------------------------------------------- 1 | class C { 2 | companion object { 3 | } 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/checkTestsFoundJavaError/J1.java: -------------------------------------------------------------------------------- 1 | public class J1 { 2 | public void foo() { 3 | new SomeTest(); 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/companionObjectFromJava/Bar.kt: -------------------------------------------------------------------------------- 1 | class Some { 2 | companion object { 3 | val bar = 1 4 | fun func() = "" 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/fromSetterSyntheticProperty/Bar.kt.before: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | fun some() { 4 | val foo = Foo() 5 | foo.bar = 3 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinFunction/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | fun some() { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/withinFileFromConstructorToClassNavigation.kt.after: -------------------------------------------------------------------------------- 1 | package temp 2 | 3 | fun test() { 4 | BigTest() 5 | } 6 | 7 | class BigTest -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/importSeveralClassesWithExistingPackage.kt: -------------------------------------------------------------------------------- 1 | package some 2 | 3 | fun test(s: ArrayList) { 4 | val k: HashSet? = null 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/scripts/templates/standard.kts: -------------------------------------------------------------------------------- 1 | // check that we load standard definition if there isn't any valid template provider 2 | 3 | val x = 10 4 | println(x) -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/DocComment/0.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfBody/1.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (a) { 3 | f() 4 | g() 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfBody/2.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (a) { 3 | f() 4 | g() 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfBody/3.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (a) { 3 | f() 4 | g() 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfBody/4.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (a) { 3 | f() 4 | g() 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/IfBody/5.kt: -------------------------------------------------------------------------------- 1 | fun foo() { 2 | if (a) { 3 | f() 4 | g() 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/SimpleStringLiteral2/1.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | println("foo bar") 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/SimpleStringLiteral2/2.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | println("foo bar") 3 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/DocComment/0.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/WholeFile/0.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) 2 | { 3 | println("Whole file selection test!") 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/WholeFile/1.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) 2 | { 3 | println("Whole file selection test!") 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-gradle-model/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bvfalcon/kotlin-eclipse-2024/HEAD/kotlin-eclipse-gradle-model/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionFunctionImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | "".foo(27) 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/insertFunctionWithSingleParameterWithBrace.kt.after: -------------------------------------------------------------------------------- 1 | fun some(f: () -> Unit) { f() } 2 | 3 | fun test() { 4 | some { } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/insertJavaMethodWithParam.kt.after: -------------------------------------------------------------------------------- 1 | import java.io.File 2 | 3 | fun test() { 4 | val f = File("testFile") 5 | f.equals() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withLambdaAndBraces.kt: -------------------------------------------------------------------------------- 1 | fun someFun(f: () -> Unit) { 2 | f() 3 | } 4 | 5 | fun main(args : Array) { 6 | someF { } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedAnonymousObjects.results.txt: -------------------------------------------------------------------------------- 1 | Unclassified usage 2 public interface T: A 2 | Unclassified usage 4 val a = object: A() {} 3 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/newLineInParameters2.after.kt: -------------------------------------------------------------------------------- 1 | fun test() { 2 | fun some(/*1*/a: Int, /*2*/b: Int) {} 3 | some(12, 4 | 3) 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/classesAndPropertiesFormatTest.kt.after: -------------------------------------------------------------------------------- 1 | package format 2 | 3 | class Foo { 4 | fun foo() { 5 | } 6 | 7 | val f: String? = null 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/kdocWithEmptyLines.kt: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | * some 4 | * 5 | 6 | */ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/kdocWithProperty.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * @property test 4 | */ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/implementMethods/implementMethodInScript.kts: -------------------------------------------------------------------------------- 1 | interface IntInScript { 2 | fun test() 3 | } 4 | 5 | println(object : IntInScript {}) -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinEnumEntry/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | enum class KotlinEnum { 4 | ABC, 5 | ABD, 6 | ABE 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/toJavaMethodNavigation/Bar.kt.before: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | public class Bar : Foo() 4 | 5 | fun test() { 6 | Bar().method() 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/toKotlinMethodNavigation/Baz.kt.before: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | public class Baz : Bar() 4 | 5 | fun test() { 6 | Baz().foo() 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaStaticMethod/after/SomeJava.java: -------------------------------------------------------------------------------- 1 | public class SomeJava { 2 | static void javaRenamedTest() { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renameFunctionInScript/info.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "testFun", 3 | "newName": "renamedFun", 4 | "mainFile": "main.kts" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renameInScriptLocally/info.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "sampleFun", 3 | "newName": "renamedFun", 4 | "mainFile": "main.kts" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/FunctionWithLineComments/0.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/FunctionWithLineComments/0.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionValReferenceImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | String::foo 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/functionExtensionValImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | "".foo() 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/invokableExtensionValImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | "".foo() 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/sameProjectJavaClassAutoImport/Foo.java: -------------------------------------------------------------------------------- 1 | package first; 2 | 3 | public class Foo { 4 | public int zero() { 5 | return 0; 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/unaryExtensionOperatorImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.unaryMinus 2 | 3 | fun main() { 4 | - "" 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/JavaPackage.kt: -------------------------------------------------------------------------------- 1 | package Tests 2 | 3 | class A : java. 4 | 5 | // EXIST: lang, util, io 6 | // ABSENT: fun, val, var, package 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/ObjectRedeclaration1.kt: -------------------------------------------------------------------------------- 1 | object A { 2 | fun f() : S 3 | } 4 | 5 | object A { 6 | fun f() : S 7 | } 8 | 9 | // EXIST: String -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/ObjectRedeclaration2.kt: -------------------------------------------------------------------------------- 1 | object A { 2 | fun f() : S 3 | } 4 | 5 | object A { 6 | fun f() : S 7 | } 8 | 9 | // EXIST: String -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/OneProposalWithExplicitImport.kt: -------------------------------------------------------------------------------- 1 | import java.util.ArrayList 2 | 3 | val k: HashMap 4 | 5 | // EXIST: HashMap 6 | // NUMBER: 1 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/completeWithExistingBraces.kt.after: -------------------------------------------------------------------------------- 1 | fun withoutParam() { 2 | } 3 | 4 | fun main(args : Array) { 5 | withoutParam() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withParamsAndBraces.kt.after: -------------------------------------------------------------------------------- 1 | fun withParams(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args : Array) { 5 | withParams() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKDerivedInterfaces.0.java: -------------------------------------------------------------------------------- 1 | // PSI_ELEMENT: com.intellij.psi.PsiClass 2 | // OPTIONS: derivedInterfaces 3 | public interface A { 4 | 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKDerivedInterfaces.1.kt: -------------------------------------------------------------------------------- 1 | public open class X: A 2 | 3 | public interface T: A 4 | 5 | public open class Y: X() 6 | 7 | public class Z: Y(), T -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/autoIndent/nestedOperatorsWithBraces.after.kt: -------------------------------------------------------------------------------- 1 | fun tt() { 2 | if (true) { 3 | if (true) { 4 | 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withMutableVariable.kt: -------------------------------------------------------------------------------- 1 | class C { 2 | var someProp: Int 3 | get() = throw UnsupportedOperationException() 4 | set(value) { 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/checkExistancePackageLevelFunctions/Foo.java: -------------------------------------------------------------------------------- 1 | class Foo { 2 | public void some() { 3 | BarKt.topLevel1(); 4 | BazKt.topLevel2(); 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/convertToExpressionBody/funWithNothingType.kt.after: -------------------------------------------------------------------------------- 1 | // WITH_RUNTIME 2 | 3 | fun foo(): Nothing = throw UnsupportedOperationException() 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/convertToExpressionBody/funWithUnitTypeWithThrow.kt.after: -------------------------------------------------------------------------------- 1 | // WITH_RUNTIME 2 | 3 | fun foo(): Unit = throw UnsupportedOperationException() 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionInObject/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | object KotlinObject { 4 | fun inObject() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClassByConstructorRef/after/main.kt: -------------------------------------------------------------------------------- 1 | fun main(args : Array) { 2 | println(Bar().hashCode()) 3 | } 4 | 5 | class Bar -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinMethod/after/RenameKotlinMethod.kt: -------------------------------------------------------------------------------- 1 | package testing.rename 2 | 3 | public open class C { 4 | public fun second() = 1 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinMethod/before/RenameKotlinMethod.kt: -------------------------------------------------------------------------------- 1 | package testing.rename 2 | 3 | public open class C { 4 | public fun first() = 1 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFun/before/SomeJava.java: -------------------------------------------------------------------------------- 1 | public class SomeJava { 2 | static void test() { 3 | SomeKt.test(); 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renameClassInScript/info.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "TestKClass", 3 | "newName": "RenamedKClass", 4 | "mainFile": "main.kts" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renamePropertyInScript/info.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "longVarName", 3 | "newName": "renamedName", 4 | "mainFile": "main.kts" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/FunctionWithLineCommentBefore/0.kt: -------------------------------------------------------------------------------- 1 | fun a() : Int {} 2 | 3 | // TODO: Refactor 4 | fun b() : Short { 5 | f() 6 | } 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/LineComment/0.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | class C{ 4 | // This is a val 5 | val v = 1 6 | 7 | fun foo(){} 8 | } 9 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/WholeFileSelection/0.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) 2 | { 3 | println("Whole file selection test!") 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/WholeFileSelection/1.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) 2 | { 3 | println("Whole file selection test!") 4 | } -------------------------------------------------------------------------------- /kotlin-eclipse-gradle/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | scripts/ 7 | 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionFunctionReferenceImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | String::foo 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionInfixFunctionImport/test.kt.after: -------------------------------------------------------------------------------- 1 | import dependencies.foo 2 | 3 | fun main() { 4 | 6 foo "bar" 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageArrayListAutoImport.kt: -------------------------------------------------------------------------------- 1 | public class ArrayList 2 | 3 | fun main(args: Array) { 4 | val list = ArrayList() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageArrayListAutoImport.kt.after: -------------------------------------------------------------------------------- 1 | public class ArrayList 2 | 3 | fun main(args: Array) { 4 | val list = ArrayList() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/InGlobalPropertyInitializer.kt: -------------------------------------------------------------------------------- 1 | val testing = 12 2 | val test = "Hello" 3 | 4 | val more = test 5 | 6 | // EXIST: test, testing 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/InPackageBegin.kt: -------------------------------------------------------------------------------- 1 | package kttesting.util 2 | 3 | // Test that there won't be package with completion fake suffix 4 | 5 | // NUMBER: 0 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/higherOrderFunctionWithArgs1.kt: -------------------------------------------------------------------------------- 1 | fun myfoo(p : (String, Char) -> Boolean){} 2 | 3 | fun main(args: Array) { 4 | myfo 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/unitFunctionOnDot.kt: -------------------------------------------------------------------------------- 1 | fun myFoo() { 2 | 3 | } 4 | 5 | fun main(args: Array) { 6 | myFo 7 | } 8 | 9 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withLambdaAndBraces.kt.after: -------------------------------------------------------------------------------- 1 | fun someFun(f: () -> Unit) { 2 | f() 3 | } 4 | 5 | fun main(args : Array) { 6 | someFun { } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedClasses.1.kt: -------------------------------------------------------------------------------- 1 | public open class X: A() 2 | 3 | public interface T: A 4 | 5 | public open class Y: X() 6 | 7 | public class Z: Y(), T -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/objectsAndLocalFunctionsFormatTest.kt.after: -------------------------------------------------------------------------------- 1 | package format 2 | 3 | object Foo { 4 | fun foo() { 5 | fun localFoo() { 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/convertToExpressionBody/funWithNothingType.kt: -------------------------------------------------------------------------------- 1 | // WITH_RUNTIME 2 | 3 | fun foo(): Nothing { 4 | throw UnsupportedOperationException() 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toMutablePropertyFromGetter/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | var mutableProp: Int = 1 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toMutablePropertyFromSetter/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | var mutableProp: Int = 1 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toPropertyWithGetter/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | val basicProp: Int 5 | get() = 20 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaStaticMethod/renameJavaStaticMethod.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "test", 3 | "newName": "javaRenamedTest", 4 | "mainFile": "Some.kt" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClassByConstructorRef/before/main.kt: -------------------------------------------------------------------------------- 1 | fun main(args : Array) { 2 | println(Hello().hashCode()) 3 | } 4 | 5 | class Hello -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinMethodFromJava/before/KotlinCls.kt: -------------------------------------------------------------------------------- 1 | class KotlinCls { 2 | fun methodFromKotlin() { 3 | methodFromKotlin() 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/FunctionWithLineCommentAfter/1.kt: -------------------------------------------------------------------------------- 1 | fun a() : Int {} // fun a 2 | 3 | fun b() : Short { 4 | f() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/FunctionWithLineCommentAfter/2.kt: -------------------------------------------------------------------------------- 1 | fun a() : Int {} // fun a 2 | 3 | fun b() : Short { 4 | f() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/FunctionWithLineCommentAfter/3.kt: -------------------------------------------------------------------------------- 1 | fun a() : Int {} // fun a 2 | 3 | fun b() : Short { 4 | f() 5 | } -------------------------------------------------------------------------------- /kotlin-bundled-compiler/src/com/intellij/util/containers/LinkedMultiMap.java: -------------------------------------------------------------------------------- 1 | package com.intellij.util.containers; 2 | 3 | @Deprecated 4 | public class LinkedMultiMap extends MultiMap { 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/unitFunctionOnBracket.kt: -------------------------------------------------------------------------------- 1 | fun myFoo() { 2 | 3 | } 4 | 5 | fun main(args: Array) { 6 | myFo 7 | } 8 | 9 | // COMPLETION_CHAR: ( -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/kdocWithMyTag.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * @myTag test 4 | */ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt: -------------------------------------------------------------------------------- 1 | // WITH_RUNTIME 2 | 3 | fun foo() { 4 | throw UnsupportedOperationException() 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/convertToExpressionBody/funWithImplicitUnitTypeWithThrow.kt.after: -------------------------------------------------------------------------------- 1 | // WITH_RUNTIME 2 | 3 | fun foo(): Unit = throw UnsupportedOperationException() 4 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/convertToExpressionBody/funWithUnitTypeWithThrow.kt: -------------------------------------------------------------------------------- 1 | // WITH_RUNTIME 2 | 3 | fun foo(): Unit { 4 | throw UnsupportedOperationException() 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/class.kt: -------------------------------------------------------------------------------- 1 | import testpackage.SimpleClass 2 | val x: SimpleClass? = null 3 | // SRC: testpackage/testfile.kt 4 | // TARGET: (testpackage).SimpleClass -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/includeImportsOnlyFromActiveFile/Bar.kt.after: -------------------------------------------------------------------------------- 1 | import java.util.HashSet 2 | 3 | fun test() { 4 | val s: HashSet? = null 5 | callFromBaz() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClass/javaWrapperForKotlinClass.test: -------------------------------------------------------------------------------- 1 | { 2 | "type": "JAVA_CLASS", 3 | "classId": "testing/rename/First", 4 | "newName": "Third" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFun/after/SomeJava.java: -------------------------------------------------------------------------------- 1 | public class SomeJava { 2 | static void test() { 3 | SomeKt.kotlinRenamedTest(); 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFun/renameKotlinTopLevelFun.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "test", 3 | "newName": "kotlinRenamedTest", 4 | "mainFile": "Some.kt" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFunFromJava/after/JavaUsage.java: -------------------------------------------------------------------------------- 1 | class JavaUsage { 2 | public void foo() { 3 | KotlinClsKt.renamedFun(); 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/DocComment/1.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/DocComment/2.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/DocComment/3.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/DocComment/4.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/DocComment/1.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/DocComment/2.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/DocComment/3.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/DocComment/4.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/extensionMethodInLambdaWithReceiverImport/test.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | with("") { 3 | foo(27) 4 | } 5 | } 6 | 7 | // NUMBER: 1 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/java/AutoForceCompletion.kt: -------------------------------------------------------------------------------- 1 | fun some(a : Statement) 2 | 3 | // INVOCATION_COUNT: 1 4 | // EXIST: { lookupString:"Statement", tailText:" (java.sql)" } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/functionWithParamOnDot.kt: -------------------------------------------------------------------------------- 1 | fun myFoo(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args: Array) { 5 | myFo 6 | } 7 | 8 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/higherOrderFunctionWithArgs1.kt.after: -------------------------------------------------------------------------------- 1 | fun myfoo(p : (String, Char) -> Boolean){} 2 | 3 | fun main(args: Array) { 4 | myfoo() 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/unitFunctionOnBracket.kt.after: -------------------------------------------------------------------------------- 1 | fun myFoo() { 2 | 3 | } 4 | 5 | fun main(args: Array) { 6 | myFoo() 7 | } 8 | 9 | // COMPLETION_CHAR: ( -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/unitFunctionOnDot.kt.after: -------------------------------------------------------------------------------- 1 | fun myFoo() { 2 | 3 | } 4 | 5 | fun main(args: Array) { 6 | myFoo(). 7 | } 8 | 9 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withMutableVariable.kt.after: -------------------------------------------------------------------------------- 1 | class C { 2 | var someProp: Int 3 | get() = throw UnsupportedOperationException() 4 | set(value) { 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/getterSetter.kt: -------------------------------------------------------------------------------- 1 | class Cl { 2 | var x: Int = 1 3 | set() = 2 4 | get() 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/kdocWithSee.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * @see NotComent text 4 | */ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/softKeywords.kt: -------------------------------------------------------------------------------- 1 | import some 2 | 3 | open abstract class Cls { 4 | import 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toInnerKotlinEnumClass/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class ForEnum { 4 | enum class KotlinEnum { 5 | ABC 6 | ABD 7 | } 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toInnerKotlinEnumEntry/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class ForEnum { 4 | enum class KotlinEnum { 5 | ABC 6 | ABD 7 | } 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClassByConstructorRef/renameKotlinClassByConstructorRef.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "Hello", 3 | "newName": "Bar", 4 | "mainFile": "main.kt" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClassFromJava/before/JavaUsage.java: -------------------------------------------------------------------------------- 1 | class JavaUsage { 2 | public void foo() { 3 | KotlinCls cls = new KotlinCls(); 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinMethodFromJava/after/KotlinCls.kt: -------------------------------------------------------------------------------- 1 | class KotlinCls { 2 | fun renamedMethodFromKotlin() { 3 | renamedMethodFromKotlin() 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/simple/info.test: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KOTLIN_FUNCTION", 3 | "classId": "/A", 4 | "oldName": "Hello", 5 | "newName": "Bar", 6 | "mainFile": "main.kt" 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/DocComment/1.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/DocComment/2.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/DocComment/3.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | /** 4 | * Doc comment here 5 | */ 6 | fun foo() { 7 | } 8 | 9 | fun bar(){} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/SimpleComment/0.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | fun1() 3 | //this is a standalone comment 4 | 5 | fun2() 6 | } 7 | fun fun1() {} 8 | fun fun2() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/FunctionWithLineComments/1.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/FunctionWithLineComments/2.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/FunctionWithLineComments/3.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/FunctionWithLineComments/4.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-core/src/org/jetbrains/kotlin/core/utils/genericUtils.kt: -------------------------------------------------------------------------------- 1 | package org.jetbrains.kotlin.core.utils 2 | 3 | fun pairOfNotNulls(first: T?, second: S?): Pair? = second?.let { first?.to(it) } -------------------------------------------------------------------------------- /kotlin-eclipse-maven/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | lifecycle-mapping-metadata.xml 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/VariableWithLowerCase.kt: -------------------------------------------------------------------------------- 1 | package some; 2 | 3 | public fun testSome() { 4 | val smallBig = 10 5 | smallbi 6 | } 7 | 8 | // EXIST: smallBig -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/scripts/localDeclarations.kts: -------------------------------------------------------------------------------- 1 | val foo = 123 2 | fun fooFun() { 3 | } 4 | 5 | class fooClass 6 | 7 | println(fo) 8 | 9 | // EXIST: foo, fooFun, fooClass -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/FunctionWithParamOnBracket.kt: -------------------------------------------------------------------------------- 1 | fun myFoo(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args: Array) { 5 | myFo 6 | } 7 | 8 | // COMPLETION_CHAR: ( -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/insertVoidJavaMethod.kt: -------------------------------------------------------------------------------- 1 | import java.io.File 2 | 3 | fun test() { 4 | val f = File("testFile") 5 | // Should be no ; 6 | f.deleteOnExit 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/noParamsFunction.kt: -------------------------------------------------------------------------------- 1 | package testing.handlers 2 | 3 | fun testFun() { 4 | } 5 | 6 | fun other() { 7 | testFu 8 | } 9 | 10 | // INSERT: test -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withJavaDoc.kt: -------------------------------------------------------------------------------- 1 | package some 2 | 3 | /** 4 | * 5 | * 6 | */ 7 | class SomeTest { 8 | /** 9 | * 10 | * @param x 11 | */ 12 | fun someFun(x: Int) { 13 | } 14 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withLineComments.kt: -------------------------------------------------------------------------------- 1 | package some.test 2 | 3 | // Hello 4 | // Some 5 | class SomeCls { 6 | // Test 7 | // Test1 8 | // Test2 9 | fun function() { 10 | } 11 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/kdocWithThrows.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * @throws Some comment 4 | */ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/analyzerHasKotlinAnnotations.kt: -------------------------------------------------------------------------------- 1 | import java.util.regex.Pattern 2 | 3 | fun main(args : Array) { 4 | println(Pattern.compile("Some").matcher("Some")) 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionWithExistingConstructorEqualSignature/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class KtClass { 4 | fun ktFun() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionWithExistingEqualSignature/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | fun some1(x: Int): String = "" 4 | fun some2(x: Int): String = "" -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toMethodWithDefaultArg/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | fun methodWithDefaultArgs(x: Int = 10) { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/src/misplaced-source-folder/simpleMisplaced.kt: -------------------------------------------------------------------------------- 1 | package testpackage 2 | 3 | class Misplaced { 4 | public fun simpleFunctionInMisplacedSourceClass(): Unit {} 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/organizeImports/importSeveralClasses.kt.after: -------------------------------------------------------------------------------- 1 | import java.util.ArrayList 2 | import java.util.HashSet 3 | 4 | fun test(s: ArrayList) { 5 | val k: HashSet? = null 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFunFromJava/before/JavaUsage.java: -------------------------------------------------------------------------------- 1 | class JavaUsage { 2 | public void foo() { 3 | KotlinClsKt.kotlinTopLevelFun(); 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/FunctionWithLineComments/1.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/FunctionWithLineComments/2.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/FunctionWithLineComments/3.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectPrevious/FunctionWithLineComments/4.kt: -------------------------------------------------------------------------------- 1 | //comment before 2 | fun a() : Int {} // fun a 3 | 4 | fun b() : Short { 5 | f() 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/packageLevelInvokableValImport/dependency.kt: -------------------------------------------------------------------------------- 1 | package dependencies 2 | 3 | val foo = Invokable() 4 | 5 | class Invokable { 6 | operator fun invoke() {} 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/InEmptyImport.kt: -------------------------------------------------------------------------------- 1 | package Test 2 | 3 | import 4 | 5 | // EXIST: java, 6 | // EXIST_JAVA_ONLY: javax 7 | // EXIST_JS_ONLY: js 8 | // ABSENT: Array, Integer -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/NoObjectInTypePosition.kt: -------------------------------------------------------------------------------- 1 | object NamedObject 2 | 3 | fun test() { 4 | val a : Named 5 | } 6 | 7 | // INVOCATION_COUNT: 2 8 | // ABSENT: NamedObject 9 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/completeWithExistingBracesOnBrace.kt: -------------------------------------------------------------------------------- 1 | fun withoutParam() { 2 | } 3 | 4 | fun main(args : Array) { 5 | withoutPa() 6 | } 7 | 8 | // COMPLETION_CHAR: ( -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/completeWithExistingBracesOnDot.kt: -------------------------------------------------------------------------------- 1 | fun withoutParam() { 2 | } 3 | 4 | fun main(args : Array) { 5 | withoutPa() 6 | } 7 | 8 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/functionWithParamOnDot.kt.after: -------------------------------------------------------------------------------- 1 | fun myFoo(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args: Array) { 5 | myFoo(). 6 | } 7 | 8 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/insertVoidJavaMethod.kt.after: -------------------------------------------------------------------------------- 1 | import java.io.File 2 | 3 | fun test() { 4 | val f = File("testFile") 5 | // Should be no ; 6 | f.deleteOnExit() 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/paramsFunctionOnDot.kt: -------------------------------------------------------------------------------- 1 | fun myfoo(p : (String, Char) -> Boolean){} 2 | 3 | fun main(args: Array) { 4 | myfo 5 | } 6 | 7 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedClasses.0.java: -------------------------------------------------------------------------------- 1 | // PSI_ELEMENT: com.intellij.psi.PsiClass 2 | // OPTIONS: derivedClasses 3 | public class A { 4 | public A() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedObjects.0.java: -------------------------------------------------------------------------------- 1 | // PSI_ELEMENT: com.intellij.psi.PsiClass 2 | // OPTIONS: derivedClasses 3 | public class A { 4 | public A() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/kotlinInPackageFromJava/J1.java: -------------------------------------------------------------------------------- 1 | import org.jetbrains.kotlin.test.Some; 2 | 3 | public class J1 { 4 | public void foo() { 5 | new Some(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/fromSyntheticPropertyOnlyWithGetter/Foo.java.after: -------------------------------------------------------------------------------- 1 | package navigation 2 | 3 | public class Foo { 4 | public int getBar() { 5 | return 10; 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toCompanionObject/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | companion object { 5 | fun asStatic() { 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionWithPlatformName/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | import kotlin.jvm.JvmmName 4 | 5 | @JvmName("doGetX") 6 | fun getSome() { 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toParametrizedFunctionWithOverload/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | fun withType(id: T): T = id 4 | 5 | fun withType(some: Int): Int = 3 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/automaticRenamer/simple.test: -------------------------------------------------------------------------------- 1 | { 2 | "type": "KOTLIN_CLASS", 3 | "classId": "/Foo", 4 | "oldName": "Foo", 5 | "newName": "Bar", 6 | "mainFile": "main.kt" 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClassFromJava/after/JavaUsage.java: -------------------------------------------------------------------------------- 1 | class JavaUsage { 2 | public void foo() { 3 | KotlinRenamedCls cls = new KotlinRenamedCls(); 4 | } 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClassFromJava/renameKotlinClassFromJava.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "KotlinCls", 3 | "newName": "KotlinRenamedCls", 4 | "mainFile": "JavaUsage.java" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renameFunctionInScript/before/main.kts: -------------------------------------------------------------------------------- 1 | fun testFun() = "test" 2 | 3 | println(testFun()) 4 | val k = testFun() 5 | 6 | fun sample() { 7 | testFun() 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/FunctionWithLineCommentBefore/1.kt: -------------------------------------------------------------------------------- 1 | fun a() : Int {} 2 | 3 | // TODO: Refactor 4 | fun b() : Short { 5 | f() 6 | } 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/FunctionWithLineCommentBefore/2.kt: -------------------------------------------------------------------------------- 1 | fun a() : Int {} 2 | 3 | // TODO: Refactor 4 | fun b() : Short { 5 | f() 6 | } 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/FunctionWithLineCommentBefore/3.kt: -------------------------------------------------------------------------------- 1 | fun a() : Int {} 2 | 3 | // TODO: Refactor 4 | fun b() : Short { 5 | f() 6 | } 7 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/LineComment/1.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | class C{ 4 | // This is a val 5 | val v = 1 6 | 7 | fun foo(){} 8 | } 9 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/LineComment/2.kt: -------------------------------------------------------------------------------- 1 | package p 2 | 3 | class C{ 4 | // This is a val 5 | val v = 1 6 | 7 | fun foo(){} 8 | } 9 | -------------------------------------------------------------------------------- /kotlin-bundled-compiler/src/com/intellij/openapi/fileTypes/StdFileTypes.java: -------------------------------------------------------------------------------- 1 | package com.intellij.openapi.fileTypes; 2 | 3 | public class StdFileTypes { 4 | public static final LanguageFileType JAVA = null; 5 | } 6 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/InLongDotQualifiedExpression.kt: -------------------------------------------------------------------------------- 1 | // For KT-2796 2 | 3 | fun test() { 4 | val bVal = 1 5 | b.app().app() // b is not there 6 | } 7 | 8 | // EXIST: bVal -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/FunctionWithParamOnBracket.kt.after: -------------------------------------------------------------------------------- 1 | fun myFoo(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args: Array) { 5 | myFoo() 6 | } 7 | 8 | // COMPLETION_CHAR: ( -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/noParamsFunction.kt.after: -------------------------------------------------------------------------------- 1 | package testing.handlers 2 | 3 | fun testFun() { 4 | } 5 | 6 | fun other() { 7 | testFun() 8 | } 9 | 10 | // INSERT: test -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withLambdaAndBracesOnDot.kt: -------------------------------------------------------------------------------- 1 | fun someFun(f: () -> Unit) { 2 | f() 3 | } 4 | 5 | fun main(args : Array) { 6 | someF {} 7 | } 8 | 9 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withParamsAndBracesOnBrace.kt: -------------------------------------------------------------------------------- 1 | fun withParams(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args : Array) { 5 | withPar() 6 | } 7 | 8 | // COMPLETION_CHAR: ( -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withParamsAndBracesOnDot.kt: -------------------------------------------------------------------------------- 1 | fun withParams(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args : Array) { 5 | withPar() 6 | } 7 | 8 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withParamsAndBracesOnDot.kt.after: -------------------------------------------------------------------------------- 1 | fun withParams(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args : Array) { 5 | withParams(). 6 | } 7 | 8 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedInnerClasses.0.java: -------------------------------------------------------------------------------- 1 | // PSI_ELEMENT: com.intellij.psi.PsiClass 2 | // OPTIONS: derivedClasses 3 | public class A { 4 | public A() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedInnerObjects.0.java: -------------------------------------------------------------------------------- 1 | // PSI_ELEMENT: com.intellij.psi.PsiClass 2 | // OPTIONS: derivedClasses 3 | public class A { 4 | public A() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedLocalClasses.0.java: -------------------------------------------------------------------------------- 1 | // PSI_ELEMENT: com.intellij.psi.PsiClass 2 | // OPTIONS: derivedClasses 3 | public class A { 4 | public A() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedLocalObjects.0.java: -------------------------------------------------------------------------------- 1 | // PSI_ELEMENT: com.intellij.psi.PsiClass 2 | // OPTIONS: derivedClasses 3 | public class A { 4 | public A() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/blockCommentBeforeDeclaration.kt: -------------------------------------------------------------------------------- 1 | class Cls{ 2 | /* 3 | */ 4 | fun test() {} 5 | 6 | /* 7 | */ 8 | val vls = 1 9 | 10 | /* 11 | */ 12 | companion object {} 13 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/respectCaretAfterFormatting.kt.after: -------------------------------------------------------------------------------- 1 | fun nonFormatter(x: Int) { 2 | val x = 10 3 | 4 | if (true) { 5 | 6 | } 7 | fun local() {} 8 | fun other() {} 9 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/packageLevelFunctionsFromJava/Foo.java: -------------------------------------------------------------------------------- 1 | import kotlin.eclipse.ide.BarKt; 2 | 3 | public class Foo { 4 | void foo() { 5 | String some = BarKt.some(1); 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/specifyType/ClassNameClashing.kt: -------------------------------------------------------------------------------- 1 | // "Specify type explicitly" "true" 2 | fun getEntry() : Map.Entry, java.sql.Array> { 3 | } 4 | 5 | val x = getEntry() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinClassInPackage/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation 2 | 3 | public class Foo { 4 | public void some() { 5 | new SomeKotlin(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinObject/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.KotlinObject; 2 | 3 | public class Foo { 4 | public void some() { 5 | KotlinObject k; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toParametrizedFunction/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.BarKt; 2 | 3 | public class Foo { 4 | public void some() { 5 | BarKt.withType(""); 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toTopLevelPropertyWithSetter/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | var withSetter: Int 4 | get() = 20 5 | set(x: Int) { 6 | withSetter = x 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/packageFacadeFunction.kt: -------------------------------------------------------------------------------- 1 | import packagefacade.firstFileFun 2 | val c = firstFileFun() 3 | // SRC: packagefacade/first.kt 4 | // TARGET: (packagefacade).firstFileFun() -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaMethod/after/testing/JavaClass.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | public class JavaClass { 4 | public String bar() { 5 | return "Test"; 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaMethod/before/testing/JavaClass.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | public class JavaClass { 4 | public String foo() { 5 | return "Test"; 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClass/after/testing/JavaClient.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | import testing.rename.Third; 4 | 5 | class JavaClient { 6 | private Third myField; 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinClass/before/testing/JavaClient.java: -------------------------------------------------------------------------------- 1 | package testing; 2 | 3 | import testing.rename.First; 4 | 5 | class JavaClient { 6 | private First myField; 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/compiler/diagnostics/tests/ResolveToJava.txt: -------------------------------------------------------------------------------- 1 | package 2 | 3 | public val l: kotlin.collections.MutableList 4 | public fun test(/*0*/ l: java.util.List): kotlin.Unit 5 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/AfterIntSeparatedWithComments.kt: -------------------------------------------------------------------------------- 1 | fun Int.func(s: String): Int{} 2 | 3 | fun test() { 4 | val floor = "Floor" 5 | val a = 1/**/f 6 | } 7 | 8 | // EXIST: func -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/FunctionCompletionFormatting.kt: -------------------------------------------------------------------------------- 1 | fun test(a: Int) {} 2 | 3 | fun some() { 4 | tes 5 | } 6 | 7 | // EXIST: { lookupString:"test", itemText:"test(a: jet.Int)" } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/completeWithExistingBracesOnBrace.kt.after: -------------------------------------------------------------------------------- 1 | fun withoutParam() { 2 | } 3 | 4 | fun main(args : Array) { 5 | withoutParam() 6 | } 7 | 8 | // COMPLETION_CHAR: ( -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/completeWithExistingBracesOnDot.kt.after: -------------------------------------------------------------------------------- 1 | fun withoutParam() { 2 | } 3 | 4 | fun main(args : Array) { 5 | withoutParam(). 6 | } 7 | 8 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/paramsFunctionOnDot.kt.after: -------------------------------------------------------------------------------- 1 | fun myfoo(p : (String, Char) -> Boolean){} 2 | 3 | fun main(args: Array) { 4 | myfoo(). 5 | } 6 | 7 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withLambdaAndBracesOnDot.kt.after: -------------------------------------------------------------------------------- 1 | fun someFun(f: () -> Unit) { 2 | f() 3 | } 4 | 5 | fun main(args : Array) { 6 | someFun {}. 7 | } 8 | 9 | // COMPLETION_CHAR: . -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/java/JKClassDerivedAnonymousObjects.0.java: -------------------------------------------------------------------------------- 1 | // PSI_ELEMENT: com.intellij.psi.PsiClass 2 | // OPTIONS: derivedClasses 3 | public class A { 4 | public A() { 5 | 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withBlockComments.kt: -------------------------------------------------------------------------------- 1 | class Hello { 2 | /* 3 | class classInComment { 4 | fun someFun { 5 | } 6 | } 7 | */ 8 | fun someFun() { 9 | } 10 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withLineComments.kt.after: -------------------------------------------------------------------------------- 1 | package some.test 2 | 3 | // Hello 4 | // Some 5 | class SomeCls { 6 | // Test 7 | // Test1 8 | // Test2 9 | fun function() { 10 | } 11 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/ide_analyzer/companionObjectFromJava/Foo.java: -------------------------------------------------------------------------------- 1 | public class Foo { 2 | void foo() { 3 | String str = Some.Companion.func(); 4 | int bar = Some.Companion.getBar(); 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/changeReturnType/typeMismatchInReturnLambdaWithLabel.kt: -------------------------------------------------------------------------------- 1 | fun foo(): Int { 2 | val greet = "hello" 3 | return with(greet) { 4 | return@with greet 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionWithPlatformName/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.BarKt; 2 | 3 | public class Foo { 4 | public void some() { 5 | BarKt.doGetX(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toInnerKotlinClass/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | fun some() = NestedKotlin() 5 | public class NestedKotlin { 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinEnumEntry/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.KotlinEnum; 2 | 3 | public class Foo { 4 | public void some() { 5 | KotlinEnum.ABD; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameJavaMethod/javaBaseMethod.test: -------------------------------------------------------------------------------- 1 | { 2 | "type": "JAVA_METHOD", 3 | "classId": "testing/JavaClass", 4 | "methodSignature": "String foo()", 5 | "newName": "bar" 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/scripts/renameFunctionInScript/after/main.kts: -------------------------------------------------------------------------------- 1 | fun renamedFun() = "test" 2 | 3 | println(renamedFun()) 4 | val k = renamedFun() 5 | 6 | fun sample() { 7 | renamedFun() 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-gradle-model/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | scripts/,\ 7 | lib/ 8 | 9 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/handlers/withParamsAndBracesOnBrace.kt.after: -------------------------------------------------------------------------------- 1 | fun withParams(x: Int, y: Int) { 2 | } 3 | 4 | fun main(args : Array) { 5 | withParams() 6 | } 7 | 8 | // COMPLETION_CHAR: ( -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/commentOnTheLastLineOfLambda.kt: -------------------------------------------------------------------------------- 1 | fun main(args: Array) { 2 | listOf("A").map { 3 | null 4 | // Can't add newlines in 'map' lambda if this is the last/only line in the lambda 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/indentInPropertyAccessor.kt: -------------------------------------------------------------------------------- 1 | class C { 2 | var someProp: Int 3 | get() = throw UnsupportedOperationException() 4 | set(value) { 5 | println("10") 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withBlockComments.kt.after: -------------------------------------------------------------------------------- 1 | class Hello { 2 | /* 3 | class classInComment { 4 | fun someFun { 5 | } 6 | } 7 | */ 8 | fun someFun() { 9 | } 10 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/kdocWithParam.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * @param T the type of a member in this group. 4 | */ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/highlighting/basic/kdocWithoutLeadingAsterisk.kt: -------------------------------------------------------------------------------- 1 | /** 2 | 3 | some text 4 | 5 | * some 6 | * 7 | 8 | */ -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/intentions/changeReturnType/typeMismatchInReturnLambdaWithLabel.kt.after: -------------------------------------------------------------------------------- 1 | fun foo(): String { 2 | val greet = "hello" 3 | return with(greet) { 4 | return@with greet 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionInInnerClass/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | public class NestedKotlin { 5 | fun nestedSome() { 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionWithExistingEqualSignature/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.BarKt; 2 | 3 | public class Foo { 4 | public void some() { 5 | BarKt.some2(3); 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinFunction/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.SomeKotlin; 2 | 3 | public class Foo { 4 | public void some() { 5 | new SomeKotlin().some(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinSuperClass/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.SomeKotlin; 2 | 3 | public class Foo extends SomeKotlin { 4 | public Foo() { 5 | super(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinTopLevelFunction/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.BarKt; 2 | 3 | public class Foo { 4 | public void some() { 5 | BarKt.topLevelFun(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toNamedCompanionObject/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | companion object Factory { 5 | fun asStatic() { 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toPropertyInBaseClass/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin : BaseKotlin() 4 | 5 | open class BaseKotlin { 6 | open val ovProp: Int = 10 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toPropertyInCompanion/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | companion object { 5 | val foo: String = "foo" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/classWithMisplacedSource.kt: -------------------------------------------------------------------------------- 1 | import testpackage.Misplaced 2 | val x: Misplaced? = null 3 | // SRC: misplaced-source-folder/simpleMisplaced.kt 4 | // TARGET: (testpackage).Misplaced -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/function.kt: -------------------------------------------------------------------------------- 1 | import testpackage.SimpleClass 2 | val x = SimpleClass().doNothing(42) 3 | // SRC: testpackage/testfile.kt 4 | // TARGET: (in testpackage.SimpleClass).doNothing(T) -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinMethodFromJava/renameKotlinMethodFromJava.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "methodFromKotlin", 3 | "newName": "renamedMethodFromKotlin", 4 | "mainFile": "JavaUsage.java" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinTopLevelFunFromJava/renameKotlinTopLevelFunFromJava.test: -------------------------------------------------------------------------------- 1 | { 2 | "oldName": "kotlinTopLevelFun", 3 | "newName": "renamedFun", 4 | "mainFile": "JavaUsage.java" 5 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/SimpleComment/1.kt: -------------------------------------------------------------------------------- 1 | fun main() { 2 | fun1() 3 | //this is a standalone comment 4 | 5 | fun2() 6 | } 7 | fun fun1() {} 8 | fun fun2() {} -------------------------------------------------------------------------------- /kotlin-eclipse-ui/src/org/jetbrains/kotlin/preferences/views/Validable.kt: -------------------------------------------------------------------------------- 1 | package org.jetbrains.kotlin.preferences.views 2 | 3 | interface Validable { 4 | val isValid: Boolean 5 | var onIsValidChanged: (Boolean) -> Unit 6 | } -------------------------------------------------------------------------------- /kotlin-bundled-compiler/src/com/intellij/openapi/extensions/ExtensionException.kt: -------------------------------------------------------------------------------- 1 | package com.intellij.openapi.extensions 2 | 3 | class ExtensionException(val extensionClass: Class<*>) : RuntimeException(extensionClass.getCanonicalName()) -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/autoimport/standardEnumMapAutoImport.kt: -------------------------------------------------------------------------------- 1 | fun main(args : Array) { 2 | val list = EnumMap 3 | println(list) 4 | } 5 | 6 | // EXIST: Import 'EnumMap' (java.util) 7 | // NUMBER: 1 -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/InExtendTypeAnnotation.kt: -------------------------------------------------------------------------------- 1 | class Test : { 2 | fun test() { 3 | } 4 | } 5 | 6 | // EXIST: Any, Nothing, Unit, Int, Number, Array 7 | // EXIST_JAVA_ONLY: Math, Thread -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/completion/basic/common/InImport.kt: -------------------------------------------------------------------------------- 1 | package Test 2 | 3 | import java.util. 4 | 5 | class Test { 6 | 7 | } 8 | 9 | // EXIST: AbstractList, Date 10 | // EXIST_JAVA_ONLY: Random, concurrent -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/respectCaretAfterFormatting.kt: -------------------------------------------------------------------------------- 1 | fun nonFormatter(x:Int){ 2 | val x = 10 3 | 4 | if(true){ 5 | 6 | } 7 | fun local() {} 8 | fun other() {} 9 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toBasicProperty/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.SomeKotlin; 2 | 3 | public class Foo { 4 | public void some() { 5 | new SomeKotlin().getBasicProp(); 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toBasicTopLevelProperty/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.BarKt; 2 | 3 | public class Foo { 4 | public void some() { 5 | BarKt.getTopLevelProp(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionWithNameDuplicate/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.BarKt; 2 | 3 | public class Foo { 4 | public void some() { 5 | BarKt.topLevelFun(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toInnerKotlinEnumEntry/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.ForEnum; 2 | 3 | public class Foo { 4 | public void some() { 5 | ForEnum.KotlinEnum.ABC; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toKotlinEnumClass/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.KotlinEnum; 2 | 3 | public class Foo { 4 | public void some() { 5 | KotlinEnum.valueOf("ABC"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toOverridenProperty/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.SomeKotlin; 2 | 3 | public class Foo { 4 | public void some() { 5 | new SomeKotlin().getOvProp(); 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toParametrizedFunctionWithOverload/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.BarKt; 2 | 3 | public class Foo { 4 | public void some() { 5 | BarKt.withType(3); 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toSecondaryConstructor1/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class KotlinConstructors { 4 | constructor(x: Int) { 5 | } 6 | constructor(x: String) { 7 | } 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toSecondaryConstructor2/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class KotlinConstructors { 4 | constructor(x: Int) { 5 | } 6 | constructor(x: String) { 7 | } 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toTopLevelPropertyWithGetter/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.BarKt; 2 | 3 | public class Foo { 4 | public void some() { 5 | BarKt.getWithGetter(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toTopLevelPropertyWithSetter/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.BarKt; 2 | 3 | public class Foo { 4 | public void some() { 5 | BarKt.setWithSetter(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/withinFileToMethodNavigation.kt: -------------------------------------------------------------------------------- 1 | package temp 2 | 3 | fun main(args : Array) { 4 | BigTest() 5 | test() 6 | } 7 | 8 | fun test() { 9 | } 10 | 11 | class BigTest -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/findUsages/kotlin/findObjectUsages/javaObjectUsages.0.kt: -------------------------------------------------------------------------------- 1 | // PSI_ELEMENT: org.jetbrains.kotlin.psi.JetObjectDeclaration 2 | package server 3 | 4 | object O { 5 | var foo: String = "foo" 6 | } 7 | 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/indentInPropertyAccessor.kt.after: -------------------------------------------------------------------------------- 1 | class C { 2 | var someProp: Int 3 | get() = throw UnsupportedOperationException() 4 | set(value) { 5 | println("10") 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/format/withJavaDoc.kt.after: -------------------------------------------------------------------------------- 1 | package some 2 | 3 | /** 4 | * 5 | * 6 | */ 7 | class SomeTest { 8 | /** 9 | * 10 | * @param x 11 | */ 12 | fun someFun(x: Int) { 13 | } 14 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toCompanionObject/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.SomeKotlin; 2 | 3 | public class Foo { 4 | public void some() { 5 | SomeKotlin.Companion.asStatic(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFilePart/Foo.java.before: -------------------------------------------------------------------------------- 1 | package org.jet; 2 | 3 | public class SomeJava extends SomeKotlin { 4 | public void callKotlin() { 5 | BazKt.someOne(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toFunctionWithNameDuplicate/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | fun topLevelFun() { 4 | } 5 | 6 | class SomeKotlin { 7 | fun topLevelFun() { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toMutablePropertyInCompanion/Bar.kt.after: -------------------------------------------------------------------------------- 1 | package pckg.navigation 2 | 3 | class SomeKotlin { 4 | companion object { 5 | var foo: String = "foo" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toObjectInstance/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.SomeObject; 2 | 3 | public class Foo { 4 | public void some() { 5 | SomeObject.INSTANCE.hashCode(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toPropertyInBaseClass/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.SomeKotlin; 2 | 3 | public class Foo { 4 | public void some() { 5 | new SomeKotlin().getOvProp(); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/javaToKotlin/toPropertyWithGetter/Foo.java.before: -------------------------------------------------------------------------------- 1 | import pckg.navigation.SomeKotlin; 2 | 3 | public class Foo { 4 | public void some() { 5 | new SomeKotlin().getBasicProp(); 6 | } 7 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/lib/constructor.kt: -------------------------------------------------------------------------------- 1 | import testpackage.ComplicatedClass 2 | val x = ComplicatedClass 3 | // SRC: testpackage/testfile.kt 4 | // TARGET: (in testpackage.ComplicatedClass).ComplicatedClass(String) -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/navigation/withinFileToMethodNavigation.kt.after: -------------------------------------------------------------------------------- 1 | package temp 2 | 3 | fun main(args : Array) { 4 | BigTest() 5 | test() 6 | } 7 | 8 | fun test() { 9 | } 10 | 11 | class BigTest -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/refactoring/rename/renameKotlinMethodFromJava/before/JavaUsage.java: -------------------------------------------------------------------------------- 1 | class JavaUsage { 2 | public void foo() { 3 | KotlinCls cls = new KotlinCls(); 4 | cls.methodFromKotlin(); 5 | } 6 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectEnclosing/selectEnclosingFunctionNameWithoutSelection/0.kt: -------------------------------------------------------------------------------- 1 | fun main(args : Array) 2 | { 3 | val x = test1() 4 | } 5 | fun test1() :Int 6 | { 7 | return 42 8 | } 9 | -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/Functions/0.kt: -------------------------------------------------------------------------------- 1 | fun fun1(a: Int, b: Int): Int { 2 | return a+b 3 | } 4 | fun fun2(a: Int, b: Int): Int 5 | = a - b 6 | fun fun3() { 7 | println("I'm fun3") 8 | } -------------------------------------------------------------------------------- /kotlin-eclipse-ui-test/testData/wordSelection/selectNext/Functions/1.kt: -------------------------------------------------------------------------------- 1 | fun fun1(a: Int, b: Int): Int { 2 | return a+b 3 | } 4 | fun fun2(a: Int, b: Int): Int 5 | = a - b 6 | fun fun3() { 7 | println("I'm fun3") 8 | } --------------------------------------------------------------------------------