Added nullability annotations

This commit is contained in:
Mikhael Bogdanov
2014-03-18 11:01:44 +04:00
parent baac1b9b0b
commit 961cb7d349
2 changed files with 4 additions and 4 deletions
@@ -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,