replace 'trait' keyword with 'interface' in user-visible messages and code generation tools

This commit is contained in:
Dmitry Jemerov
2015-05-11 19:37:38 +02:00
parent 25959fefdc
commit 9975bb8935
704 changed files with 1684 additions and 1727 deletions
@@ -1,6 +1,6 @@
package test
public trait AnnotationInParam {
public interface AnnotationInParam {
test.AnnotationInParam.MyAnnotationWithParam(value = test.AnnotationInParam.MyAnnotation(value = "test": kotlin.String): test.AnnotationInParam.MyAnnotation) public open class A {
public constructor A()
@@ -1,6 +1,6 @@
package test
public trait ArrayOfEnumInParam {
public interface ArrayOfEnumInParam {
java.lang.annotation.Target(value = {ElementType.FIELD, ElementType.CONSTRUCTOR}: kotlin.Array<out java.lang.annotation.ElementType>) public final annotation class targetAnnotation : kotlin.Annotation {
public constructor targetAnnotation(/*0*/ value: kotlin.String)
@@ -1,6 +1,6 @@
package test
public trait ArrayOfStringInParam {
public interface ArrayOfStringInParam {
test.ArrayOfStringInParam.MyAnnotation(value = {"a", "b", "c"}: kotlin.Array<out kotlin.String>) public open class A {
public constructor A()
@@ -1,6 +1,6 @@
package test
public trait CustomAnnotation {
public interface CustomAnnotation {
public final annotation class MyAnnotation : kotlin.Annotation {
public constructor MyAnnotation(/*0*/ value: test.CustomAnnotation.MyEnum)
@@ -1,6 +1,6 @@
package test
public trait CustomAnnotationWithDefaultParameter {
public interface CustomAnnotationWithDefaultParameter {
public final annotation class MyAnnotation : kotlin.Annotation {
public constructor MyAnnotation(/*0*/ first: kotlin.String, /*1*/ second: kotlin.String = ...)
@@ -1,6 +1,6 @@
package test
public trait EmptyArrayInParam {
public interface EmptyArrayInParam {
test.EmptyArrayInParam.MyAnnotation(value = {}: kotlin.Array<out kotlin.String>) public open class A {
public constructor A()
@@ -1,6 +1,6 @@
package test
public trait EnumInParam {
public interface EnumInParam {
public final annotation class MyRetention : kotlin.Annotation {
public constructor MyRetention(/*0*/ value: java.lang.annotation.RetentionPolicy)
@@ -1,6 +1,6 @@
package test
public trait PrimitiveValueInParam {
public interface PrimitiveValueInParam {
test.PrimitiveValueInParam.Ann(bool = true: kotlin.Boolean, d = 1.0.toDouble(): kotlin.Double, f = 1.0.toFloat(): kotlin.Float, i = 1: kotlin.Int, l = 1.toLong(): kotlin.Long, str = "str": kotlin.String) public open class A {
public constructor A()
@@ -1,6 +1,6 @@
package test
public trait RecursiveAnnotation {
public interface RecursiveAnnotation {
test.RecursiveAnnotation.B(value = test.RecursiveAnnotation.A(value = "test": kotlin.String): test.RecursiveAnnotation.A) public final annotation class A : kotlin.Annotation {
public constructor A(/*0*/ value: kotlin.String)
@@ -1,6 +1,6 @@
package test
public trait RecursiveAnnotation2 {
public interface RecursiveAnnotation2 {
public final annotation class A : kotlin.Annotation {
public constructor A(/*0*/ value: test.RecursiveAnnotation2.B)
@@ -1,6 +1,6 @@
package test
public trait StringConcatenationInParam {
public interface StringConcatenationInParam {
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ value: kotlin.String)
@@ -1,6 +1,6 @@
package test
public trait StringConstantInParam {
public interface StringConstantInParam {
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ value: kotlin.String)
@@ -1,6 +1,6 @@
package test
public trait StringInParam {
public interface StringInParam {
public final annotation class Anno : kotlin.Annotation {
public constructor Anno(/*0*/ value: kotlin.String)