Files
kotlin/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithSet.kt
Pavel V. Talanov 72bdacb074 Add explicit return types to several test data files so that AST access is not needed
Test cases are chosen so that addition/removal of explicit type will not interfere with the original purpose of the test
2014-05-21 15:40:08 +04:00

36 lines
648 B
Kotlin

package test
class ClassVal() {
var property1: Int = 1
set
var property2: Object = Object()
protected set
var property3: Object = Object()
private set
protected var property4: String = ""
set
protected var property5: String = ""
private set
protected var property6: String = ""
internal set
protected var property7: java.util.Date = java.util.Date()
public set
public var property8: Int = 1
set
public var property9: Int = 1
private set
public var property10: Int = 1
protected set
public var property11: Int = 1
internal set
}