From ea581b2ad3dbf0691d2f2116658b9b21d5a6c0bc Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Tue, 21 Mar 2017 09:48:32 +0700 Subject: [PATCH] ExpectedTypesProvider: getPropertyName @NotNull --- .../src/com/intellij/codeInsight/ExpectedTypesProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/java-impl/src/com/intellij/codeInsight/ExpectedTypesProvider.java b/java/java-impl/src/com/intellij/codeInsight/ExpectedTypesProvider.java index 6adc551cd93e..eeac5aa67007 100644 --- a/java/java-impl/src/com/intellij/codeInsight/ExpectedTypesProvider.java +++ b/java/java-impl/src/com/intellij/codeInsight/ExpectedTypesProvider.java @@ -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 getPropertyName(@NotNull final PsiVariable variable) { return () -> { final String name = variable.getName();