Tag: lombok retrolambda

Lint在Java类上读取Kotlin对象时崩溃

我有一个Kotlin数据类: data class InterviewCreation( val candidateId: String, val offerId: String, val startingDateTime: Long, val duration: Long, val location: String, val description: String? ) 和一个Mapper类(以Java)开始,如下所示: public InterviewCreationViewModel toViewModel(InterviewCreation newInterview, String candidateName, String candidatePhotoUrl) { String description = newInterview.getDescription(); String location = newInterview.getLocation(); long duration = newInterview.getDuration(); … } 运行Lint时,它在Mapper类中崩溃 ECJ compiler crashed processing …/InterviewCreationViewModelMapper.java java.lang.NullPointerException at […]