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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,11 +57,11 @@ public class ParametersBuilder {
|
||||
}
|
||||
|
||||
public CapturedParamInfo addCapturedParam(
|
||||
String fieldName,
|
||||
Type type,
|
||||
@NotNull String fieldName,
|
||||
@NotNull Type type,
|
||||
boolean skipped,
|
||||
@Nullable ParameterInfo original,
|
||||
CapturedParamOwner containingLambda
|
||||
@NotNull CapturedParamOwner containingLambda
|
||||
) {
|
||||
CapturedParamInfo info =
|
||||
new CapturedParamInfo(CapturedParamDesc.createDesc(containingLambda, fieldName, type), skipped, nextCaptured,
|
||||
|
||||
Reference in New Issue
Block a user