Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
699829ccb3e80dbb53c10cccdf1e50f06a5c5346
/
.
/
idea
/
testData
/
quickfix
/
initializeWithConstructorParameter
/
genericParameterInScope.kt.after
blob: cb529f32059e480f64fbad419b06eb664d83ce26 [
file
]
// "Initialize with constructor parameter" "true"
// WITH_RUNTIME
abstract
class
Form
<
T
>(
val name
:
String
,
data
:
T
?){
var
<caret>
data
:
T
?
=
data
set
(
value
){
value
?.
let
{
processData
(
it
)
}
field
=
data
}
abstract
protected
fun processData
(
data
:
T
)
}