Added nullability annotations
This commit is contained in:
@@ -53,7 +53,7 @@ public class CapturedParamDesc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static CapturedParamDesc createDesc(CapturedParamOwner containingLambdaInfo, String fieldName, Type type) {
|
public static CapturedParamDesc createDesc(@NotNull CapturedParamOwner containingLambdaInfo, @NotNull String fieldName, @NotNull Type type) {
|
||||||
return new CapturedParamDesc(containingLambdaInfo, fieldName, type);
|
return new CapturedParamDesc(containingLambdaInfo, fieldName, type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,11 +57,11 @@ public class ParametersBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public CapturedParamInfo addCapturedParam(
|
public CapturedParamInfo addCapturedParam(
|
||||||
String fieldName,
|
@NotNull String fieldName,
|
||||||
Type type,
|
@NotNull Type type,
|
||||||
boolean skipped,
|
boolean skipped,
|
||||||
@Nullable ParameterInfo original,
|
@Nullable ParameterInfo original,
|
||||||
CapturedParamOwner containingLambda
|
@NotNull CapturedParamOwner containingLambda
|
||||||
) {
|
) {
|
||||||
CapturedParamInfo info =
|
CapturedParamInfo info =
|
||||||
new CapturedParamInfo(CapturedParamDesc.createDesc(containingLambda, fieldName, type), skipped, nextCaptured,
|
new CapturedParamInfo(CapturedParamDesc.createDesc(containingLambda, fieldName, type), skipped, nextCaptured,
|
||||||
|
|||||||
Reference in New Issue
Block a user