private static @Nullable ExpectedTypeInfo getExpectedTypeInfo(CompletionLocation location) {
    ExpectedTypeInfo[] infos = JavaCompletionUtil.EXPECTED_TYPES.getValue(location);
    return infos != null && infos.length > 0 ? infos[0] : null;
  }
private static @Nullable ExpectedTypeInfo getExpectedTypeInfo(CompletionLocation location)