Merge Kotlin JPS plugin
Kotlin JPS plugin existed in Kotlin repo before but was migrated to intellij-community together with entire Kotlin plugin. Now I return Kotlin JPS plugin back because it turned out that it's easier to develop JPS in KT release cycle. Also I need to unbundle Kotlin JPS plugin in scope of KTIJ-11633
This commit is contained in:
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
class ClassWithAddedCompanionObject {
|
||||
public fun unchangedFun() {}
|
||||
companion object {}
|
||||
}
|
||||
|
||||
class ClassWithRemovedCompanionObject {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithChangedCompanionObject {
|
||||
public fun unchangedFun() {}
|
||||
companion object SecondName {}
|
||||
}
|
||||
|
||||
class ClassWithChangedVisibilityForCompanionObject {
|
||||
public fun unchangedFun() {}
|
||||
private companion object {}
|
||||
}
|
||||
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
package test
|
||||
|
||||
class ClassWithAddedCompanionObject {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithRemovedCompanionObject {
|
||||
public fun unchangedFun() {}
|
||||
companion object {}
|
||||
}
|
||||
|
||||
class ClassWithChangedCompanionObject {
|
||||
public fun unchangedFun() {}
|
||||
companion object FirstName {}
|
||||
}
|
||||
|
||||
class ClassWithChangedVisibilityForCompanionObject {
|
||||
public fun unchangedFun() {}
|
||||
public companion object {}
|
||||
}
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
REMOVED test/ClassWithChangedCompanionObject.FirstName
|
||||
REMOVED test/ClassWithRemovedCompanionObject.Companion
|
||||
ADDED test/ClassWithAddedCompanionObject.Companion
|
||||
ADDED test/ClassWithChangedCompanionObject.SecondName
|
||||
PROTO DIFFERENCE in test/ClassWithAddedCompanionObject: COMPANION_OBJECT_NAME, NESTED_CLASS_NAME_LIST
|
||||
CHANGES in test/ClassWithAddedCompanionObject: CLASS_SIGNATURE, MEMBERS
|
||||
[Companion]
|
||||
PROTO DIFFERENCE in test/ClassWithChangedCompanionObject: COMPANION_OBJECT_NAME, NESTED_CLASS_NAME_LIST
|
||||
CHANGES in test/ClassWithChangedCompanionObject: CLASS_SIGNATURE, MEMBERS
|
||||
[FirstName, SecondName]
|
||||
PROTO DIFFERENCE in test/ClassWithChangedVisibilityForCompanionObject.Companion: FLAGS
|
||||
CHANGES in test/ClassWithChangedVisibilityForCompanionObject.Companion: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ClassWithRemovedCompanionObject: COMPANION_OBJECT_NAME, NESTED_CLASS_NAME_LIST
|
||||
CHANGES in test/ClassWithRemovedCompanionObject: CLASS_SIGNATURE, MEMBERS
|
||||
[Companion]
|
||||
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrimaryConstructorChanged constructor(arg: String) {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrimaryConstructorVisibilityChanged private constructor() {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithSecondaryConstructorsAdded() {
|
||||
constructor(arg: Int): this() {}
|
||||
constructor(arg: String): this() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithSecondaryConstructorsRemoved() {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithSecondaryConstructorVisibilityChanged() {
|
||||
private constructor(arg: Int): this() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrimaryConstructorChanged constructor() {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrimaryConstructorVisibilityChanged constructor() {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithSecondaryConstructorsAdded {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithSecondaryConstructorsRemoved() {
|
||||
public constructor(arg: Int): this() {}
|
||||
constructor(arg: String): this() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithSecondaryConstructorVisibilityChanged() {
|
||||
protected constructor(arg: Int): this() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
PROTO DIFFERENCE in test/ClassWithPrimaryConstructorChanged: CONSTRUCTOR_LIST
|
||||
CHANGES in test/ClassWithPrimaryConstructorChanged: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ClassWithPrimaryConstructorVisibilityChanged: CONSTRUCTOR_LIST
|
||||
CHANGES in test/ClassWithPrimaryConstructorVisibilityChanged: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ClassWithSecondaryConstructorVisibilityChanged: CONSTRUCTOR_LIST
|
||||
CHANGES in test/ClassWithSecondaryConstructorVisibilityChanged: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ClassWithSecondaryConstructorsAdded: CONSTRUCTOR_LIST
|
||||
CHANGES in test/ClassWithSecondaryConstructorsAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ClassWithSecondaryConstructorsRemoved: CONSTRUCTOR_LIST
|
||||
CHANGES in test/ClassWithSecondaryConstructorsRemoved: CLASS_SIGNATURE
|
||||
Vendored
+31
@@ -0,0 +1,31 @@
|
||||
package test
|
||||
|
||||
class ClassWithFunAdded {
|
||||
fun added() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithFunRemoved {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithValAndFunAddedAndRemoved {
|
||||
public val valAdded: String = ""
|
||||
fun funAdded() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithValConvertedToVar {
|
||||
public var value: Int = 10
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithChangedVisiblityForFun1 {
|
||||
private fun foo() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithChangedVisiblityForFun2 {
|
||||
protected fun foo() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
Vendored
+33
@@ -0,0 +1,33 @@
|
||||
package test
|
||||
|
||||
class ClassWithFunAdded {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithFunRemoved {
|
||||
fun removed() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithValAndFunAddedAndRemoved {
|
||||
public val valRemoved: Int = 10
|
||||
fun funRemoved() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithValConvertedToVar {
|
||||
public val value: Int = 10
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithChangedVisiblityForFun1 {
|
||||
protected fun foo() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithChangedVisiblityForFun2 {
|
||||
private fun foo() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
PROTO DIFFERENCE in test/ClassWithChangedVisiblityForFun1: FUNCTION_LIST
|
||||
CHANGES in test/ClassWithChangedVisiblityForFun1: MEMBERS
|
||||
[foo]
|
||||
PROTO DIFFERENCE in test/ClassWithChangedVisiblityForFun2: FUNCTION_LIST
|
||||
CHANGES in test/ClassWithChangedVisiblityForFun2: MEMBERS
|
||||
[foo]
|
||||
PROTO DIFFERENCE in test/ClassWithFunAdded: FUNCTION_LIST
|
||||
CHANGES in test/ClassWithFunAdded: MEMBERS
|
||||
[added]
|
||||
PROTO DIFFERENCE in test/ClassWithFunRemoved: FUNCTION_LIST
|
||||
CHANGES in test/ClassWithFunRemoved: MEMBERS
|
||||
[removed]
|
||||
PROTO DIFFERENCE in test/ClassWithValAndFunAddedAndRemoved: FUNCTION_LIST, PROPERTY_LIST
|
||||
CHANGES in test/ClassWithValAndFunAddedAndRemoved: MEMBERS
|
||||
[funAdded, funRemoved, valAdded, valRemoved]
|
||||
PROTO DIFFERENCE in test/ClassWithValConvertedToVar: PROPERTY_LIST
|
||||
CHANGES in test/ClassWithValConvertedToVar: MEMBERS
|
||||
[value]
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
class ClassWithNestedClasses {
|
||||
class NestedClassAdded {}
|
||||
inner class InnerClass {}
|
||||
inner class InnerClassAdded {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithChangedVisibilityForNestedClasses {
|
||||
private class NestedClass {}
|
||||
protected inner class InnerClass {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
class ClassWithNestedClasses {
|
||||
class NestedClassRemoved {}
|
||||
inner class InnerClass {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithChangedVisibilityForNestedClasses {
|
||||
class NestedClass {}
|
||||
inner class InnerClass {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
REMOVED test/ClassWithNestedClasses.NestedClassRemoved
|
||||
ADDED test/ClassWithNestedClasses.InnerClassAdded
|
||||
ADDED test/ClassWithNestedClasses.NestedClassAdded
|
||||
PROTO DIFFERENCE in test/ClassWithChangedVisibilityForNestedClasses.InnerClass: FLAGS
|
||||
CHANGES in test/ClassWithChangedVisibilityForNestedClasses.InnerClass: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ClassWithChangedVisibilityForNestedClasses.NestedClass: FLAGS
|
||||
CHANGES in test/ClassWithChangedVisibilityForNestedClasses.NestedClass: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ClassWithNestedClasses: NESTED_CLASS_NAME_LIST
|
||||
CHANGES in test/ClassWithNestedClasses: MEMBERS
|
||||
[InnerClassAdded, NestedClassAdded, NestedClassRemoved]
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
enum class EnumClassWithChanges {
|
||||
CONST_1,
|
||||
CONST_3,
|
||||
CONST_4
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
enum class EnumClassWithChanges {
|
||||
CONST_1,
|
||||
CONST_2
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
REMOVED test/EnumClassWithChanges.CONST_2
|
||||
ADDED test/EnumClassWithChanges.CONST_3
|
||||
ADDED test/EnumClassWithChanges.CONST_4
|
||||
PROTO DIFFERENCE in test/EnumClassWithChanges: ENUM_ENTRY_LIST
|
||||
CHANGES in test/EnumClassWithChanges: CLASS_SIGNATURE
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
PROTO DIFFERENCE in test/EnumClassWithChanges: ENUM_ENTRY_LIST
|
||||
CHANGES in test/EnumClassWithChanges: CLASS_SIGNATURE
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package test
|
||||
|
||||
class A {
|
||||
fun argumentAdded(x: Int = 1) {}
|
||||
fun argumentRemoved() {}
|
||||
|
||||
fun valueAdded(x: Int = 3) {}
|
||||
fun valueRemoved(x: Int) {}
|
||||
fun valueChanged(x: Int = 6) {}
|
||||
}
|
||||
|
||||
class ConstructorValueAdded(x: Int = 7)
|
||||
class ConstructorValueRemoved(x: Int)
|
||||
class ConstructorValueChanged(x: Int = 20)
|
||||
|
||||
class ConstructorArgumentAdded(x: Int = 9)
|
||||
class ConstructorArgumentRemoved()
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package test
|
||||
|
||||
class A {
|
||||
fun argumentAdded() {}
|
||||
fun argumentRemoved(x: Int = 2) {}
|
||||
|
||||
fun valueAdded(x: Int) {}
|
||||
fun valueRemoved(x: Int = 4) {}
|
||||
fun valueChanged(x: Int = 5) {}
|
||||
}
|
||||
|
||||
class ConstructorValueAdded(x: Int)
|
||||
class ConstructorValueRemoved(x: Int = 8)
|
||||
class ConstructorValueChanged(x: Int = 19)
|
||||
|
||||
class ConstructorArgumentAdded()
|
||||
class ConstructorArgumentRemoved(x: Int = 10)
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
PROTO DIFFERENCE in test/A: FUNCTION_LIST
|
||||
CHANGES in test/A: MEMBERS
|
||||
[argumentAdded, argumentRemoved, valueAdded, valueRemoved]
|
||||
PROTO DIFFERENCE in test/ConstructorArgumentAdded: CONSTRUCTOR_LIST
|
||||
CHANGES in test/ConstructorArgumentAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ConstructorArgumentRemoved: CONSTRUCTOR_LIST
|
||||
CHANGES in test/ConstructorArgumentRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ConstructorValueAdded: CONSTRUCTOR_LIST
|
||||
CHANGES in test/ConstructorValueAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ConstructorValueRemoved: CONSTRUCTOR_LIST
|
||||
CHANGES in test/ConstructorValueRemoved: CLASS_SIGNATURE
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
package test
|
||||
|
||||
annotation class Ann1
|
||||
annotation class Ann2
|
||||
|
||||
class A {
|
||||
@Ann1
|
||||
@Ann2
|
||||
fun annotationListBecameNotEmpty() {}
|
||||
|
||||
fun annotationListBecameEmpty() {}
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
fun annotationAdded() {}
|
||||
|
||||
@Ann1
|
||||
fun annotationRemoved() {}
|
||||
|
||||
@Ann2
|
||||
fun annotationReplaced() {}
|
||||
}
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
package test
|
||||
|
||||
annotation class Ann1
|
||||
annotation class Ann2
|
||||
|
||||
class A {
|
||||
fun annotationListBecameNotEmpty() {}
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
fun annotationListBecameEmpty() {
|
||||
}
|
||||
|
||||
@Ann1
|
||||
fun annotationAdded() {
|
||||
}
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
fun annotationRemoved() {
|
||||
}
|
||||
|
||||
@Ann1
|
||||
fun annotationReplaced() {
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/A: FUNCTION_LIST
|
||||
CHANGES in test/A: MEMBERS
|
||||
[annotationAdded, annotationListBecameEmpty, annotationListBecameNotEmpty, annotationRemoved, annotationReplaced]
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/A: FUNCTION_LIST
|
||||
CHANGES in test/A: MEMBERS
|
||||
[annotationListBecameEmpty, annotationListBecameNotEmpty]
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
package test
|
||||
|
||||
abstract class A {
|
||||
abstract val abstractFlagAddedVal: String
|
||||
val abstractFlagRemovedVal: String = ""
|
||||
abstract val abstractFlagUnchangedVal: String
|
||||
abstract fun abstractFlagAddedFun()
|
||||
fun abstractFlagRemovedFun() {}
|
||||
abstract fun abstractFlagUnchangedFun()
|
||||
|
||||
final val finalFlagAddedVal = ""
|
||||
val finalFlagRemovedVal = ""
|
||||
final val finalFlagUnchangedVal = ""
|
||||
final fun finalFlagAddedFun() {}
|
||||
fun finalFlagRemovedFun() {}
|
||||
final fun finalFlagUnchangedFun() {}
|
||||
|
||||
@Suppress("INAPPLICABLE_INFIX_MODIFIER")
|
||||
infix fun infixFlagAddedFun() {}
|
||||
fun infixFlagRemovedFun() {}
|
||||
@Suppress("INAPPLICABLE_INFIX_MODIFIER")
|
||||
infix fun infixFlagUnchangedFun() {}
|
||||
|
||||
inline fun inlineFlagAddedFun() {}
|
||||
fun inlineFlagRemovedFun() {}
|
||||
inline fun inlineFlagUnchangedFun() {}
|
||||
|
||||
internal val internalFlagAddedVal = ""
|
||||
val internalFlagRemovedVal = ""
|
||||
internal val internalFlagUnchangedVal = ""
|
||||
internal fun internalFlagAddedFun() {}
|
||||
fun internalFlagRemovedFun() {}
|
||||
internal fun internalFlagUnchangedFun() {}
|
||||
|
||||
lateinit var lateinitFlagAddedVal: String
|
||||
var lateinitFlagRemovedVal: String = ""
|
||||
lateinit var lateinitFlagUnchangedVal: String
|
||||
|
||||
open val openFlagAddedVal = ""
|
||||
val openFlagRemovedVal = ""
|
||||
open val openFlagUnchangedVal = ""
|
||||
open fun openFlagAddedFun() {}
|
||||
fun openFlagRemovedFun() {}
|
||||
open fun openFlagUnchangedFun() {}
|
||||
|
||||
@Suppress("INAPPLICABLE_OPERATOR_MODIFIER")
|
||||
operator fun operatorFlagAddedFun() {}
|
||||
fun operatorFlagRemovedFun() {}
|
||||
@Suppress("INAPPLICABLE_OPERATOR_MODIFIER")
|
||||
operator fun operatorFlagUnchangedFun() {}
|
||||
|
||||
private val privateFlagAddedVal = ""
|
||||
val privateFlagRemovedVal = ""
|
||||
private val privateFlagUnchangedVal = ""
|
||||
private fun privateFlagAddedFun() {}
|
||||
fun privateFlagRemovedFun() {}
|
||||
private fun privateFlagUnchangedFun() {}
|
||||
|
||||
protected val protectedFlagAddedVal = ""
|
||||
val protectedFlagRemovedVal = ""
|
||||
protected val protectedFlagUnchangedVal = ""
|
||||
protected fun protectedFlagAddedFun() {}
|
||||
fun protectedFlagRemovedFun() {}
|
||||
protected fun protectedFlagUnchangedFun() {}
|
||||
|
||||
public val publicFlagAddedVal = ""
|
||||
val publicFlagRemovedVal = ""
|
||||
public val publicFlagUnchangedVal = ""
|
||||
public fun publicFlagAddedFun() {}
|
||||
fun publicFlagRemovedFun() {}
|
||||
public fun publicFlagUnchangedFun() {}
|
||||
|
||||
tailrec fun tailrecFlagAddedFun() {}
|
||||
fun tailrecFlagRemovedFun() {}
|
||||
tailrec fun tailrecFlagUnchangedFun() {}
|
||||
|
||||
val noFlagsUnchangedVal = ""
|
||||
fun noFlagsUnchangedFun() {}
|
||||
}
|
||||
|
||||
object O {
|
||||
const val constFlagAddedVal = ""
|
||||
val constFlagRemovedVal = ""
|
||||
const val constFlagUnchangedVal = ""
|
||||
}
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
package test
|
||||
|
||||
abstract class A {
|
||||
val abstractFlagAddedVal: String = ""
|
||||
abstract val abstractFlagRemovedVal: String
|
||||
abstract val abstractFlagUnchangedVal: String
|
||||
fun abstractFlagAddedFun() {}
|
||||
abstract fun abstractFlagRemovedFun()
|
||||
abstract fun abstractFlagUnchangedFun()
|
||||
|
||||
val finalFlagAddedVal = ""
|
||||
final val finalFlagRemovedVal = ""
|
||||
final val finalFlagUnchangedVal = ""
|
||||
fun finalFlagAddedFun() {}
|
||||
final fun finalFlagRemovedFun() {}
|
||||
final fun finalFlagUnchangedFun() {}
|
||||
|
||||
fun infixFlagAddedFun() {}
|
||||
@Suppress("INAPPLICABLE_INFIX_MODIFIER")
|
||||
infix fun infixFlagRemovedFun() {}
|
||||
@Suppress("INAPPLICABLE_INFIX_MODIFIER")
|
||||
infix fun infixFlagUnchangedFun() {}
|
||||
|
||||
fun inlineFlagAddedFun() {}
|
||||
inline fun inlineFlagRemovedFun() {}
|
||||
inline fun inlineFlagUnchangedFun() {}
|
||||
|
||||
val internalFlagAddedVal = ""
|
||||
internal val internalFlagRemovedVal = ""
|
||||
internal val internalFlagUnchangedVal = ""
|
||||
fun internalFlagAddedFun() {}
|
||||
internal fun internalFlagRemovedFun() {}
|
||||
internal fun internalFlagUnchangedFun() {}
|
||||
|
||||
var lateinitFlagAddedVal = ""
|
||||
lateinit var lateinitFlagRemovedVal: String
|
||||
lateinit var lateinitFlagUnchangedVal: String
|
||||
|
||||
val openFlagAddedVal = ""
|
||||
open val openFlagRemovedVal = ""
|
||||
open val openFlagUnchangedVal = ""
|
||||
fun openFlagAddedFun() {}
|
||||
open fun openFlagRemovedFun() {}
|
||||
open fun openFlagUnchangedFun() {}
|
||||
|
||||
fun operatorFlagAddedFun() {}
|
||||
@Suppress("INAPPLICABLE_OPERATOR_MODIFIER")
|
||||
operator fun operatorFlagRemovedFun() {}
|
||||
@Suppress("INAPPLICABLE_OPERATOR_MODIFIER")
|
||||
operator fun operatorFlagUnchangedFun() {}
|
||||
|
||||
val privateFlagAddedVal = ""
|
||||
private val privateFlagRemovedVal = ""
|
||||
private val privateFlagUnchangedVal = ""
|
||||
fun privateFlagAddedFun() {}
|
||||
private fun privateFlagRemovedFun() {}
|
||||
private fun privateFlagUnchangedFun() {}
|
||||
|
||||
val protectedFlagAddedVal = ""
|
||||
protected val protectedFlagRemovedVal = ""
|
||||
protected val protectedFlagUnchangedVal = ""
|
||||
fun protectedFlagAddedFun() {}
|
||||
protected fun protectedFlagRemovedFun() {}
|
||||
protected fun protectedFlagUnchangedFun() {}
|
||||
|
||||
val publicFlagAddedVal = ""
|
||||
public val publicFlagRemovedVal = ""
|
||||
public val publicFlagUnchangedVal = ""
|
||||
fun publicFlagAddedFun() {}
|
||||
public fun publicFlagRemovedFun() {}
|
||||
public fun publicFlagUnchangedFun() {}
|
||||
|
||||
fun tailrecFlagAddedFun() {}
|
||||
tailrec fun tailrecFlagRemovedFun() {}
|
||||
tailrec fun tailrecFlagUnchangedFun() {}
|
||||
|
||||
val noFlagsUnchangedVal = ""
|
||||
fun noFlagsUnchangedFun() {}
|
||||
}
|
||||
|
||||
object O {
|
||||
val constFlagAddedVal = ""
|
||||
const val constFlagRemovedVal = ""
|
||||
const val constFlagUnchangedVal = ""
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
PROTO DIFFERENCE in test/A: FUNCTION_LIST, PROPERTY_LIST
|
||||
CHANGES in test/A: MEMBERS
|
||||
[abstractFlagAddedFun, abstractFlagAddedVal, abstractFlagRemovedFun, abstractFlagRemovedVal, infixFlagAddedFun, infixFlagRemovedFun, inlineFlagAddedFun, inlineFlagRemovedFun, internalFlagAddedFun, internalFlagAddedVal, internalFlagRemovedFun, internalFlagRemovedVal, lateinitFlagAddedVal, lateinitFlagRemovedVal, openFlagAddedFun, openFlagAddedVal, openFlagRemovedFun, openFlagRemovedVal, operatorFlagAddedFun, operatorFlagRemovedFun, privateFlagAddedFun, privateFlagAddedVal, privateFlagRemovedFun, privateFlagRemovedVal, protectedFlagAddedFun, protectedFlagAddedVal, protectedFlagRemovedFun, protectedFlagRemovedVal, tailrecFlagAddedFun, tailrecFlagRemovedFun]
|
||||
PROTO DIFFERENCE in test/O: PROPERTY_LIST
|
||||
CHANGES in test/O: MEMBERS
|
||||
[constFlagAddedVal, constFlagRemovedVal]
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
class Base {
|
||||
class Nested1 {
|
||||
class Nested2 {
|
||||
fun added() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
class Base {
|
||||
class Nested1 {
|
||||
class Nested2 {
|
||||
fun removed() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/Base.Nested1.Nested2: FUNCTION_LIST
|
||||
CHANGES in test/Base.Nested1.Nested2: MEMBERS
|
||||
[added, removed]
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
sealed class Base {
|
||||
class A : Base()
|
||||
class B : Base()
|
||||
class C : Base()
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
sealed class Base {
|
||||
class A : Base()
|
||||
class B : Base()
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
ADDED test/Base.C
|
||||
PROTO DIFFERENCE in test/Base: NESTED_CLASS_NAME_LIST, SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base: CLASS_SIGNATURE, MEMBERS
|
||||
[C]
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivateFunAdded {
|
||||
private fun privateFun() {}
|
||||
val s = "20"
|
||||
}
|
||||
|
||||
class ClassWithPrivateFunRemoved {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateFunSignatureChanged {
|
||||
private fun privateFun(arg: Int) {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivateFunAdded {
|
||||
val s = "20"
|
||||
}
|
||||
|
||||
class ClassWithPrivateFunRemoved {
|
||||
private fun privateFun() {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateFunSignatureChanged {
|
||||
private fun privateFun(arg: String) {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateFunAdded: FUNCTION_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateFunRemoved: FUNCTION_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateFunSignatureChanged: FUNCTION_LIST
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivatePrimaryConstructorAdded private constructor() {
|
||||
private constructor(arg: Int) : this() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivatePrimaryConstructorRemoved {
|
||||
private constructor(arg: Int) {}
|
||||
}
|
||||
|
||||
class ClassWithPrivatePrimaryConstructorChanged private constructor(arg: String) {
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivatePrimaryConstructorAdded {
|
||||
private constructor(arg: Int) {}
|
||||
}
|
||||
|
||||
class ClassWithPrivatePrimaryConstructorRemoved private constructor() {
|
||||
private constructor(arg: Int) : this() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivatePrimaryConstructorChanged private constructor() {
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/ClassWithPrivatePrimaryConstructorAdded: CONSTRUCTOR_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivatePrimaryConstructorChanged: CONSTRUCTOR_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivatePrimaryConstructorRemoved: CONSTRUCTOR_LIST
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivateSecondaryConstructorsAdded() {
|
||||
private constructor(arg: Int) : this() {}
|
||||
private constructor(arg: String) : this() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateSecondaryConstructorsAdded2() {
|
||||
private constructor(arg: Int) : this() {}
|
||||
private constructor(arg: String) : this() {}
|
||||
constructor(arg: Float) : this() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateSecondaryConstructorsRemoved() {
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivateSecondaryConstructorsAdded {
|
||||
}
|
||||
|
||||
class ClassWithPrivateSecondaryConstructorsAdded2() {
|
||||
constructor(arg: Float) : this() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateSecondaryConstructorsRemoved() {
|
||||
private constructor(arg: Int): this() {}
|
||||
private constructor(arg: String): this() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateSecondaryConstructorsAdded: CONSTRUCTOR_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateSecondaryConstructorsAdded2: CONSTRUCTOR_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateSecondaryConstructorsRemoved: CONSTRUCTOR_LIST
|
||||
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivateValAdded {
|
||||
private val x: Int = 100
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateValRemoved {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateValSignatureChanged {
|
||||
private val x: String = "X"
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithGetterForPrivateValChanged {
|
||||
private val x: Int
|
||||
get() = 200
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivateValAdded {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateValRemoved {
|
||||
private val x: Int = 100
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateValSignatureChanged {
|
||||
private val x: Int = 100
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithGetterForPrivateValChanged {
|
||||
private val x: Int = 100
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
PROTO DIFFERENCE in test/ClassWithGetterForPrivateValChanged: PROPERTY_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateValAdded: PROPERTY_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateValRemoved: PROPERTY_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateValSignatureChanged: PROPERTY_LIST
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivateVarAdded {
|
||||
private var x: Int = 100
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateVarRemoved {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateVarSignatureChanged {
|
||||
private var x: String = "X"
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithGetterAndSetterForPrivateVarChanged {
|
||||
private var x: Int
|
||||
get() = 200
|
||||
set(value) {}
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
class ClassWithPrivateVarAdded {
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateVarRemoved {
|
||||
private var x: Int = 100
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithPrivateVarSignatureChanged {
|
||||
private var x: Int = 100
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
|
||||
class ClassWithGetterAndSetterForPrivateVarChanged {
|
||||
private var x: Int = 100
|
||||
public fun unchangedFun() {}
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
PROTO DIFFERENCE in test/ClassWithGetterAndSetterForPrivateVarChanged: PROPERTY_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateVarAdded: PROPERTY_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateVarRemoved: PROPERTY_LIST
|
||||
PROTO DIFFERENCE in test/ClassWithPrivateVarSignatureChanged: PROPERTY_LIST
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
annotation class Ann1
|
||||
annotation class Ann2
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
class AnnotationListBecomeNotEmpty
|
||||
|
||||
class AnnotationListBecomeEmpty
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
class AnnotationAdded
|
||||
|
||||
@Ann1
|
||||
class AnnotationRemoved
|
||||
|
||||
@Ann2
|
||||
class AnnotationReplaced
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package test
|
||||
|
||||
annotation class Ann1
|
||||
annotation class Ann2
|
||||
|
||||
class AnnotationListBecomeNotEmpty
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
class AnnotationListBecomeEmpty
|
||||
|
||||
@Ann1
|
||||
class AnnotationAdded
|
||||
|
||||
@Ann1
|
||||
@Ann2
|
||||
class AnnotationRemoved
|
||||
|
||||
@Ann1
|
||||
class AnnotationReplaced
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
PROTO DIFFERENCE in test/AnnotationAdded: JS_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationListBecomeEmpty: FLAGS, JS_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationListBecomeEmpty: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationListBecomeNotEmpty: FLAGS, JS_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationListBecomeNotEmpty: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationRemoved: JS_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationReplaced: JS_EXT_CLASS_ANNOTATION_LIST
|
||||
CHANGES in test/AnnotationReplaced: CLASS_SIGNATURE
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
PROTO DIFFERENCE in test/AnnotationListBecomeEmpty: FLAGS
|
||||
CHANGES in test/AnnotationListBecomeEmpty: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationListBecomeNotEmpty: FLAGS
|
||||
CHANGES in test/AnnotationListBecomeNotEmpty: CLASS_SIGNATURE
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
open class A {
|
||||
fun f() {}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
class A
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/A: FLAGS, FUNCTION_LIST
|
||||
CHANGES in test/A: CLASS_SIGNATURE, MEMBERS
|
||||
[f]
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package test
|
||||
|
||||
abstract class AbstractFlagAdded
|
||||
class AbstractFlagRemoved
|
||||
abstract class AbstractFlagUnchanged
|
||||
|
||||
annotation class AnnotationFlagAdded
|
||||
class AnnotationFlagRemoved
|
||||
annotation class AnnotationFlagUnchanged
|
||||
|
||||
data class DataFlagAdded(val x: Int)
|
||||
class DataFlagRemoved(val x: Int)
|
||||
data class DataFlagUnchanged(val x: Int)
|
||||
|
||||
enum class EnumFlagAdded
|
||||
class EnumFlagRemoved
|
||||
enum class EnumFlagUnchanged
|
||||
|
||||
final class FinalFlagAdded
|
||||
class FinalFlagRemoved
|
||||
final class FinalFlagUnchanged
|
||||
|
||||
class InnerClassHolder {
|
||||
inner class InnerFlagAdded
|
||||
class InnerFlagRemoved
|
||||
inner class InnerFlagUnchanged
|
||||
}
|
||||
|
||||
internal class InternalFlagAdded
|
||||
class InternalFlagRemoved
|
||||
internal class InternalFlagUnchanged
|
||||
|
||||
open class OpenFlagAdded
|
||||
class OpenFlagRemoved
|
||||
open class OpenFlagUnchanged
|
||||
|
||||
private class PrivateFlagAdded
|
||||
class PrivateFlagRemoved
|
||||
private class PrivateFlagUnchanged
|
||||
|
||||
class ProtectedClassHolder {
|
||||
protected class ProtectedFlagAdded
|
||||
class ProtectedFlagRemoved
|
||||
protected class ProtectedFlagUnchanged
|
||||
}
|
||||
|
||||
public class PublicFlagAdded
|
||||
class PublicFlagRemoved
|
||||
public class PublicFlagUnchanged
|
||||
|
||||
sealed class SealedFlagAdded
|
||||
class SealedFlagRemoved
|
||||
sealed class SealedFlagUnchanged
|
||||
|
||||
class UnchangedNoFlags
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
package test
|
||||
|
||||
class AbstractFlagAdded
|
||||
abstract class AbstractFlagRemoved
|
||||
abstract class AbstractFlagUnchanged
|
||||
|
||||
class AnnotationFlagAdded
|
||||
annotation class AnnotationFlagRemoved
|
||||
annotation class AnnotationFlagUnchanged
|
||||
|
||||
class DataFlagAdded(val x: Int)
|
||||
data class DataFlagRemoved(val x: Int)
|
||||
data class DataFlagUnchanged(val x: Int)
|
||||
|
||||
class EnumFlagAdded
|
||||
enum class EnumFlagRemoved
|
||||
enum class EnumFlagUnchanged
|
||||
|
||||
class FinalFlagAdded
|
||||
final class FinalFlagRemoved
|
||||
final class FinalFlagUnchanged
|
||||
|
||||
class InnerClassHolder {
|
||||
class InnerFlagAdded
|
||||
inner class InnerFlagRemoved
|
||||
inner class InnerFlagUnchanged
|
||||
}
|
||||
|
||||
class InternalFlagAdded
|
||||
internal class InternalFlagRemoved
|
||||
internal class InternalFlagUnchanged
|
||||
|
||||
class OpenFlagAdded
|
||||
open class OpenFlagRemoved
|
||||
open class OpenFlagUnchanged
|
||||
|
||||
class PrivateFlagAdded
|
||||
private class PrivateFlagRemoved
|
||||
private class PrivateFlagUnchanged
|
||||
|
||||
class ProtectedClassHolder {
|
||||
class ProtectedFlagAdded
|
||||
protected class ProtectedFlagRemoved
|
||||
protected class ProtectedFlagUnchanged
|
||||
}
|
||||
|
||||
class PublicFlagAdded
|
||||
public class PublicFlagRemoved
|
||||
public class PublicFlagUnchanged
|
||||
|
||||
class SealedFlagAdded
|
||||
sealed class SealedFlagRemoved
|
||||
sealed class SealedFlagUnchanged
|
||||
|
||||
class UnchangedNoFlags
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
PROTO DIFFERENCE in test/AbstractFlagAdded: FLAGS
|
||||
CHANGES in test/AbstractFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AbstractFlagRemoved: FLAGS
|
||||
CHANGES in test/AbstractFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationFlagAdded: FLAGS, SUPERTYPE_LIST
|
||||
CHANGES in test/AnnotationFlagAdded: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Annotation, kotlin.Any]
|
||||
PROTO DIFFERENCE in test/AnnotationFlagRemoved: FLAGS, SUPERTYPE_LIST
|
||||
CHANGES in test/AnnotationFlagRemoved: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Annotation, kotlin.Any]
|
||||
PROTO DIFFERENCE in test/DataFlagAdded: FLAGS, FUNCTION_LIST
|
||||
CHANGES in test/DataFlagAdded: CLASS_SIGNATURE, MEMBERS
|
||||
[component1, copy, equals, hashCode, toString]
|
||||
PROTO DIFFERENCE in test/DataFlagRemoved: FLAGS, FUNCTION_LIST
|
||||
CHANGES in test/DataFlagRemoved: CLASS_SIGNATURE, MEMBERS
|
||||
[component1, copy, equals, hashCode, toString]
|
||||
PROTO DIFFERENCE in test/EnumFlagAdded: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_LIST
|
||||
CHANGES in test/EnumFlagAdded: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, kotlin.Enum]
|
||||
PROTO DIFFERENCE in test/EnumFlagRemoved: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_LIST
|
||||
CHANGES in test/EnumFlagRemoved: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, kotlin.Enum]
|
||||
PROTO DIFFERENCE in test/InnerClassHolder.InnerFlagAdded: FLAGS
|
||||
CHANGES in test/InnerClassHolder.InnerFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/InnerClassHolder.InnerFlagRemoved: FLAGS
|
||||
CHANGES in test/InnerClassHolder.InnerFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/InternalFlagAdded: FLAGS
|
||||
CHANGES in test/InternalFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/InternalFlagRemoved: FLAGS
|
||||
CHANGES in test/InternalFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/OpenFlagAdded: FLAGS
|
||||
CHANGES in test/OpenFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/OpenFlagRemoved: FLAGS
|
||||
CHANGES in test/OpenFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/PrivateFlagAdded: FLAGS
|
||||
CHANGES in test/PrivateFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/PrivateFlagRemoved: FLAGS
|
||||
CHANGES in test/PrivateFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ProtectedClassHolder.ProtectedFlagAdded: FLAGS
|
||||
CHANGES in test/ProtectedClassHolder.ProtectedFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ProtectedClassHolder.ProtectedFlagRemoved: FLAGS
|
||||
CHANGES in test/ProtectedClassHolder.ProtectedFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/SealedFlagAdded: CONSTRUCTOR_LIST, FLAGS
|
||||
CHANGES in test/SealedFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/SealedFlagRemoved: CONSTRUCTOR_LIST, FLAGS
|
||||
CHANGES in test/SealedFlagRemoved: CLASS_SIGNATURE
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
PROTO DIFFERENCE in test/AbstractFlagAdded: FLAGS
|
||||
CHANGES in test/AbstractFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AbstractFlagRemoved: FLAGS
|
||||
CHANGES in test/AbstractFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/AnnotationFlagAdded: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_LIST
|
||||
CHANGES in test/AnnotationFlagAdded: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Annotation, kotlin.Any]
|
||||
PROTO DIFFERENCE in test/AnnotationFlagRemoved: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_LIST
|
||||
CHANGES in test/AnnotationFlagRemoved: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Annotation, kotlin.Any]
|
||||
PROTO DIFFERENCE in test/DataFlagAdded: FLAGS, FUNCTION_LIST
|
||||
CHANGES in test/DataFlagAdded: CLASS_SIGNATURE, MEMBERS
|
||||
[component1, copy, equals, hashCode, toString]
|
||||
PROTO DIFFERENCE in test/DataFlagRemoved: FLAGS, FUNCTION_LIST
|
||||
CHANGES in test/DataFlagRemoved: CLASS_SIGNATURE, MEMBERS
|
||||
[component1, copy, equals, hashCode, toString]
|
||||
PROTO DIFFERENCE in test/EnumFlagAdded: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_LIST
|
||||
CHANGES in test/EnumFlagAdded: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, kotlin.Enum]
|
||||
PROTO DIFFERENCE in test/EnumFlagRemoved: CONSTRUCTOR_LIST, FLAGS, SUPERTYPE_LIST
|
||||
CHANGES in test/EnumFlagRemoved: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, kotlin.Enum]
|
||||
PROTO DIFFERENCE in test/InnerClassHolder.InnerFlagAdded: CONSTRUCTOR_LIST, FLAGS
|
||||
CHANGES in test/InnerClassHolder.InnerFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/InnerClassHolder.InnerFlagRemoved: CONSTRUCTOR_LIST, FLAGS
|
||||
CHANGES in test/InnerClassHolder.InnerFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/InternalFlagAdded: FLAGS
|
||||
CHANGES in test/InternalFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/InternalFlagRemoved: FLAGS
|
||||
CHANGES in test/InternalFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/OpenFlagAdded: FLAGS
|
||||
CHANGES in test/OpenFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/OpenFlagRemoved: FLAGS
|
||||
CHANGES in test/OpenFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/PrivateFlagAdded: FLAGS
|
||||
CHANGES in test/PrivateFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/PrivateFlagRemoved: FLAGS
|
||||
CHANGES in test/PrivateFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ProtectedClassHolder.ProtectedFlagAdded: FLAGS
|
||||
CHANGES in test/ProtectedClassHolder.ProtectedFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ProtectedClassHolder.ProtectedFlagRemoved: FLAGS
|
||||
CHANGES in test/ProtectedClassHolder.ProtectedFlagRemoved: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/SealedFlagAdded: CONSTRUCTOR_LIST, FLAGS
|
||||
CHANGES in test/SealedFlagAdded: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/SealedFlagRemoved: CONSTRUCTOR_LIST, FLAGS
|
||||
CHANGES in test/SealedFlagRemoved: CLASS_SIGNATURE
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
import kotlin.annotation.*
|
||||
|
||||
class ClassWithTypeParameterListChanged<U> {
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
|
||||
class ClassWithTypeParameterListChanged<U, V> {
|
||||
}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
PROTO DIFFERENCE in test/ClassWithTypeParameterListChanged: TYPE_PARAMETER_LIST
|
||||
CHANGES in test/ClassWithTypeParameterListChanged: CLASS_SIGNATURE
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
|
||||
class ClassWithSuperTypeListChanged : Throwable() {
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package test
|
||||
|
||||
class ClassWithSuperTypeListChanged {
|
||||
}
|
||||
|
||||
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/ClassWithSuperTypeListChanged: SUPERTYPE_LIST
|
||||
CHANGES in test/ClassWithSuperTypeListChanged: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, kotlin.Throwable]
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
open class Base {
|
||||
class Nested1 {
|
||||
class Nested2
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
open class Base {
|
||||
class Nested1 {
|
||||
class Nested2 : Base()
|
||||
}
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/Base.Nested1.Nested2: SUPERTYPE_LIST
|
||||
CHANGES in test/Base.Nested1.Nested2: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base]
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
sealed class Base1
|
||||
class Impl1 : Base1()
|
||||
class Impl11 : Base1()
|
||||
|
||||
sealed class Base2
|
||||
class Impl2 : Base2()
|
||||
class Impl22 : Base2()
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
sealed class Base1
|
||||
class Impl1 : Base1()
|
||||
|
||||
sealed class Base2
|
||||
class Impl2 : Base2()
|
||||
class Impl22
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
ADDED test/Impl11
|
||||
PROTO DIFFERENCE in test/Base1: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base2: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Impl22: SUPERTYPE_LIST
|
||||
CHANGES in test/Impl22: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base2]
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
sealed class Base1
|
||||
class Impl1 : Base1()
|
||||
|
||||
sealed class Base2
|
||||
class Impl2 : Base2()
|
||||
class Impl22
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
sealed class Base1
|
||||
class Impl1 : Base1()
|
||||
class Impl11 : Base1()
|
||||
|
||||
sealed class Base2
|
||||
class Impl2 : Base2()
|
||||
class Impl22 : Base2()
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
REMOVED test/Impl11
|
||||
PROTO DIFFERENCE in test/Base1: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base2: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Impl22: SUPERTYPE_LIST
|
||||
CHANGES in test/Impl22: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base2]
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
sealed class Base1 {
|
||||
class Nested1 : Base1()
|
||||
class Nested2 : Base1()
|
||||
}
|
||||
|
||||
sealed class Base2 {
|
||||
class Nested1 : Base2()
|
||||
class Nested2 : Base2()
|
||||
}
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
sealed class Base1 {
|
||||
class Nested1 : Base1()
|
||||
}
|
||||
|
||||
sealed class Base2 {
|
||||
class Nested1 : Base2()
|
||||
class Nested2
|
||||
}
|
||||
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
ADDED test/Base1.Nested2
|
||||
PROTO DIFFERENCE in test/Base1: NESTED_CLASS_NAME_LIST, SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1: CLASS_SIGNATURE, MEMBERS
|
||||
[Nested2]
|
||||
PROTO DIFFERENCE in test/Base2: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base2.Nested2: SUPERTYPE_LIST
|
||||
CHANGES in test/Base2.Nested2: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base2]
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
package test
|
||||
|
||||
sealed class Base1 {
|
||||
sealed class Nested1 : Base1() {
|
||||
sealed class Nested2 : Nested1() {
|
||||
class Nested3 : Nested2()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sealed class Base2 {
|
||||
sealed class Nested1 : Base2() {
|
||||
class Nested2 : Nested1()
|
||||
class Nested3 : Nested1()
|
||||
}
|
||||
}
|
||||
|
||||
sealed class Base3 {
|
||||
sealed class Nested1 : Base3() {
|
||||
class Nested2 : Nested1()
|
||||
}
|
||||
}
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
package test
|
||||
|
||||
sealed class Base1 {
|
||||
sealed class Nested1 : Base1() {
|
||||
sealed class Nested2 : Nested1()
|
||||
}
|
||||
}
|
||||
|
||||
sealed class Base2 {
|
||||
sealed class Nested1 : Base2() {
|
||||
class Nested2 : Nested1()
|
||||
}
|
||||
}
|
||||
|
||||
sealed class Base3 {
|
||||
sealed class Nested1 : Base3() {
|
||||
class Nested2
|
||||
}
|
||||
}
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
ADDED test/Base1.Nested1.Nested2.Nested3
|
||||
ADDED test/Base2.Nested1.Nested3
|
||||
PROTO DIFFERENCE in test/Base1.Nested1.Nested2: NESTED_CLASS_NAME_LIST, SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1.Nested1.Nested2: CLASS_SIGNATURE, MEMBERS
|
||||
[Nested3]
|
||||
PROTO DIFFERENCE in test/Base2.Nested1: NESTED_CLASS_NAME_LIST, SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2.Nested1: CLASS_SIGNATURE, MEMBERS
|
||||
[Nested3]
|
||||
PROTO DIFFERENCE in test/Base3.Nested1: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base3.Nested1: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base3.Nested1.Nested2: SUPERTYPE_LIST
|
||||
CHANGES in test/Base3.Nested1.Nested2: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base3.Nested1]
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
sealed class Base1 {
|
||||
class Nested1 : Base1()
|
||||
}
|
||||
|
||||
sealed class Base2 {
|
||||
class Nested1 : Base2()
|
||||
class Nested2
|
||||
}
|
||||
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
package test
|
||||
|
||||
sealed class Base1 {
|
||||
class Nested1 : Base1()
|
||||
class Nested2 : Base1()
|
||||
}
|
||||
|
||||
sealed class Base2 {
|
||||
class Nested1 : Base2()
|
||||
class Nested2 : Base2()
|
||||
}
|
||||
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
REMOVED test/Base1.Nested2
|
||||
PROTO DIFFERENCE in test/Base1: NESTED_CLASS_NAME_LIST, SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base1: CLASS_SIGNATURE, MEMBERS
|
||||
[Nested2]
|
||||
PROTO DIFFERENCE in test/Base2: SEALED_SUBCLASS_FQ_NAME_LIST
|
||||
CHANGES in test/Base2: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/Base2.Nested2: SUPERTYPE_LIST
|
||||
CHANGES in test/Base2.Nested2: CLASS_SIGNATURE, PARENTS
|
||||
[kotlin.Any, test.Base2]
|
||||
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
external class ExternalClass {
|
||||
fun addedExternalFun()
|
||||
val addedExternalVal: Int
|
||||
}
|
||||
|
||||
external class ClassBecameExternal
|
||||
class ClassBecameNonExternal
|
||||
|
||||
external fun addedExternalFun()
|
||||
external val addedExternalVal: Int
|
||||
|
||||
external fun funBecameExternal()
|
||||
fun funBecameNonExternal() {}
|
||||
@@ -0,0 +1,15 @@
|
||||
package test
|
||||
|
||||
external class ExternalClass {
|
||||
fun removedExternalFun()
|
||||
val removedExternalVal: Int
|
||||
}
|
||||
|
||||
class ClassBecameExternal
|
||||
external class ClassBecameNonExternal
|
||||
|
||||
external fun removedExternalFun()
|
||||
external val removedExternalVal: Int
|
||||
|
||||
fun funBecameExternal() {}
|
||||
external fun funBecameNonExternal()
|
||||
@@ -0,0 +1,10 @@
|
||||
PROTO DIFFERENCE in test/ClassBecameExternal: FLAGS
|
||||
CHANGES in test/ClassBecameExternal: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ClassBecameNonExternal: FLAGS
|
||||
CHANGES in test/ClassBecameNonExternal: CLASS_SIGNATURE
|
||||
PROTO DIFFERENCE in test/ExternalClass: FUNCTION_LIST, PROPERTY_LIST
|
||||
CHANGES in test/ExternalClass: MEMBERS
|
||||
[addedExternalFun, addedExternalVal, removedExternalFun, removedExternalVal]
|
||||
PROTO DIFFERENCE in test/MainKt: FUNCTION_LIST, PROPERTY_LIST
|
||||
CHANGES in test/MainKt: MEMBERS
|
||||
[addedExternalFun, addedExternalVal, funBecameExternal, funBecameNonExternal, removedExternalFun, removedExternalVal]
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
public fun main() {}
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
public class TestPackage {
|
||||
public fun main() {}
|
||||
}
|
||||
|
||||
public class MainKt {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
public fun main() {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
REMOVED test/MainKt.Companion
|
||||
REMOVED test/TestPackage
|
||||
CHANGES in test/MainKt: CLASS_SIGNATURE
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
abstract class A {
|
||||
external fun externalFlagAddedFun()
|
||||
fun externalFlagRemovedFun() {}
|
||||
external fun externalFlagUnchangedFun()
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
abstract class A {
|
||||
fun externalFlagAddedFun() {}
|
||||
external fun externalFlagRemovedFun()
|
||||
external fun externalFlagUnchangedFun()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
PROTO DIFFERENCE in test/A: FUNCTION_LIST
|
||||
CHANGES in test/A: MEMBERS
|
||||
[externalFlagAddedFun, externalFlagRemovedFun]
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
@file:JvmName("Utils")
|
||||
@file:JvmMultifileClass
|
||||
package test
|
||||
|
||||
public fun unchangedFun1() {}
|
||||
|
||||
public fun publicAddedFun1() {}
|
||||
|
||||
private fun addedFun1(): Int = 10
|
||||
|
||||
private val addedVal1: String = "A"
|
||||
|
||||
private val changedVal1: String = ""
|
||||
|
||||
private fun changedFun1(arg: String) {}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
@file:JvmName("Utils")
|
||||
@file:JvmMultifileClass
|
||||
package test
|
||||
|
||||
public fun unchangedFun2() {}
|
||||
|
||||
private fun addedFun2(): Int = 10
|
||||
|
||||
private val addedVal2: String = "A"
|
||||
|
||||
private val changedVal2: String = ""
|
||||
|
||||
private fun changedFun2(arg: String) {}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
@file:JvmName("Utils")
|
||||
@file:JvmMultifileClass
|
||||
package test
|
||||
|
||||
public fun unchangedFun1() {}
|
||||
|
||||
private fun removedFun1(): Int = 10
|
||||
|
||||
private val removedVal1: String = "A"
|
||||
|
||||
private val changedVal1: Int = 20
|
||||
|
||||
private fun changedFun1(arg: Int) {}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
@file:JvmName("Utils")
|
||||
@file:JvmMultifileClass
|
||||
package test
|
||||
|
||||
public fun unchangedFun2() {}
|
||||
|
||||
private fun removedFun2(): Int = 10
|
||||
|
||||
private val removedVal2: String = "A"
|
||||
|
||||
private val changedVal2: Int = 20
|
||||
|
||||
private fun changedFun2(arg: Int) {}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
SKIPPED test/Utils
|
||||
PROTO DIFFERENCE in test/Utils__Main1Kt: FUNCTION_LIST, PROPERTY_LIST
|
||||
CHANGES in test/Utils__Main1Kt: MEMBERS
|
||||
[publicAddedFun1]
|
||||
PROTO DIFFERENCE in test/Utils__Main2Kt: FUNCTION_LIST, PROPERTY_LIST
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
public class TestPackage {
|
||||
public fun main() {}
|
||||
}
|
||||
|
||||
public class MainKt {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
public fun main() {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
public fun main() {}
|
||||
@@ -0,0 +1,3 @@
|
||||
ADDED test/MainKt.Companion
|
||||
ADDED test/TestPackage
|
||||
CHANGES in test/MainKt: CLASS_SIGNATURE
|
||||
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
fun argumentAdded(x: Int = 1) {}
|
||||
fun argumentRemoved() {}
|
||||
|
||||
fun valueAdded(x: Int = 3) {}
|
||||
fun valueRemoved(x: Int) {}
|
||||
fun valueChanged(x: Int = 6) {}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user