ExpectedTypesProvider: getPropertyName @NotNull

This commit is contained in:
Tagir Valeev
2017-03-21 09:48:32 +07:00
parent 6baf19238e
commit ea581b2ad3
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2016 JetBrains s.r.o.
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1207,7 +1207,7 @@ public class ExpectedTypesProvider {
return parameterType;
}
@Nullable
@NotNull
private static NullableComputable<String> getPropertyName(@NotNull final PsiVariable variable) {
return () -> {
final String name = variable.getName();