make javabean getters/setter not visible as properties temporarily

fixes KT-1432
This commit is contained in:
Stepan Koltsov
2012-03-02 18:05:10 +04:00
parent 5882c10368
commit 7b574e8b49
8 changed files with 5 additions and 17 deletions

View File

@@ -2,5 +2,5 @@ package test
open class JavaBeanVal() {
open fun getColor(): String? = ""
val color: String? = ""
//val color: String? = ""
}

View File

@@ -3,5 +3,4 @@ namespace test
open class test.JavaBeanVal : jet.Any {
final /*constructor*/ fun <init>(): test.JavaBeanVal
open fun getColor(): jet.String?
val color: jet.String?
}

View File

@@ -3,5 +3,5 @@ package test
open class JavaBeanVal() {
open fun getColor(): String? = ""
open fun setColor(p0: String?): Unit { }
var color: String? = ""
//var color: String? = ""
}

View File

@@ -4,5 +4,4 @@ open class test.JavaBeanVal : jet.Any {
final /*constructor*/ fun <init>(): test.JavaBeanVal
open fun getColor(): jet.String?
open fun setColor(/*0*/ p0: jet.String?): jet.Tuple0
var color: jet.String?
}

View File

@@ -5,5 +5,5 @@ import java.util.ArrayList
open class JavaBeanVarOfGenericType<erased P> {
open fun getCharacters(): ArrayList<P>? = null
open fun setCharacters(p0: ArrayList<P>?) { }
var characters: ArrayList<P>? = null
//var characters: ArrayList<P>? = null
}

View File

@@ -4,5 +4,4 @@ open class test.JavaBeanVarOfGenericType</*0*/ P : jet.Any?> : jet.Any {
final /*constructor*/ fun </*0*/ P : jet.Any?><init>(): test.JavaBeanVarOfGenericType</*0*/ P : jet.Any?>
open fun getCharacters(): java.util.ArrayList</*0*/ P : jet.Any?>?
open fun setCharacters(/*0*/ p0: java.util.ArrayList<P>?): jet.Tuple0
var characters: java.util.ArrayList</*0*/ P : jet.Any?>?
}