My case is very very simple... :
I have this User
class:
package com.myapp.domain.model.user
class User private[user](private val _id: String,
private var _password: String = null,
private var _androidToken: String = null,
private var _iosDeviceToken: String = null) extends NodeIdentity with DomainEntityId[String] {
private[model] def this() {
this(null, null, null, null) //ugly but needed for Spring-Data
}
//.........
}
and its corresponding companion:
object User {
def create(.....): ValidationNel[IllegalUserFailure, User] = {
new User("123", "456", "789", "111")
}
}
The weird thing is while debugging in IntelliJ, I found that:
_id = "123"
_password = "456"
_androidToken = "789"
com$myapp$domain$model$user$User$_iosDeviceToken = "111"
What might be the reason explaining why only _iosDeviceToken
appears like this? Like..unreachable directly.
Actually, I merely simplified the example, but really it is almost as simple as this.
Don't figure it out..