packwerk 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/lib/packwerk/association_inspector.rb +17 -4
  3. data/lib/packwerk/checker.rb +3 -3
  4. data/lib/packwerk/configuration.rb +4 -0
  5. data/lib/packwerk/const_node_inspector.rb +2 -2
  6. data/lib/packwerk/constant_name_inspector.rb +2 -2
  7. data/lib/packwerk/offenses_formatter.rb +3 -3
  8. data/lib/packwerk/package.rb +1 -1
  9. data/lib/packwerk/package_todo.rb +1 -4
  10. data/lib/packwerk/parsers/factory.rb +3 -3
  11. data/lib/packwerk/parsers/ruby.rb +7 -0
  12. data/lib/packwerk/reference_extractor.rb +29 -1
  13. data/lib/packwerk/reference_offense.rb +1 -1
  14. data/lib/packwerk/run_context.rb +15 -4
  15. data/lib/packwerk/validator.rb +3 -3
  16. data/lib/packwerk/version.rb +1 -1
  17. data/lib/packwerk.rb +1 -0
  18. data/sorbet/config +1 -0
  19. data/sorbet/rbi/gems/actionpack@7.0.3.1.rbi +3280 -3450
  20. data/sorbet/rbi/gems/actionview@7.0.3.1.rbi +2322 -1782
  21. data/sorbet/rbi/gems/activesupport@7.0.3.1.rbi +2654 -3268
  22. data/sorbet/rbi/gems/ast@2.4.2.rbi +535 -6
  23. data/sorbet/rbi/gems/better_html@2.0.1.rbi +529 -0
  24. data/sorbet/rbi/gems/builder@3.2.4.rbi +4 -4
  25. data/sorbet/rbi/gems/byebug@11.1.3.rbi +32 -4
  26. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +1750 -1840
  27. data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +15 -15
  28. data/sorbet/rbi/gems/crass@1.0.6.rbi +489 -5
  29. data/sorbet/rbi/gems/erubi@1.11.0.rbi +24 -21
  30. data/sorbet/rbi/gems/i18n@1.12.0.rbi +395 -395
  31. data/sorbet/rbi/gems/json@2.6.2.rbi +70 -77
  32. data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +1 -1
  33. data/sorbet/rbi/gems/loofah@2.18.0.rbi +134 -134
  34. data/sorbet/rbi/gems/m@1.6.0.rbi +60 -60
  35. data/sorbet/rbi/gems/method_source@1.1.0.rbi +303 -0
  36. data/sorbet/rbi/gems/minitest-focus@1.3.1.rbi +22 -28
  37. data/sorbet/rbi/gems/minitest@5.16.2.rbi +384 -396
  38. data/sorbet/rbi/gems/mocha@1.14.0.rbi +589 -589
  39. data/sorbet/rbi/gems/netrc@0.11.0.rbi +37 -32
  40. data/sorbet/rbi/gems/nokogiri@1.15.3.rbi +962 -946
  41. data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.24.0.rbi} +85 -82
  42. data/sorbet/rbi/gems/{parser@3.2.2.0.rbi → parser@3.3.1.0.rbi} +1679 -1609
  43. data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +1 -1
  44. data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.27.0.rbi} +13473 -6472
  45. data/sorbet/rbi/gems/{racc@1.6.0.rbi → racc@1.7.1.rbi} +42 -33
  46. data/sorbet/rbi/gems/rack-test@2.0.2.rbi +148 -338
  47. data/sorbet/rbi/gems/rack@2.2.4.rbi +1079 -1130
  48. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +354 -22
  49. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +113 -259
  50. data/sorbet/rbi/gems/railties@7.0.3.1.rbi +642 -638
  51. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +109 -99
  52. data/sorbet/rbi/gems/rake@13.0.6.rbi +714 -599
  53. data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.12.rbi} +865 -801
  54. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +853 -870
  55. data/sorbet/rbi/gems/rexml@3.2.5.rbi +480 -477
  56. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +1621 -1622
  57. data/sorbet/rbi/gems/rubocop-performance@1.14.3.rbi +507 -526
  58. data/sorbet/rbi/gems/rubocop-shopify@2.9.0.rbi +1 -1
  59. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +186 -203
  60. data/sorbet/rbi/gems/rubocop@1.34.1.rbi +8126 -8367
  61. data/sorbet/rbi/gems/{ruby-lsp@0.2.1.rbi → ruby-lsp@0.2.3.rbi} +2 -2
  62. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
  63. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +90 -90
  64. data/sorbet/rbi/gems/spoom@1.3.2.rbi +4420 -0
  65. data/sorbet/rbi/gems/spring@4.0.0.rbi +104 -104
  66. data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +1 -1
  67. data/sorbet/rbi/gems/{tapioca@0.9.2.rbi → tapioca@0.13.3.rbi} +1596 -1253
  68. data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.3.1.rbi} +1047 -652
  69. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +531 -513
  70. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +13 -13
  71. data/sorbet/rbi/gems/{yard-sorbet@0.6.1.rbi → yard-sorbet@0.8.1.rbi} +132 -92
  72. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.36.rbi} +3158 -3067
  73. data/sorbet/rbi/gems/zeitwerk@2.6.4.rbi +149 -145
  74. metadata +22 -94
  75. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -27
  76. data/.github/pull_request_template.md +0 -28
  77. data/.github/workflows/ci.yml +0 -93
  78. data/.github/workflows/cla.yml +0 -22
  79. data/.gitignore +0 -13
  80. data/.rubocop.yml +0 -75
  81. data/.ruby-version +0 -1
  82. data/CODEOWNERS +0 -1
  83. data/CODE_OF_CONDUCT.md +0 -76
  84. data/CONTRIBUTING.md +0 -17
  85. data/Gemfile +0 -27
  86. data/Gemfile.lock +0 -206
  87. data/RESOLVING_VIOLATIONS.md +0 -76
  88. data/Rakefile +0 -22
  89. data/TROUBLESHOOT.md +0 -44
  90. data/UPGRADING.md +0 -66
  91. data/USAGE.md +0 -364
  92. data/bin/console +0 -15
  93. data/bin/m +0 -29
  94. data/bin/rake +0 -29
  95. data/bin/rubocop +0 -29
  96. data/bin/setup +0 -8
  97. data/bin/srb +0 -29
  98. data/bin/tapioca +0 -29
  99. data/dev.yml +0 -32
  100. data/docs/cohesion.png +0 -0
  101. data/gemfiles/Gemfile-rails-6-0 +0 -22
  102. data/gemfiles/Gemfile-rails-6-1 +0 -22
  103. data/packwerk.gemspec +0 -59
  104. data/shipit.rubygems.yml +0 -5
  105. data/sorbet/rbi/gems/actioncable@7.0.3.1.rbi +0 -2754
  106. data/sorbet/rbi/gems/actionmailbox@7.0.3.1.rbi +0 -1496
  107. data/sorbet/rbi/gems/actionmailer@7.0.3.1.rbi +0 -2362
  108. data/sorbet/rbi/gems/actiontext@7.0.3.1.rbi +0 -1569
  109. data/sorbet/rbi/gems/activejob@7.0.3.1.rbi +0 -2553
  110. data/sorbet/rbi/gems/activemodel@7.0.3.1.rbi +0 -5999
  111. data/sorbet/rbi/gems/activerecord@7.0.3.1.rbi +0 -37832
  112. data/sorbet/rbi/gems/activestorage@7.0.3.1.rbi +0 -2321
  113. data/sorbet/rbi/gems/better_html@1.0.16.rbi +0 -317
  114. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  115. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1079
  116. data/sorbet/rbi/gems/digest@3.1.0.rbi +0 -189
  117. data/sorbet/rbi/gems/globalid@1.0.0.rbi +0 -572
  118. data/sorbet/rbi/gems/mail@2.7.1.rbi +0 -2490
  119. data/sorbet/rbi/gems/marcel@1.0.2.rbi +0 -220
  120. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -76
  121. data/sorbet/rbi/gems/mini_mime@1.1.2.rbi +0 -170
  122. data/sorbet/rbi/gems/net-imap@0.2.3.rbi +0 -2147
  123. data/sorbet/rbi/gems/net-pop@0.1.1.rbi +0 -926
  124. data/sorbet/rbi/gems/net-protocol@0.1.3.rbi +0 -11
  125. data/sorbet/rbi/gems/net-smtp@0.3.1.rbi +0 -1108
  126. data/sorbet/rbi/gems/nio4r@2.5.8.rbi +0 -292
  127. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  128. data/sorbet/rbi/gems/rails@7.0.3.1.rbi +0 -8
  129. data/sorbet/rbi/gems/spoom@1.1.11.rbi +0 -2181
  130. data/sorbet/rbi/gems/strscan@3.0.4.rbi +0 -8
  131. data/sorbet/rbi/gems/timeout@0.3.0.rbi +0 -142
  132. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -4529
  133. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2582
  134. data/sorbet/rbi/gems/websocket-driver@0.7.5.rbi +0 -993
  135. data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +0 -71
@@ -4,23 +4,13 @@
4
4
  # This is an autogenerated file for types exported from the `rubocop-performance` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rubocop-performance`.
6
6
 
7
- # source://rubocop-performance-1.14.3/lib/rubocop/performance.rb:3
7
+ # source://rubocop-performance//lib/rubocop/performance.rb#3
8
8
  module RuboCop; end
9
9
 
10
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:4
10
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#4
11
11
  module RuboCop::Cop; end
12
12
 
13
- # @deprecated IgnoredMethods class has been replaced with AllowedMethods.
14
- #
15
- # source://rubocop-1.34.1/lib/rubocop/cop/mixin/allowed_methods.rb:33
16
- RuboCop::Cop::IgnoredMethods = RuboCop::Cop::AllowedMethods
17
-
18
- # @deprecated IgnoredPattern class has been replaced with AllowedPattern.
19
- #
20
- # source://rubocop-1.34.1/lib/rubocop/cop/mixin/allowed_pattern.rb:46
21
- RuboCop::Cop::IgnoredPattern = RuboCop::Cop::AllowedPattern
22
-
23
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/ancestors_include.rb:5
13
+ # source://rubocop-performance//lib/rubocop/cop/performance/ancestors_include.rb#5
24
14
  module RuboCop::Cop::Performance; end
25
15
 
26
16
  # Identifies usages of `ancestors.include?` and change them to use `<=` instead.
@@ -32,27 +22,27 @@ module RuboCop::Cop::Performance; end
32
22
  # # good
33
23
  # A <= B
34
24
  #
35
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/ancestors_include.rb:19
25
+ # source://rubocop-performance//lib/rubocop/cop/performance/ancestors_include.rb#19
36
26
  class RuboCop::Cop::Performance::AncestorsInclude < ::RuboCop::Cop::Base
37
27
  include ::RuboCop::Cop::RangeHelp
38
28
  extend ::RuboCop::Cop::AutoCorrector
39
29
 
40
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/ancestors_include.rb:26
30
+ # source://rubocop-performance//lib/rubocop/cop/performance/ancestors_include.rb#26
41
31
  def ancestors_include_candidate?(param0 = T.unsafe(nil)); end
42
32
 
43
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/ancestors_include.rb:30
33
+ # source://rubocop-performance//lib/rubocop/cop/performance/ancestors_include.rb#30
44
34
  def on_send(node); end
45
35
 
46
36
  private
47
37
 
48
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/ancestors_include.rb:43
38
+ # source://rubocop-performance//lib/rubocop/cop/performance/ancestors_include.rb#43
49
39
  def range(node); end
50
40
  end
51
41
 
52
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/ancestors_include.rb:23
42
+ # source://rubocop-performance//lib/rubocop/cop/performance/ancestors_include.rb#23
53
43
  RuboCop::Cop::Performance::AncestorsInclude::MSG = T.let(T.unsafe(nil), String)
54
44
 
55
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/ancestors_include.rb:24
45
+ # source://rubocop-performance//lib/rubocop/cop/performance/ancestors_include.rb#24
56
46
  RuboCop::Cop::Performance::AncestorsInclude::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
57
47
 
58
48
  # Identifies places where slicing arrays with semi-infinite ranges
@@ -75,34 +65,34 @@ RuboCop::Cop::Performance::AncestorsInclude::RESTRICT_ON_SEND = T.let(T.unsafe(n
75
65
  # array.drop(2)
76
66
  # array.take(3)
77
67
  #
78
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb:29
68
+ # source://rubocop-performance//lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb#29
79
69
  class RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice < ::RuboCop::Cop::Base
80
70
  include ::RuboCop::Cop::RangeHelp
81
71
  extend ::RuboCop::Cop::AutoCorrector
82
72
  extend ::RuboCop::Cop::TargetRubyVersion
83
73
 
84
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb:45
74
+ # source://rubocop-performance//lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb#45
85
75
  def endless_range?(param0 = T.unsafe(nil)); end
86
76
 
87
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb:41
77
+ # source://rubocop-performance//lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb#41
88
78
  def endless_range_slice?(param0 = T.unsafe(nil)); end
89
79
 
90
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb:52
80
+ # source://rubocop-performance//lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb#52
91
81
  def on_send(node); end
92
82
 
93
83
  private
94
84
 
95
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb:65
85
+ # source://rubocop-performance//lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb#65
96
86
  def correction(receiver, range_node); end
97
87
  end
98
88
 
99
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb:36
89
+ # source://rubocop-performance//lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb#36
100
90
  RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice::MSG = T.let(T.unsafe(nil), String)
101
91
 
102
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb:39
92
+ # source://rubocop-performance//lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb#39
103
93
  RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set)
104
94
 
105
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb:38
95
+ # source://rubocop-performance//lib/rubocop/cop/performance/array_semi_infinite_range_slice.rb#38
106
96
  RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice::SLICE_METHODS = T.let(T.unsafe(nil), Set)
107
97
 
108
98
  # Identifies places where numeric argument to BigDecimal should be
@@ -122,24 +112,24 @@ RuboCop::Cop::Performance::ArraySemiInfiniteRangeSlice::SLICE_METHODS = T.let(T.
122
112
  # BigDecimal('1.2', 3, exception: true)
123
113
  # BigDecimal('4.5', 6, exception: true)
124
114
  #
125
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb:23
115
+ # source://rubocop-performance//lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb#23
126
116
  class RuboCop::Cop::Performance::BigDecimalWithNumericArgument < ::RuboCop::Cop::Base
127
117
  extend ::RuboCop::Cop::AutoCorrector
128
118
 
129
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb:29
119
+ # source://rubocop-performance//lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb#29
130
120
  def big_decimal_with_numeric_argument?(param0 = T.unsafe(nil)); end
131
121
 
132
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb:37
122
+ # source://rubocop-performance//lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb#37
133
123
  def on_send(node); end
134
124
 
135
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb:33
125
+ # source://rubocop-performance//lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb#33
136
126
  def to_d?(param0 = T.unsafe(nil)); end
137
127
  end
138
128
 
139
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb:26
129
+ # source://rubocop-performance//lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb#26
140
130
  RuboCop::Cop::Performance::BigDecimalWithNumericArgument::MSG = T.let(T.unsafe(nil), String)
141
131
 
142
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb:27
132
+ # source://rubocop-performance//lib/rubocop/cop/performance/big_decimal_with_numeric_argument.rb#27
143
133
  RuboCop::Cop::Performance::BigDecimalWithNumericArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
144
134
 
145
135
  # In Ruby 2.7, `UnboundMethod#bind_call` has been added.
@@ -158,34 +148,34 @@ RuboCop::Cop::Performance::BigDecimalWithNumericArgument::RESTRICT_ON_SEND = T.l
158
148
  # # good
159
149
  # umethod.bind_call(obj, foo, bar)
160
150
  #
161
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/bind_call.rb:22
151
+ # source://rubocop-performance//lib/rubocop/cop/performance/bind_call.rb#22
162
152
  class RuboCop::Cop::Performance::BindCall < ::RuboCop::Cop::Base
163
153
  include ::RuboCop::Cop::RangeHelp
164
154
  extend ::RuboCop::Cop::AutoCorrector
165
155
  extend ::RuboCop::Cop::TargetRubyVersion
166
156
 
167
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/bind_call.rb:33
157
+ # source://rubocop-performance//lib/rubocop/cop/performance/bind_call.rb#33
168
158
  def bind_with_call_method?(param0 = T.unsafe(nil)); end
169
159
 
170
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/bind_call.rb:41
160
+ # source://rubocop-performance//lib/rubocop/cop/performance/bind_call.rb#41
171
161
  def on_send(node); end
172
162
 
173
163
  private
174
164
 
175
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/bind_call.rb:72
165
+ # source://rubocop-performance//lib/rubocop/cop/performance/bind_call.rb#72
176
166
  def build_call_args(call_args_node); end
177
167
 
178
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/bind_call.rb:65
168
+ # source://rubocop-performance//lib/rubocop/cop/performance/bind_call.rb#65
179
169
  def correction_range(receiver, node); end
180
170
 
181
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/bind_call.rb:59
171
+ # source://rubocop-performance//lib/rubocop/cop/performance/bind_call.rb#59
182
172
  def message(bind_arg, call_args); end
183
173
  end
184
174
 
185
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/bind_call.rb:29
175
+ # source://rubocop-performance//lib/rubocop/cop/performance/bind_call.rb#29
186
176
  RuboCop::Cop::Performance::BindCall::MSG = T.let(T.unsafe(nil), String)
187
177
 
188
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/bind_call.rb:31
178
+ # source://rubocop-performance//lib/rubocop/cop/performance/bind_call.rb#31
189
179
  RuboCop::Cop::Performance::BindCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
190
180
 
191
181
  # Identifies unnecessary use of a `block_given?` where explicit check
@@ -209,21 +199,21 @@ RuboCop::Cop::Performance::BindCall::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr
209
199
  # # ...
210
200
  # end
211
201
  #
212
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/block_given_with_explicit_block.rb:27
202
+ # source://rubocop-performance//lib/rubocop/cop/performance/block_given_with_explicit_block.rb#27
213
203
  class RuboCop::Cop::Performance::BlockGivenWithExplicitBlock < ::RuboCop::Cop::Base
214
204
  extend ::RuboCop::Cop::AutoCorrector
215
205
 
216
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/block_given_with_explicit_block.rb:35
206
+ # source://rubocop-performance//lib/rubocop/cop/performance/block_given_with_explicit_block.rb#35
217
207
  def on_send(node); end
218
208
 
219
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/block_given_with_explicit_block.rb:33
209
+ # source://rubocop-performance//lib/rubocop/cop/performance/block_given_with_explicit_block.rb#33
220
210
  def reassigns_block_arg?(param0 = T.unsafe(nil), param1); end
221
211
  end
222
212
 
223
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/block_given_with_explicit_block.rb:31
213
+ # source://rubocop-performance//lib/rubocop/cop/performance/block_given_with_explicit_block.rb#31
224
214
  RuboCop::Cop::Performance::BlockGivenWithExplicitBlock::MSG = T.let(T.unsafe(nil), String)
225
215
 
226
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/block_given_with_explicit_block.rb:30
216
+ # source://rubocop-performance//lib/rubocop/cop/performance/block_given_with_explicit_block.rb#30
227
217
  RuboCop::Cop::Performance::BlockGivenWithExplicitBlock::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
228
218
 
229
219
  # Identifies places where `caller[n]` can be replaced by `caller(n..n).first`.
@@ -241,29 +231,29 @@ RuboCop::Cop::Performance::BlockGivenWithExplicitBlock::RESTRICT_ON_SEND = T.let
241
231
  # caller_locations(2..2).first
242
232
  # caller_locations(1..1).first
243
233
  #
244
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/caller.rb:20
234
+ # source://rubocop-performance//lib/rubocop/cop/performance/caller.rb#20
245
235
  class RuboCop::Cop::Performance::Caller < ::RuboCop::Cop::Base
246
236
  extend ::RuboCop::Cop::AutoCorrector
247
237
 
248
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/caller.rb:33
238
+ # source://rubocop-performance//lib/rubocop/cop/performance/caller.rb#33
249
239
  def caller_with_scope_method?(param0 = T.unsafe(nil)); end
250
240
 
251
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/caller.rb:40
241
+ # source://rubocop-performance//lib/rubocop/cop/performance/caller.rb#40
252
242
  def on_send(node); end
253
243
 
254
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/caller.rb:26
244
+ # source://rubocop-performance//lib/rubocop/cop/performance/caller.rb#26
255
245
  def slow_caller?(param0 = T.unsafe(nil)); end
256
246
 
257
247
  private
258
248
 
259
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/caller.rb:61
249
+ # source://rubocop-performance//lib/rubocop/cop/performance/caller.rb#61
260
250
  def int_value(node); end
261
251
  end
262
252
 
263
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/caller.rb:23
253
+ # source://rubocop-performance//lib/rubocop/cop/performance/caller.rb#23
264
254
  RuboCop::Cop::Performance::Caller::MSG = T.let(T.unsafe(nil), String)
265
255
 
266
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/caller.rb:24
256
+ # source://rubocop-performance//lib/rubocop/cop/performance/caller.rb#24
267
257
  RuboCop::Cop::Performance::Caller::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
268
258
 
269
259
  # Reordering `when` conditions with a splat to the end
@@ -311,65 +301,65 @@ RuboCop::Cop::Performance::Caller::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array
311
301
  # baz
312
302
  # end
313
303
  #
314
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:58
304
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#58
315
305
  class RuboCop::Cop::Performance::CaseWhenSplat < ::RuboCop::Cop::Base
316
306
  include ::RuboCop::Cop::Alignment
317
307
  include ::RuboCop::Cop::RangeHelp
318
308
  extend ::RuboCop::Cop::AutoCorrector
319
309
 
320
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:66
310
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#66
321
311
  def on_case(case_node); end
322
312
 
323
313
  private
324
314
 
325
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:83
315
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#83
326
316
  def autocorrect(corrector, when_node); end
327
317
 
328
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:144
318
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#144
329
319
  def indent_for(node); end
330
320
 
331
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:100
321
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#100
332
322
  def inline_fix_branch(corrector, when_node); end
333
323
 
334
324
  # @return [Boolean]
335
325
  #
336
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:169
326
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#169
337
327
  def needs_reorder?(when_node); end
338
328
 
339
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:140
329
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#140
340
330
  def new_branch_without_then(node, new_condition); end
341
331
 
342
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:136
332
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#136
343
333
  def new_condition_with_then(node, new_condition); end
344
334
 
345
335
  # @return [Boolean]
346
336
  #
347
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:162
337
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#162
348
338
  def non_splat?(condition); end
349
339
 
350
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:91
340
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#91
351
341
  def range(node); end
352
342
 
353
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:108
343
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#108
354
344
  def reorder_condition(corrector, when_node); end
355
345
 
356
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:118
346
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#118
357
347
  def reordering_correction(when_node); end
358
348
 
359
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:95
349
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#95
360
350
  def replacement(conditions); end
361
351
 
362
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:148
352
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#148
363
353
  def splat_offenses(when_conditions); end
364
354
 
365
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:128
355
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#128
366
356
  def when_branch_range(when_node); end
367
357
  end
368
358
 
369
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:64
359
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#64
370
360
  RuboCop::Cop::Performance::CaseWhenSplat::ARRAY_MSG = T.let(T.unsafe(nil), String)
371
361
 
372
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/case_when_splat.rb:63
362
+ # source://rubocop-performance//lib/rubocop/cop/performance/case_when_splat.rb#63
373
363
  RuboCop::Cop::Performance::CaseWhenSplat::MSG = T.let(T.unsafe(nil), String)
374
364
 
375
365
  # Identifies places where a case-insensitive string comparison
@@ -387,41 +377,41 @@ RuboCop::Cop::Performance::CaseWhenSplat::MSG = T.let(T.unsafe(nil), String)
387
377
  # str.casecmp('ABC').zero?
388
378
  # 'abc'.casecmp(str).zero?
389
379
  #
390
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:24
380
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#24
391
381
  class RuboCop::Cop::Performance::Casecmp < ::RuboCop::Cop::Base
392
382
  extend ::RuboCop::Cop::AutoCorrector
393
383
 
394
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:45
384
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#45
395
385
  def downcase_downcase(param0 = T.unsafe(nil)); end
396
386
 
397
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:31
387
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#31
398
388
  def downcase_eq(param0 = T.unsafe(nil)); end
399
389
 
400
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:38
390
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#38
401
391
  def eq_downcase(param0 = T.unsafe(nil)); end
402
392
 
403
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:52
393
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#52
404
394
  def on_send(node); end
405
395
 
406
396
  private
407
397
 
408
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:84
398
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#84
409
399
  def autocorrect(corrector, node, replacement); end
410
400
 
411
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:88
401
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#88
412
402
  def build_good_method(method, arg, variable); end
413
403
 
414
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:67
404
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#67
415
405
  def take_method_apart(node); end
416
406
  end
417
407
 
418
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:29
408
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#29
419
409
  RuboCop::Cop::Performance::Casecmp::CASE_METHODS = T.let(T.unsafe(nil), Array)
420
410
 
421
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:27
411
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#27
422
412
  RuboCop::Cop::Performance::Casecmp::MSG = T.let(T.unsafe(nil), String)
423
413
 
424
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/casecmp.rb:28
414
+ # source://rubocop-performance//lib/rubocop/cop/performance/casecmp.rb#28
425
415
  RuboCop::Cop::Performance::Casecmp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
426
416
 
427
417
  # Identifies usages of `array.compact.flatten.map { |x| x.downcase }`.
@@ -440,38 +430,38 @@ RuboCop::Cop::Performance::Casecmp::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra
440
430
  # array.map! { |x| x.downcase }
441
431
  # array
442
432
  #
443
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/chain_array_allocation.rb:21
433
+ # source://rubocop-performance//lib/rubocop/cop/performance/chain_array_allocation.rb#21
444
434
  class RuboCop::Cop::Performance::ChainArrayAllocation < ::RuboCop::Cop::Base
445
435
  include ::RuboCop::Cop::RangeHelp
446
436
 
447
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/chain_array_allocation.rb:54
437
+ # source://rubocop-performance//lib/rubocop/cop/performance/chain_array_allocation.rb#54
448
438
  def chain_array_allocation?(param0 = T.unsafe(nil)); end
449
439
 
450
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/chain_array_allocation.rb:62
440
+ # source://rubocop-performance//lib/rubocop/cop/performance/chain_array_allocation.rb#62
451
441
  def on_send(node); end
452
442
  end
453
443
 
454
444
  # These methods ALWAYS return a new array
455
445
  # after they're called it's safe to mutate the the resulting array
456
446
  #
457
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/chain_array_allocation.rb:37
447
+ # source://rubocop-performance//lib/rubocop/cop/performance/chain_array_allocation.rb#37
458
448
  RuboCop::Cop::Performance::ChainArrayAllocation::ALWAYS_RETURNS_NEW_ARRAY = T.let(T.unsafe(nil), Set)
459
449
 
460
450
  # These methods have a mutation alternative. For example :collect
461
451
  # can be called as :collect!
462
452
  #
463
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/chain_array_allocation.rb:45
453
+ # source://rubocop-performance//lib/rubocop/cop/performance/chain_array_allocation.rb#45
464
454
  RuboCop::Cop::Performance::ChainArrayAllocation::HAS_MUTATION_ALTERNATIVE = T.let(T.unsafe(nil), Set)
465
455
 
466
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/chain_array_allocation.rb:50
456
+ # source://rubocop-performance//lib/rubocop/cop/performance/chain_array_allocation.rb#50
467
457
  RuboCop::Cop::Performance::ChainArrayAllocation::MSG = T.let(T.unsafe(nil), String)
468
458
 
469
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/chain_array_allocation.rb:48
459
+ # source://rubocop-performance//lib/rubocop/cop/performance/chain_array_allocation.rb#48
470
460
  RuboCop::Cop::Performance::ChainArrayAllocation::RETURNS_NEW_ARRAY = T.let(T.unsafe(nil), Set)
471
461
 
472
462
  # These methods return a new array only when called without a block.
473
463
  #
474
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/chain_array_allocation.rb:33
464
+ # source://rubocop-performance//lib/rubocop/cop/performance/chain_array_allocation.rb#33
475
465
  RuboCop::Cop::Performance::ChainArrayAllocation::RETURNS_NEW_ARRAY_WHEN_NO_BLOCK = T.let(T.unsafe(nil), Set)
476
466
 
477
467
  # These methods return a new array but only sometimes. They must be
@@ -480,7 +470,7 @@ RuboCop::Cop::Performance::ChainArrayAllocation::RETURNS_NEW_ARRAY_WHEN_NO_BLOCK
480
470
  # [1,2].first # => 1
481
471
  # [1,2].first(1) # => [1]
482
472
  #
483
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/chain_array_allocation.rb:30
473
+ # source://rubocop-performance//lib/rubocop/cop/performance/chain_array_allocation.rb#30
484
474
  RuboCop::Cop::Performance::ChainArrayAllocation::RETURN_NEW_ARRAY_WHEN_ARGS = T.let(T.unsafe(nil), Set)
485
475
 
486
476
  # Identifies places where Array and Hash literals are used within loops.
@@ -509,83 +499,83 @@ RuboCop::Cop::Performance::ChainArrayAllocation::RETURN_NEW_ARRAY_WHEN_ARGS = T.
509
499
  # ADMIN_ROLES.include?(user.role)
510
500
  # end
511
501
  #
512
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:34
502
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#34
513
503
  class RuboCop::Cop::Performance::CollectionLiteralInLoop < ::RuboCop::Cop::Base
514
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:74
504
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#74
515
505
  def enumerable_loop?(param0 = T.unsafe(nil)); end
516
506
 
517
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:68
507
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#68
518
508
  def kernel_loop?(param0 = T.unsafe(nil)); end
519
509
 
520
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:80
510
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#80
521
511
  def on_send(node); end
522
512
 
523
513
  private
524
514
 
525
515
  # @return [Boolean]
526
516
  #
527
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:90
517
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#90
528
518
  def check_literal?(node, method); end
529
519
 
530
520
  # @return [Boolean]
531
521
  #
532
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:130
522
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#130
533
523
  def enumerable_method?(method_name); end
534
524
 
535
525
  # @return [Boolean]
536
526
  #
537
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:112
527
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#112
538
528
  def keyword_loop?(type); end
539
529
 
540
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:122
530
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#122
541
531
  def literal_class(node); end
542
532
 
543
533
  # @return [Boolean]
544
534
  #
545
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:106
535
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#106
546
536
  def loop?(ancestor, node); end
547
537
 
548
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:134
538
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#134
549
539
  def min_size; end
550
540
 
551
541
  # @return [Boolean]
552
542
  #
553
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:116
543
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#116
554
544
  def node_within_enumerable_loop?(node, ancestor); end
555
545
 
556
546
  # @return [Boolean]
557
547
  #
558
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:97
548
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#97
559
549
  def nonmutable_method_of_array_or_hash?(node, method); end
560
550
 
561
551
  # @return [Boolean]
562
552
  #
563
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:102
553
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#102
564
554
  def parent_is_loop?(node); end
565
555
  end
566
556
 
567
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:56
557
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#56
568
558
  RuboCop::Cop::Performance::CollectionLiteralInLoop::ARRAY_METHODS = T.let(T.unsafe(nil), Set)
569
559
 
570
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:41
560
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#41
571
561
  RuboCop::Cop::Performance::CollectionLiteralInLoop::ENUMERABLE_METHOD_NAMES = T.let(T.unsafe(nil), Set)
572
562
 
573
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:66
563
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#66
574
564
  RuboCop::Cop::Performance::CollectionLiteralInLoop::HASH_METHODS = T.let(T.unsafe(nil), Set)
575
565
 
576
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:39
566
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#39
577
567
  RuboCop::Cop::Performance::CollectionLiteralInLoop::LOOP_TYPES = T.let(T.unsafe(nil), Array)
578
568
 
579
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:35
569
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#35
580
570
  RuboCop::Cop::Performance::CollectionLiteralInLoop::MSG = T.let(T.unsafe(nil), String)
581
571
 
582
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:42
572
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#42
583
573
  RuboCop::Cop::Performance::CollectionLiteralInLoop::NONMUTATING_ARRAY_METHODS = T.let(T.unsafe(nil), Array)
584
574
 
585
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:58
575
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#58
586
576
  RuboCop::Cop::Performance::CollectionLiteralInLoop::NONMUTATING_HASH_METHODS = T.let(T.unsafe(nil), Array)
587
577
 
588
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/collection_literal_in_loop.rb:38
578
+ # source://rubocop-performance//lib/rubocop/cop/performance/collection_literal_in_loop.rb#38
589
579
  RuboCop::Cop::Performance::CollectionLiteralInLoop::POST_CONDITION_LOOP_TYPES = T.let(T.unsafe(nil), Array)
590
580
 
591
581
  # Identifies places where `sort { |a, b| a.foo <=> b.foo }`
@@ -609,35 +599,35 @@ RuboCop::Cop::Performance::CollectionLiteralInLoop::POST_CONDITION_LOOP_TYPES =
609
599
  # array.min_by(&:foo)
610
600
  # array.sort_by { |a| a[:foo] }
611
601
  #
612
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/compare_with_block.rb:26
602
+ # source://rubocop-performance//lib/rubocop/cop/performance/compare_with_block.rb#26
613
603
  class RuboCop::Cop::Performance::CompareWithBlock < ::RuboCop::Cop::Base
614
604
  include ::RuboCop::Cop::RangeHelp
615
605
  extend ::RuboCop::Cop::AutoCorrector
616
606
 
617
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/compare_with_block.rb:34
607
+ # source://rubocop-performance//lib/rubocop/cop/performance/compare_with_block.rb#34
618
608
  def compare?(param0 = T.unsafe(nil)); end
619
609
 
620
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/compare_with_block.rb:48
610
+ # source://rubocop-performance//lib/rubocop/cop/performance/compare_with_block.rb#48
621
611
  def on_block(node); end
622
612
 
623
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/compare_with_block.rb:41
613
+ # source://rubocop-performance//lib/rubocop/cop/performance/compare_with_block.rb#41
624
614
  def replaceable_body?(param0 = T.unsafe(nil), param1, param2); end
625
615
 
626
616
  private
627
617
 
628
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/compare_with_block.rb:105
618
+ # source://rubocop-performance//lib/rubocop/cop/performance/compare_with_block.rb#105
629
619
  def compare_range(send, node); end
630
620
 
631
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/compare_with_block.rb:84
621
+ # source://rubocop-performance//lib/rubocop/cop/performance/compare_with_block.rb#84
632
622
  def message(send, method, var_a, var_b, args); end
633
623
 
634
624
  # @return [Boolean]
635
625
  #
636
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/compare_with_block.rb:69
626
+ # source://rubocop-performance//lib/rubocop/cop/performance/compare_with_block.rb#69
637
627
  def slow_compare?(method, args_a, args_b); end
638
628
  end
639
629
 
640
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/compare_with_block.rb:30
630
+ # source://rubocop-performance//lib/rubocop/cop/performance/compare_with_block.rb#30
641
631
  RuboCop::Cop::Performance::CompareWithBlock::MSG = T.let(T.unsafe(nil), String)
642
632
 
643
633
  # Identifies places where `Concurrent.monotonic_time`
@@ -651,21 +641,21 @@ RuboCop::Cop::Performance::CompareWithBlock::MSG = T.let(T.unsafe(nil), String)
651
641
  # # good
652
642
  # Process.clock_gettime(Process::CLOCK_MONOTONIC)
653
643
  #
654
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/concurrent_monotonic_time.rb:17
644
+ # source://rubocop-performance//lib/rubocop/cop/performance/concurrent_monotonic_time.rb#17
655
645
  class RuboCop::Cop::Performance::ConcurrentMonotonicTime < ::RuboCop::Cop::Base
656
646
  extend ::RuboCop::Cop::AutoCorrector
657
647
 
658
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/concurrent_monotonic_time.rb:23
648
+ # source://rubocop-performance//lib/rubocop/cop/performance/concurrent_monotonic_time.rb#23
659
649
  def concurrent_monotonic_time?(param0 = T.unsafe(nil)); end
660
650
 
661
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/concurrent_monotonic_time.rb:28
651
+ # source://rubocop-performance//lib/rubocop/cop/performance/concurrent_monotonic_time.rb#28
662
652
  def on_send(node); end
663
653
  end
664
654
 
665
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/concurrent_monotonic_time.rb:20
655
+ # source://rubocop-performance//lib/rubocop/cop/performance/concurrent_monotonic_time.rb#20
666
656
  RuboCop::Cop::Performance::ConcurrentMonotonicTime::MSG = T.let(T.unsafe(nil), String)
667
657
 
668
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/concurrent_monotonic_time.rb:21
658
+ # source://rubocop-performance//lib/rubocop/cop/performance/concurrent_monotonic_time.rb#21
669
659
  RuboCop::Cop::Performance::ConcurrentMonotonicTime::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
670
660
 
671
661
  # Finds regular expressions with dynamic components that are all constants.
@@ -698,30 +688,30 @@ RuboCop::Cop::Performance::ConcurrentMonotonicTime::RESTRICT_ON_SEND = T.let(T.u
698
688
  # @separators ||= /\A#{SEPARATORS}\Z/
699
689
  # end
700
690
  #
701
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/constant_regexp.rb:36
691
+ # source://rubocop-performance//lib/rubocop/cop/performance/constant_regexp.rb#36
702
692
  class RuboCop::Cop::Performance::ConstantRegexp < ::RuboCop::Cop::Base
703
693
  extend ::RuboCop::Cop::AutoCorrector
704
694
 
705
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/constant_regexp.rb:41
695
+ # source://rubocop-performance//lib/rubocop/cop/performance/constant_regexp.rb#41
706
696
  def on_regexp(node); end
707
697
 
708
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/constant_regexp.rb:57
698
+ # source://rubocop-performance//lib/rubocop/cop/performance/constant_regexp.rb#57
709
699
  def regexp_escape?(param0 = T.unsafe(nil)); end
710
700
 
711
701
  private
712
702
 
713
703
  # @return [Boolean]
714
704
  #
715
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/constant_regexp.rb:62
705
+ # source://rubocop-performance//lib/rubocop/cop/performance/constant_regexp.rb#62
716
706
  def include_interpolated_const?(node); end
717
707
 
718
708
  # @return [Boolean]
719
709
  #
720
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/constant_regexp.rb:53
710
+ # source://rubocop-performance//lib/rubocop/cop/performance/constant_regexp.rb#53
721
711
  def within_allowed_assignment?(node); end
722
712
  end
723
713
 
724
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/constant_regexp.rb:39
714
+ # source://rubocop-performance//lib/rubocop/cop/performance/constant_regexp.rb#39
725
715
  RuboCop::Cop::Performance::ConstantRegexp::MSG = T.let(T.unsafe(nil), String)
726
716
 
727
717
  # Identifies usages of `count` on an `Enumerable` that
@@ -746,35 +736,35 @@ RuboCop::Cop::Performance::ConstantRegexp::MSG = T.let(T.unsafe(nil), String)
746
736
  # Model.select('field AS field_one').count
747
737
  # Model.select(:value).count
748
738
  #
749
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/count.rb:49
739
+ # source://rubocop-performance//lib/rubocop/cop/performance/count.rb#49
750
740
  class RuboCop::Cop::Performance::Count < ::RuboCop::Cop::Base
751
741
  include ::RuboCop::Cop::RangeHelp
752
742
  extend ::RuboCop::Cop::AutoCorrector
753
743
 
754
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/count.rb:56
744
+ # source://rubocop-performance//lib/rubocop/cop/performance/count.rb#56
755
745
  def count_candidate?(param0 = T.unsafe(nil)); end
756
746
 
757
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/count.rb:63
747
+ # source://rubocop-performance//lib/rubocop/cop/performance/count.rb#63
758
748
  def on_send(node); end
759
749
 
760
750
  private
761
751
 
762
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/count.rb:79
752
+ # source://rubocop-performance//lib/rubocop/cop/performance/count.rb#79
763
753
  def autocorrect(corrector, node, selector_node, selector); end
764
754
 
765
755
  # @return [Boolean]
766
756
  #
767
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/count.rb:90
757
+ # source://rubocop-performance//lib/rubocop/cop/performance/count.rb#90
768
758
  def eligible_node?(node); end
769
759
 
770
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/count.rb:94
760
+ # source://rubocop-performance//lib/rubocop/cop/performance/count.rb#94
771
761
  def source_starting_at(node); end
772
762
  end
773
763
 
774
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/count.rb:53
764
+ # source://rubocop-performance//lib/rubocop/cop/performance/count.rb#53
775
765
  RuboCop::Cop::Performance::Count::MSG = T.let(T.unsafe(nil), String)
776
766
 
777
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/count.rb:54
767
+ # source://rubocop-performance//lib/rubocop/cop/performance/count.rb#54
778
768
  RuboCop::Cop::Performance::Count::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
779
769
 
780
770
  # In Ruby 2.5, `String#delete_prefix` has been added.
@@ -815,26 +805,26 @@ RuboCop::Cop::Performance::Count::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
815
805
  # str.sub(/^prefix/, '')
816
806
  # str.sub!(/^prefix/, '')
817
807
  #
818
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_prefix.rb:49
808
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_prefix.rb#49
819
809
  class RuboCop::Cop::Performance::DeletePrefix < ::RuboCop::Cop::Base
820
810
  include ::RuboCop::Cop::RegexpMetacharacter
821
811
  extend ::RuboCop::Cop::AutoCorrector
822
812
  extend ::RuboCop::Cop::TargetRubyVersion
823
813
 
824
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_prefix.rb:66
814
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_prefix.rb#66
825
815
  def delete_prefix_candidate?(param0 = T.unsafe(nil)); end
826
816
 
827
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_prefix.rb:70
817
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_prefix.rb#70
828
818
  def on_send(node); end
829
819
  end
830
820
 
831
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_prefix.rb:56
821
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_prefix.rb#56
832
822
  RuboCop::Cop::Performance::DeletePrefix::MSG = T.let(T.unsafe(nil), String)
833
823
 
834
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_prefix.rb:59
824
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_prefix.rb#59
835
825
  RuboCop::Cop::Performance::DeletePrefix::PREFERRED_METHODS = T.let(T.unsafe(nil), Hash)
836
826
 
837
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_prefix.rb:57
827
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_prefix.rb#57
838
828
  RuboCop::Cop::Performance::DeletePrefix::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
839
829
 
840
830
  # In Ruby 2.5, `String#delete_suffix` has been added.
@@ -875,26 +865,26 @@ RuboCop::Cop::Performance::DeletePrefix::RESTRICT_ON_SEND = T.let(T.unsafe(nil),
875
865
  # str.sub(/suffix$/, '')
876
866
  # str.sub!(/suffix$/, '')
877
867
  #
878
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_suffix.rb:49
868
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_suffix.rb#49
879
869
  class RuboCop::Cop::Performance::DeleteSuffix < ::RuboCop::Cop::Base
880
870
  include ::RuboCop::Cop::RegexpMetacharacter
881
871
  extend ::RuboCop::Cop::AutoCorrector
882
872
  extend ::RuboCop::Cop::TargetRubyVersion
883
873
 
884
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_suffix.rb:66
874
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_suffix.rb#66
885
875
  def delete_suffix_candidate?(param0 = T.unsafe(nil)); end
886
876
 
887
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_suffix.rb:70
877
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_suffix.rb#70
888
878
  def on_send(node); end
889
879
  end
890
880
 
891
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_suffix.rb:56
881
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_suffix.rb#56
892
882
  RuboCop::Cop::Performance::DeleteSuffix::MSG = T.let(T.unsafe(nil), String)
893
883
 
894
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_suffix.rb:59
884
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_suffix.rb#59
895
885
  RuboCop::Cop::Performance::DeleteSuffix::PREFERRED_METHODS = T.let(T.unsafe(nil), Hash)
896
886
 
897
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/delete_suffix.rb:57
887
+ # source://rubocop-performance//lib/rubocop/cop/performance/delete_suffix.rb#57
898
888
  RuboCop::Cop::Performance::DeleteSuffix::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
899
889
 
900
890
  # Identifies usages of `first`, `last`, `[0]` or `[-1]`
@@ -916,60 +906,60 @@ RuboCop::Cop::Performance::DeleteSuffix::RESTRICT_ON_SEND = T.let(T.unsafe(nil),
916
906
  # [].detect { |item| true }
917
907
  # [].reverse.detect { |item| true }
918
908
  #
919
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:30
909
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#30
920
910
  class RuboCop::Cop::Performance::Detect < ::RuboCop::Cop::Base
921
911
  extend ::RuboCop::Cop::AutoCorrector
922
912
 
923
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:41
913
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#41
924
914
  def detect_candidate?(param0 = T.unsafe(nil)); end
925
915
 
926
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:50
916
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#50
927
917
  def on_send(node); end
928
918
 
929
919
  private
930
920
 
931
921
  # @return [Boolean]
932
922
  #
933
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:69
923
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#69
934
924
  def accept_first_call?(receiver, body); end
935
925
 
936
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:101
926
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#101
937
927
  def autocorrect(corrector, node, replacement); end
938
928
 
939
929
  # @return [Boolean]
940
930
  #
941
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:127
931
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#127
942
932
  def lazy?(node); end
943
933
 
944
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:112
934
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#112
945
935
  def message_for_method(method, index); end
946
936
 
947
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:123
937
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#123
948
938
  def preferred_method; end
949
939
 
950
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:78
940
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#78
951
941
  def register_offense(node, receiver, second_method, index); end
952
942
 
953
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:93
943
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#93
954
944
  def replacement(method, index); end
955
945
  end
956
946
 
957
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:33
947
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#33
958
948
  RuboCop::Cop::Performance::Detect::CANDIDATE_METHODS = T.let(T.unsafe(nil), Set)
959
949
 
960
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:37
950
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#37
961
951
  RuboCop::Cop::Performance::Detect::INDEX_MSG = T.let(T.unsafe(nil), String)
962
952
 
963
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:38
953
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#38
964
954
  RuboCop::Cop::Performance::Detect::INDEX_REVERSE_MSG = T.let(T.unsafe(nil), String)
965
955
 
966
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:35
956
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#35
967
957
  RuboCop::Cop::Performance::Detect::MSG = T.let(T.unsafe(nil), String)
968
958
 
969
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:39
959
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#39
970
960
  RuboCop::Cop::Performance::Detect::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
971
961
 
972
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/detect.rb:36
962
+ # source://rubocop-performance//lib/rubocop/cop/performance/detect.rb#36
973
963
  RuboCop::Cop::Performance::Detect::REVERSE_MSG = T.let(T.unsafe(nil), String)
974
964
 
975
965
  # Checks for double `#start_with?` or `#end_with?` calls
@@ -1005,40 +995,40 @@ RuboCop::Cop::Performance::Detect::REVERSE_MSG = T.let(T.unsafe(nil), String)
1005
995
  # str.starts_with?("a", "b", "c")
1006
996
  # str.ends_with?(var1, var2)
1007
997
  #
1008
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:41
998
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#41
1009
999
  class RuboCop::Cop::Performance::DoubleStartEndWith < ::RuboCop::Cop::Base
1010
1000
  extend ::RuboCop::Cop::AutoCorrector
1011
1001
 
1012
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:97
1002
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#97
1013
1003
  def check_with_active_support_aliases(param0 = T.unsafe(nil)); end
1014
1004
 
1015
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:47
1005
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#47
1016
1006
  def on_or(node); end
1017
1007
 
1018
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:91
1008
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#91
1019
1009
  def two_start_end_with_calls(param0 = T.unsafe(nil)); end
1020
1010
 
1021
1011
  private
1022
1012
 
1023
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:61
1013
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#61
1024
1014
  def autocorrect(corrector, first_call_args, second_call_args, combined_args); end
1025
1015
 
1026
1016
  # @return [Boolean]
1027
1017
  #
1028
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:87
1018
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#87
1029
1019
  def check_for_active_support_aliases?; end
1030
1020
 
1031
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:83
1021
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#83
1032
1022
  def combine_args(first_call_args, second_call_args); end
1033
1023
 
1034
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:77
1024
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#77
1035
1025
  def message(node, receiver, method, combined_args); end
1036
1026
 
1037
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:69
1027
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#69
1038
1028
  def process_source(node); end
1039
1029
  end
1040
1030
 
1041
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/double_start_end_with.rb:44
1031
+ # source://rubocop-performance//lib/rubocop/cop/performance/double_start_end_with.rb#44
1042
1032
  RuboCop::Cop::Performance::DoubleStartEndWith::MSG = T.let(T.unsafe(nil), String)
1043
1033
 
1044
1034
  # Identifies unnecessary use of a regex where `String#end_with?` would suffice.
@@ -1077,25 +1067,25 @@ RuboCop::Cop::Performance::DoubleStartEndWith::MSG = T.let(T.unsafe(nil), String
1077
1067
  # 'abc'.match(/bc$/)
1078
1068
  # /bc$/.match('abc')
1079
1069
  #
1080
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/end_with.rb:49
1070
+ # source://rubocop-performance//lib/rubocop/cop/performance/end_with.rb#49
1081
1071
  class RuboCop::Cop::Performance::EndWith < ::RuboCop::Cop::Base
1082
1072
  include ::RuboCop::Cop::RegexpMetacharacter
1083
1073
  extend ::RuboCop::Cop::AutoCorrector
1084
1074
 
1085
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/end_with.rb:63
1075
+ # source://rubocop-performance//lib/rubocop/cop/performance/end_with.rb#63
1086
1076
  def on_match_with_lvasgn(node); end
1087
1077
 
1088
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/end_with.rb:63
1078
+ # source://rubocop-performance//lib/rubocop/cop/performance/end_with.rb#63
1089
1079
  def on_send(node); end
1090
1080
 
1091
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/end_with.rb:57
1081
+ # source://rubocop-performance//lib/rubocop/cop/performance/end_with.rb#57
1092
1082
  def redundant_regex?(param0 = T.unsafe(nil)); end
1093
1083
  end
1094
1084
 
1095
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/end_with.rb:53
1085
+ # source://rubocop-performance//lib/rubocop/cop/performance/end_with.rb#53
1096
1086
  RuboCop::Cop::Performance::EndWith::MSG = T.let(T.unsafe(nil), String)
1097
1087
 
1098
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/end_with.rb:55
1088
+ # source://rubocop-performance//lib/rubocop/cop/performance/end_with.rb#55
1099
1089
  RuboCop::Cop::Performance::EndWith::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1100
1090
 
1101
1091
  # Do not compute the size of statically sized objects.
@@ -1140,51 +1130,51 @@ RuboCop::Cop::Performance::EndWith::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra
1140
1130
  # waldo = { a: corge, b: grault }
1141
1131
  # waldo.size
1142
1132
  #
1143
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:48
1133
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#48
1144
1134
  class RuboCop::Cop::Performance::FixedSize < ::RuboCop::Cop::Base
1145
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:52
1135
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#52
1146
1136
  def counter(param0 = T.unsafe(nil)); end
1147
1137
 
1148
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:56
1138
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#56
1149
1139
  def on_send(node); end
1150
1140
 
1151
1141
  private
1152
1142
 
1153
1143
  # @return [Boolean]
1154
1144
  #
1155
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:72
1145
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#72
1156
1146
  def allowed_argument?(arg); end
1157
1147
 
1158
1148
  # @return [Boolean]
1159
1149
  #
1160
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:76
1150
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#76
1161
1151
  def allowed_parent?(node); end
1162
1152
 
1163
1153
  # @return [Boolean]
1164
1154
  #
1165
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:68
1155
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#68
1166
1156
  def allowed_variable?(var); end
1167
1157
 
1168
1158
  # @return [Boolean]
1169
1159
  #
1170
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:86
1160
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#86
1171
1161
  def contains_double_splat?(node); end
1172
1162
 
1173
1163
  # @return [Boolean]
1174
1164
  #
1175
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:80
1165
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#80
1176
1166
  def contains_splat?(node); end
1177
1167
 
1178
1168
  # @return [Boolean]
1179
1169
  #
1180
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:92
1170
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#92
1181
1171
  def non_string_argument?(node); end
1182
1172
  end
1183
1173
 
1184
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:49
1174
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#49
1185
1175
  RuboCop::Cop::Performance::FixedSize::MSG = T.let(T.unsafe(nil), String)
1186
1176
 
1187
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/fixed_size.rb:50
1177
+ # source://rubocop-performance//lib/rubocop/cop/performance/fixed_size.rb#50
1188
1178
  RuboCop::Cop::Performance::FixedSize::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1189
1179
 
1190
1180
  # Identifies usages of `map { ... }.flatten` and
@@ -1200,39 +1190,39 @@ RuboCop::Cop::Performance::FixedSize::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar
1200
1190
  # [1, 2, 3, 4].map { |e| [e, e] }.flatten
1201
1191
  # [1, 2, 3, 4].collect { |e| [e, e] }.flatten
1202
1192
  #
1203
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:18
1193
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#18
1204
1194
  class RuboCop::Cop::Performance::FlatMap < ::RuboCop::Cop::Base
1205
1195
  include ::RuboCop::Cop::RangeHelp
1206
1196
  extend ::RuboCop::Cop::AutoCorrector
1207
1197
 
1208
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:28
1198
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#28
1209
1199
  def flat_map_candidate?(param0 = T.unsafe(nil)); end
1210
1200
 
1211
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:39
1201
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#39
1212
1202
  def on_send(node); end
1213
1203
 
1214
1204
  private
1215
1205
 
1216
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:71
1206
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#71
1217
1207
  def autocorrect(corrector, node); end
1218
1208
 
1219
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:52
1209
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#52
1220
1210
  def offense_for_levels(node, map_node, first_method, flatten); end
1221
1211
 
1222
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:58
1212
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#58
1223
1213
  def offense_for_method(node, map_node, first_method, flatten); end
1224
1214
 
1225
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:62
1215
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#62
1226
1216
  def register_offense(node, map_node, first_method, flatten, message); end
1227
1217
  end
1228
1218
 
1229
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:24
1219
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#24
1230
1220
  RuboCop::Cop::Performance::FlatMap::FLATTEN_MULTIPLE_LEVELS = T.let(T.unsafe(nil), String)
1231
1221
 
1232
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:22
1222
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#22
1233
1223
  RuboCop::Cop::Performance::FlatMap::MSG = T.let(T.unsafe(nil), String)
1234
1224
 
1235
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/flat_map.rb:23
1225
+ # source://rubocop-performance//lib/rubocop/cop/performance/flat_map.rb#23
1236
1226
  RuboCop::Cop::Performance::FlatMap::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1237
1227
 
1238
1228
  # Checks for inefficient searching of keys and values within
@@ -1268,38 +1258,38 @@ RuboCop::Cop::Performance::FlatMap::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra
1268
1258
  # { a: 1, b: 2 }.has_value?('garbage')
1269
1259
  # h = { a: 1, b: 2 }; h.value?(nil)
1270
1260
  #
1271
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:42
1261
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#42
1272
1262
  class RuboCop::Cop::Performance::InefficientHashSearch < ::RuboCop::Cop::Base
1273
1263
  extend ::RuboCop::Cop::AutoCorrector
1274
1264
 
1275
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:47
1265
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#47
1276
1266
  def inefficient_include?(param0 = T.unsafe(nil)); end
1277
1267
 
1278
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:51
1268
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#51
1279
1269
  def on_send(node); end
1280
1270
 
1281
1271
  private
1282
1272
 
1283
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:91
1273
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#91
1284
1274
  def autocorrect_argument(node); end
1285
1275
 
1286
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:95
1276
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#95
1287
1277
  def autocorrect_hash_expression(node); end
1288
1278
 
1289
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:73
1279
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#73
1290
1280
  def autocorrect_method(node); end
1291
1281
 
1292
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:80
1282
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#80
1293
1283
  def current_method(node); end
1294
1284
 
1295
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:69
1285
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#69
1296
1286
  def message(node); end
1297
1287
 
1298
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:84
1288
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#84
1299
1289
  def use_long_method; end
1300
1290
  end
1301
1291
 
1302
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/inefficient_hash_search.rb:45
1292
+ # source://rubocop-performance//lib/rubocop/cop/performance/inefficient_hash_search.rb#45
1303
1293
  RuboCop::Cop::Performance::InefficientHashSearch::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1304
1294
 
1305
1295
  # Identifies places where inefficient `readlines` method
@@ -1323,45 +1313,45 @@ RuboCop::Cop::Performance::InefficientHashSearch::RESTRICT_ON_SEND = T.let(T.uns
1323
1313
  # file.each_line.find { |l| l.start_with?('#') }
1324
1314
  # file.each_line { |l| puts l }
1325
1315
  #
1326
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:27
1316
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#27
1327
1317
  class RuboCop::Cop::Performance::IoReadlines < ::RuboCop::Cop::Base
1328
1318
  include ::RuboCop::Cop::RangeHelp
1329
1319
  extend ::RuboCop::Cop::AutoCorrector
1330
1320
 
1331
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:42
1321
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#42
1332
1322
  def on_send(node); end
1333
1323
 
1334
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:34
1324
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#34
1335
1325
  def readlines_on_class?(param0 = T.unsafe(nil)); end
1336
1326
 
1337
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:38
1327
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#38
1338
1328
  def readlines_on_instance?(param0 = T.unsafe(nil)); end
1339
1329
 
1340
1330
  private
1341
1331
 
1342
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:58
1332
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#58
1343
1333
  def autocorrect(corrector, enumerable_call, readlines_call, receiver); end
1344
1334
 
1345
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:90
1335
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#90
1346
1336
  def build_bad_method(enumerable_call); end
1347
1337
 
1348
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:106
1338
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#106
1349
1339
  def build_call_args(call_args_node); end
1350
1340
 
1351
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:82
1341
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#82
1352
1342
  def build_good_method(enumerable_call); end
1353
1343
 
1354
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:94
1344
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#94
1355
1345
  def correction_range(enumerable_call, readlines_call); end
1356
1346
 
1357
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:76
1347
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#76
1358
1348
  def offense_range(enumerable_call, readlines_call); end
1359
1349
  end
1360
1350
 
1361
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:31
1351
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#31
1362
1352
  RuboCop::Cop::Performance::IoReadlines::MSG = T.let(T.unsafe(nil), String)
1363
1353
 
1364
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/io_readlines.rb:32
1354
+ # source://rubocop-performance//lib/rubocop/cop/performance/io_readlines.rb#32
1365
1355
  RuboCop::Cop::Performance::IoReadlines::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1366
1356
 
1367
1357
  # In Ruby 2.7, `Enumerable#filter_map` has been added.
@@ -1384,41 +1374,41 @@ RuboCop::Cop::Performance::IoReadlines::RESTRICT_ON_SEND = T.let(T.unsafe(nil),
1384
1374
  # ary.map(&:foo).compact!
1385
1375
  # ary.compact.map(&:foo)
1386
1376
  #
1387
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/map_compact.rb:30
1377
+ # source://rubocop-performance//lib/rubocop/cop/performance/map_compact.rb#30
1388
1378
  class RuboCop::Cop::Performance::MapCompact < ::RuboCop::Cop::Base
1389
1379
  include ::RuboCop::Cop::RangeHelp
1390
1380
  extend ::RuboCop::Cop::AutoCorrector
1391
1381
  extend ::RuboCop::Cop::TargetRubyVersion
1392
1382
 
1393
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/map_compact.rb:40
1383
+ # source://rubocop-performance//lib/rubocop/cop/performance/map_compact.rb#40
1394
1384
  def map_compact(param0 = T.unsafe(nil)); end
1395
1385
 
1396
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/map_compact.rb:53
1386
+ # source://rubocop-performance//lib/rubocop/cop/performance/map_compact.rb#53
1397
1387
  def on_send(node); end
1398
1388
 
1399
1389
  private
1400
1390
 
1401
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/map_compact.rb:89
1391
+ # source://rubocop-performance//lib/rubocop/cop/performance/map_compact.rb#89
1402
1392
  def compact_method_with_final_newline_range(compact_method_range); end
1403
1393
 
1404
1394
  # @return [Boolean]
1405
1395
  #
1406
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/map_compact.rb:85
1396
+ # source://rubocop-performance//lib/rubocop/cop/performance/map_compact.rb#85
1407
1397
  def invoke_method_after_map_compact_on_same_line?(compact_node, chained_method); end
1408
1398
 
1409
1399
  # @return [Boolean]
1410
1400
  #
1411
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/map_compact.rb:81
1401
+ # source://rubocop-performance//lib/rubocop/cop/performance/map_compact.rb#81
1412
1402
  def map_method_and_compact_method_on_same_line?(map_node, compact_node); end
1413
1403
 
1414
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/map_compact.rb:67
1404
+ # source://rubocop-performance//lib/rubocop/cop/performance/map_compact.rb#67
1415
1405
  def remove_compact_method(corrector, map_node, compact_node, chained_method); end
1416
1406
  end
1417
1407
 
1418
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/map_compact.rb:35
1408
+ # source://rubocop-performance//lib/rubocop/cop/performance/map_compact.rb#35
1419
1409
  RuboCop::Cop::Performance::MapCompact::MSG = T.let(T.unsafe(nil), String)
1420
1410
 
1421
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/map_compact.rb:36
1411
+ # source://rubocop-performance//lib/rubocop/cop/performance/map_compact.rb#36
1422
1412
  RuboCop::Cop::Performance::MapCompact::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1423
1413
 
1424
1414
  # Identifies places where methods are converted to blocks, with the
@@ -1434,16 +1424,16 @@ RuboCop::Cop::Performance::MapCompact::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A
1434
1424
  # array.map { |x| do_something(x) }
1435
1425
  # [1, 2, 3].each { |x| out.puts(x) }
1436
1426
  #
1437
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/method_object_as_block.rb:19
1427
+ # source://rubocop-performance//lib/rubocop/cop/performance/method_object_as_block.rb#19
1438
1428
  class RuboCop::Cop::Performance::MethodObjectAsBlock < ::RuboCop::Cop::Base
1439
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/method_object_as_block.rb:22
1429
+ # source://rubocop-performance//lib/rubocop/cop/performance/method_object_as_block.rb#22
1440
1430
  def method_object_as_argument?(param0 = T.unsafe(nil)); end
1441
1431
 
1442
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/method_object_as_block.rb:26
1432
+ # source://rubocop-performance//lib/rubocop/cop/performance/method_object_as_block.rb#26
1443
1433
  def on_block_pass(node); end
1444
1434
  end
1445
1435
 
1446
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/method_object_as_block.rb:20
1436
+ # source://rubocop-performance//lib/rubocop/cop/performance/method_object_as_block.rb#20
1447
1437
  RuboCop::Cop::Performance::MethodObjectAsBlock::MSG = T.let(T.unsafe(nil), String)
1448
1438
 
1449
1439
  # Checks for `OpenStruct.new` calls.
@@ -1470,19 +1460,19 @@ RuboCop::Cop::Performance::MethodObjectAsBlock::MSG = T.let(T.unsafe(nil), Strin
1470
1460
  # end
1471
1461
  # end
1472
1462
  #
1473
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/open_struct.rb:34
1463
+ # source://rubocop-performance//lib/rubocop/cop/performance/open_struct.rb#34
1474
1464
  class RuboCop::Cop::Performance::OpenStruct < ::RuboCop::Cop::Base
1475
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/open_struct.rb:43
1465
+ # source://rubocop-performance//lib/rubocop/cop/performance/open_struct.rb#43
1476
1466
  def on_send(node); end
1477
1467
 
1478
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/open_struct.rb:39
1468
+ # source://rubocop-performance//lib/rubocop/cop/performance/open_struct.rb#39
1479
1469
  def open_struct(param0 = T.unsafe(nil)); end
1480
1470
  end
1481
1471
 
1482
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/open_struct.rb:35
1472
+ # source://rubocop-performance//lib/rubocop/cop/performance/open_struct.rb#35
1483
1473
  RuboCop::Cop::Performance::OpenStruct::MSG = T.let(T.unsafe(nil), String)
1484
1474
 
1485
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/open_struct.rb:37
1475
+ # source://rubocop-performance//lib/rubocop/cop/performance/open_struct.rb#37
1486
1476
  RuboCop::Cop::Performance::OpenStruct::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1487
1477
 
1488
1478
  # Identifies uses of `Range#include?` and `Range#member?`, which iterates over each
@@ -1504,21 +1494,21 @@ RuboCop::Cop::Performance::OpenStruct::RESTRICT_ON_SEND = T.let(T.unsafe(nil), A
1504
1494
  #
1505
1495
  # ('a'..'z').cover?('yellow') # => true
1506
1496
  #
1507
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/range_include.rb:28
1497
+ # source://rubocop-performance//lib/rubocop/cop/performance/range_include.rb#28
1508
1498
  class RuboCop::Cop::Performance::RangeInclude < ::RuboCop::Cop::Base
1509
1499
  extend ::RuboCop::Cop::AutoCorrector
1510
1500
 
1511
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/range_include.rb:43
1501
+ # source://rubocop-performance//lib/rubocop/cop/performance/range_include.rb#43
1512
1502
  def on_send(node); end
1513
1503
 
1514
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/range_include.rb:39
1504
+ # source://rubocop-performance//lib/rubocop/cop/performance/range_include.rb#39
1515
1505
  def range_include(param0 = T.unsafe(nil)); end
1516
1506
  end
1517
1507
 
1518
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/range_include.rb:31
1508
+ # source://rubocop-performance//lib/rubocop/cop/performance/range_include.rb#31
1519
1509
  RuboCop::Cop::Performance::RangeInclude::MSG = T.let(T.unsafe(nil), String)
1520
1510
 
1521
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/range_include.rb:32
1511
+ # source://rubocop-performance//lib/rubocop/cop/performance/range_include.rb#32
1522
1512
  RuboCop::Cop::Performance::RangeInclude::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1523
1513
 
1524
1514
  # Identifies the use of a `&block` parameter and `block.call`
@@ -1541,59 +1531,59 @@ RuboCop::Cop::Performance::RangeInclude::RESTRICT_ON_SEND = T.let(T.unsafe(nil),
1541
1531
  # yield 1, 2, 3
1542
1532
  # end
1543
1533
  #
1544
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:25
1534
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#25
1545
1535
  class RuboCop::Cop::Performance::RedundantBlockCall < ::RuboCop::Cop::Base
1546
1536
  extend ::RuboCop::Cop::AutoCorrector
1547
1537
 
1548
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:43
1538
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#43
1549
1539
  def blockarg_assigned?(param0, param1); end
1550
1540
 
1551
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:39
1541
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#39
1552
1542
  def blockarg_calls(param0, param1); end
1553
1543
 
1554
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:34
1544
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#34
1555
1545
  def blockarg_def(param0 = T.unsafe(nil)); end
1556
1546
 
1557
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:47
1547
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#47
1558
1548
  def on_def(node); end
1559
1549
 
1560
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:47
1550
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#47
1561
1551
  def on_defs(node); end
1562
1552
 
1563
1553
  private
1564
1554
 
1565
1555
  # @return [Boolean]
1566
1556
  #
1567
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:97
1557
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#97
1568
1558
  def args_include_block_pass?(blockcall); end
1569
1559
 
1570
1560
  # offenses are registered on the `block.call` nodes
1571
1561
  #
1572
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:63
1562
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#63
1573
1563
  def autocorrect(corrector, node); end
1574
1564
 
1575
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:81
1565
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#81
1576
1566
  def calls_to_report(argname, body); end
1577
1567
 
1578
1568
  # @return [Boolean]
1579
1569
  #
1580
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:91
1570
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#91
1581
1571
  def shadowed_block_argument?(body, block_argument_of_method_signature); end
1582
1572
  end
1583
1573
 
1584
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:31
1574
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#31
1585
1575
  RuboCop::Cop::Performance::RedundantBlockCall::CLOSE_PAREN = T.let(T.unsafe(nil), String)
1586
1576
 
1587
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:28
1577
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#28
1588
1578
  RuboCop::Cop::Performance::RedundantBlockCall::MSG = T.let(T.unsafe(nil), String)
1589
1579
 
1590
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:30
1580
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#30
1591
1581
  RuboCop::Cop::Performance::RedundantBlockCall::OPEN_PAREN = T.let(T.unsafe(nil), String)
1592
1582
 
1593
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:32
1583
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#32
1594
1584
  RuboCop::Cop::Performance::RedundantBlockCall::SPACE = T.let(T.unsafe(nil), String)
1595
1585
 
1596
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_block_call.rb:29
1586
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_block_call.rb#29
1597
1587
  RuboCop::Cop::Performance::RedundantBlockCall::YIELD = T.let(T.unsafe(nil), String)
1598
1588
 
1599
1589
  # Checks for uses `Enumerable#all?`, `Enumerable#any?`, `Enumerable#one?`,
@@ -1613,53 +1603,53 @@ RuboCop::Cop::Performance::RedundantBlockCall::YIELD = T.let(T.unsafe(nil), Stri
1613
1603
  # # good
1614
1604
  # items.all?(pattern)
1615
1605
  #
1616
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:26
1606
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#26
1617
1607
  class RuboCop::Cop::Performance::RedundantEqualityComparisonBlock < ::RuboCop::Cop::Base
1618
1608
  extend ::RuboCop::Cop::AutoCorrector
1619
1609
  extend ::RuboCop::Cop::TargetRubyVersion
1620
1610
 
1621
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:38
1611
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#38
1622
1612
  def on_block(node); end
1623
1613
 
1624
1614
  private
1625
1615
 
1626
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:76
1616
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#76
1627
1617
  def new_argument(block_argument, block_body); end
1628
1618
 
1629
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:99
1619
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#99
1630
1620
  def offense_range(node); end
1631
1621
 
1632
1622
  # @return [Boolean]
1633
1623
  #
1634
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:58
1624
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#58
1635
1625
  def one_block_argument?(block_arguments); end
1636
1626
 
1637
1627
  # @return [Boolean]
1638
1628
  #
1639
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:66
1629
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#66
1640
1630
  def same_block_argument_and_is_a_argument?(block_body, block_argument); end
1641
1631
 
1642
1632
  # @return [Boolean]
1643
1633
  #
1644
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:90
1634
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#90
1645
1635
  def use_block_argument_in_method_argument_of_operand?(block_argument, operand); end
1646
1636
 
1647
1637
  # @return [Boolean]
1648
1638
  #
1649
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:62
1639
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#62
1650
1640
  def use_equality_comparison_block?(block_body); end
1651
1641
  end
1652
1642
 
1653
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:35
1643
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#35
1654
1644
  RuboCop::Cop::Performance::RedundantEqualityComparisonBlock::COMPARISON_METHODS = T.let(T.unsafe(nil), Array)
1655
1645
 
1656
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:36
1646
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#36
1657
1647
  RuboCop::Cop::Performance::RedundantEqualityComparisonBlock::IS_A_METHODS = T.let(T.unsafe(nil), Array)
1658
1648
 
1659
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:32
1649
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#32
1660
1650
  RuboCop::Cop::Performance::RedundantEqualityComparisonBlock::MSG = T.let(T.unsafe(nil), String)
1661
1651
 
1662
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_equality_comparison_block.rb:34
1652
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_equality_comparison_block.rb#34
1663
1653
  RuboCop::Cop::Performance::RedundantEqualityComparisonBlock::TARGET_METHODS = T.let(T.unsafe(nil), Array)
1664
1654
 
1665
1655
  # Identifies the use of `Regexp#match` or `String#match`, which
@@ -1677,29 +1667,29 @@ RuboCop::Cop::Performance::RedundantEqualityComparisonBlock::TARGET_METHODS = T.
1677
1667
  # method(str =~ /regex/)
1678
1668
  # return value unless regex =~ 'str'
1679
1669
  #
1680
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_match.rb:20
1670
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_match.rb#20
1681
1671
  class RuboCop::Cop::Performance::RedundantMatch < ::RuboCop::Cop::Base
1682
1672
  extend ::RuboCop::Cop::AutoCorrector
1683
1673
 
1684
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_match.rb:29
1674
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_match.rb#29
1685
1675
  def match_call?(param0 = T.unsafe(nil)); end
1686
1676
 
1687
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_match.rb:38
1677
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_match.rb#38
1688
1678
  def on_send(node); end
1689
1679
 
1690
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_match.rb:34
1680
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_match.rb#34
1691
1681
  def only_truthiness_matters?(param0 = T.unsafe(nil)); end
1692
1682
 
1693
1683
  private
1694
1684
 
1695
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_match.rb:50
1685
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_match.rb#50
1696
1686
  def autocorrect(corrector, node); end
1697
1687
  end
1698
1688
 
1699
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_match.rb:23
1689
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_match.rb#23
1700
1690
  RuboCop::Cop::Performance::RedundantMatch::MSG = T.let(T.unsafe(nil), String)
1701
1691
 
1702
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_match.rb:25
1692
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_match.rb#25
1703
1693
  RuboCop::Cop::Performance::RedundantMatch::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1704
1694
 
1705
1695
  # Identifies places where `Hash#merge!` can be replaced by `Hash#[]=`.
@@ -1722,123 +1712,123 @@ RuboCop::Cop::Performance::RedundantMatch::RESTRICT_ON_SEND = T.let(T.unsafe(nil
1722
1712
  # hash[:a] = 1
1723
1713
  # hash[:b] = 2
1724
1714
  #
1725
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:30
1715
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#30
1726
1716
  class RuboCop::Cop::Performance::RedundantMerge < ::RuboCop::Cop::Base
1727
1717
  extend ::RuboCop::Cop::AutoCorrector
1728
1718
 
1729
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:47
1719
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#47
1730
1720
  def modifier_flow_control?(param0 = T.unsafe(nil)); end
1731
1721
 
1732
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:51
1722
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#51
1733
1723
  def on_send(node); end
1734
1724
 
1735
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:43
1725
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#43
1736
1726
  def redundant_merge_candidate(param0 = T.unsafe(nil)); end
1737
1727
 
1738
1728
  private
1739
1729
 
1740
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:106
1730
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#106
1741
1731
  def correct_multiple_elements(corrector, node, parent, new_source); end
1742
1732
 
1743
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:118
1733
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#118
1744
1734
  def correct_single_element(corrector, node, new_source); end
1745
1735
 
1746
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:78
1736
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#78
1747
1737
  def each_redundant_merge(node); end
1748
1738
 
1749
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:150
1739
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#150
1750
1740
  def indent_width; end
1751
1741
 
1752
1742
  # @return [Boolean]
1753
1743
  #
1754
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:97
1744
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#97
1755
1745
  def kwsplat_used?(pairs); end
1756
1746
 
1757
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:146
1747
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#146
1758
1748
  def leading_spaces(node); end
1759
1749
 
1760
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:154
1750
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#154
1761
1751
  def max_key_value_pairs; end
1762
1752
 
1763
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:70
1753
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#70
1764
1754
  def message(node); end
1765
1755
 
1766
1756
  # @return [Boolean]
1767
1757
  #
1768
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:86
1758
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#86
1769
1759
  def non_redundant_merge?(node, receiver, pairs); end
1770
1760
 
1771
1761
  # @return [Boolean]
1772
1762
  #
1773
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:93
1763
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#93
1774
1764
  def non_redundant_pairs?(receiver, pairs); end
1775
1765
 
1776
1766
  # @return [Boolean]
1777
1767
  #
1778
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:101
1768
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#101
1779
1769
  def non_redundant_value_used?(receiver, node); end
1780
1770
 
1781
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:134
1771
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#134
1782
1772
  def rewrite_with_modifier(node, parent, new_source); end
1783
1773
 
1784
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:122
1774
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#122
1785
1775
  def to_assignments(receiver, pairs); end
1786
1776
  end
1787
1777
 
1788
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:33
1778
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#33
1789
1779
  RuboCop::Cop::Performance::RedundantMerge::AREF_ASGN = T.let(T.unsafe(nil), String)
1790
1780
 
1791
1781
  # A utility class for checking the use of values within an
1792
1782
  # `each_with_object` call.
1793
1783
  #
1794
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:160
1784
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#160
1795
1785
  class RuboCop::Cop::Performance::RedundantMerge::EachWithObjectInspector
1796
1786
  extend ::RuboCop::AST::NodePattern::Macros
1797
1787
 
1798
1788
  # @return [EachWithObjectInspector] a new instance of EachWithObjectInspector
1799
1789
  #
1800
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:163
1790
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#163
1801
1791
  def initialize(node, receiver); end
1802
1792
 
1803
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:194
1793
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#194
1804
1794
  def each_with_object_node(param0 = T.unsafe(nil)); end
1805
1795
 
1806
1796
  # @return [Boolean]
1807
1797
  #
1808
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:168
1798
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#168
1809
1799
  def value_used?; end
1810
1800
 
1811
1801
  private
1812
1802
 
1813
1803
  # @return [Boolean]
1814
1804
  #
1815
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:178
1805
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#178
1816
1806
  def eligible_receiver?; end
1817
1807
 
1818
1808
  # Returns the value of attribute node.
1819
1809
  #
1820
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:176
1810
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#176
1821
1811
  def node; end
1822
1812
 
1823
1813
  # Returns the value of attribute receiver.
1824
1814
  #
1825
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:176
1815
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#176
1826
1816
  def receiver; end
1827
1817
 
1828
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:182
1818
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#182
1829
1819
  def second_argument; end
1830
1820
 
1831
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:189
1821
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#189
1832
1822
  def unwind(receiver); end
1833
1823
  end
1834
1824
 
1835
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:34
1825
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#34
1836
1826
  RuboCop::Cop::Performance::RedundantMerge::MSG = T.let(T.unsafe(nil), String)
1837
1827
 
1838
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:35
1828
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#35
1839
1829
  RuboCop::Cop::Performance::RedundantMerge::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1840
1830
 
1841
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_merge.rb:37
1831
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_merge.rb#37
1842
1832
  RuboCop::Cop::Performance::RedundantMerge::WITH_MODIFIER_CORRECTION = T.let(T.unsafe(nil), String)
1843
1833
 
1844
1834
  # Identifies places where `sort { |a, b| a <=> b }` can be replaced with `sort`.
@@ -1850,22 +1840,22 @@ RuboCop::Cop::Performance::RedundantMerge::WITH_MODIFIER_CORRECTION = T.let(T.un
1850
1840
  # # good
1851
1841
  # array.sort
1852
1842
  #
1853
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_sort_block.rb:15
1843
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_sort_block.rb#15
1854
1844
  class RuboCop::Cop::Performance::RedundantSortBlock < ::RuboCop::Cop::Base
1855
1845
  include ::RuboCop::Cop::RangeHelp
1856
1846
  include ::RuboCop::Cop::SortBlock
1857
1847
  extend ::RuboCop::Cop::AutoCorrector
1858
1848
 
1859
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_sort_block.rb:21
1849
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_sort_block.rb#21
1860
1850
  def on_block(node); end
1861
1851
 
1862
1852
  private
1863
1853
 
1864
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_sort_block.rb:35
1854
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_sort_block.rb#35
1865
1855
  def message(var_a, var_b); end
1866
1856
  end
1867
1857
 
1868
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_sort_block.rb:19
1858
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_sort_block.rb#19
1869
1859
  RuboCop::Cop::Performance::RedundantSortBlock::MSG = T.let(T.unsafe(nil), String)
1870
1860
 
1871
1861
  # Identifies places where `split` argument can be replaced from
@@ -1878,37 +1868,37 @@ RuboCop::Cop::Performance::RedundantSortBlock::MSG = T.let(T.unsafe(nil), String
1878
1868
  # # good
1879
1869
  # 'a,b,c'.split(',')
1880
1870
  #
1881
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_split_regexp_argument.rb:15
1871
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_split_regexp_argument.rb#15
1882
1872
  class RuboCop::Cop::Performance::RedundantSplitRegexpArgument < ::RuboCop::Cop::Base
1883
1873
  extend ::RuboCop::Cop::AutoCorrector
1884
1874
 
1885
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_split_regexp_argument.rb:27
1875
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_split_regexp_argument.rb#27
1886
1876
  def on_send(node); end
1887
1877
 
1888
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_split_regexp_argument.rb:23
1878
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_split_regexp_argument.rb#23
1889
1879
  def split_call_with_regexp?(param0 = T.unsafe(nil)); end
1890
1880
 
1891
1881
  private
1892
1882
 
1893
1883
  # @return [Boolean]
1894
1884
  #
1895
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_split_regexp_argument.rb:41
1885
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_split_regexp_argument.rb#41
1896
1886
  def determinist_regexp?(regexp_node); end
1897
1887
 
1898
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_split_regexp_argument.rb:45
1888
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_split_regexp_argument.rb#45
1899
1889
  def replacement(regexp_node); end
1900
1890
  end
1901
1891
 
1902
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_split_regexp_argument.rb:20
1892
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_split_regexp_argument.rb#20
1903
1893
  RuboCop::Cop::Performance::RedundantSplitRegexpArgument::DETERMINISTIC_REGEX = T.let(T.unsafe(nil), Regexp)
1904
1894
 
1905
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_split_regexp_argument.rb:18
1895
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_split_regexp_argument.rb#18
1906
1896
  RuboCop::Cop::Performance::RedundantSplitRegexpArgument::MSG = T.let(T.unsafe(nil), String)
1907
1897
 
1908
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_split_regexp_argument.rb:19
1898
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_split_regexp_argument.rb#19
1909
1899
  RuboCop::Cop::Performance::RedundantSplitRegexpArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1910
1900
 
1911
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_split_regexp_argument.rb:21
1901
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_split_regexp_argument.rb#21
1912
1902
  RuboCop::Cop::Performance::RedundantSplitRegexpArgument::STR_SPECIAL_CHARS = T.let(T.unsafe(nil), Array)
1913
1903
 
1914
1904
  # Checks for redundant `String#chars`.
@@ -1947,45 +1937,45 @@ RuboCop::Cop::Performance::RedundantSplitRegexpArgument::STR_SPECIAL_CHARS = T.l
1947
1937
  # str.chars.last(2) # Incompatible with `str[-2..-1].chars`.
1948
1938
  # str.chars.drop(2) # Incompatible with `str[2..-1].chars`.
1949
1939
  #
1950
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:42
1940
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#42
1951
1941
  class RuboCop::Cop::Performance::RedundantStringChars < ::RuboCop::Cop::Base
1952
1942
  include ::RuboCop::Cop::RangeHelp
1953
1943
  extend ::RuboCop::Cop::AutoCorrector
1954
1944
 
1955
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:53
1945
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#53
1956
1946
  def on_send(node); end
1957
1947
 
1958
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:49
1948
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#49
1959
1949
  def redundant_chars_call?(param0 = T.unsafe(nil)); end
1960
1950
 
1961
1951
  private
1962
1952
 
1963
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:108
1953
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#108
1964
1954
  def build_bad_method(method, args); end
1965
1955
 
1966
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:121
1956
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#121
1967
1957
  def build_call_args(call_args_node); end
1968
1958
 
1969
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:83
1959
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#83
1970
1960
  def build_good_method(method, args); end
1971
1961
 
1972
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:96
1962
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#96
1973
1963
  def build_good_method_for_brackets_or_first_method(method, args); end
1974
1964
 
1975
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:77
1965
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#77
1976
1966
  def build_message(method, args); end
1977
1967
 
1978
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:73
1968
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#73
1979
1969
  def correction_range(receiver, node); end
1980
1970
 
1981
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:69
1971
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#69
1982
1972
  def offense_range(receiver, node); end
1983
1973
  end
1984
1974
 
1985
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:46
1975
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#46
1986
1976
  RuboCop::Cop::Performance::RedundantStringChars::MSG = T.let(T.unsafe(nil), String)
1987
1977
 
1988
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/redundant_string_chars.rb:47
1978
+ # source://rubocop-performance//lib/rubocop/cop/performance/redundant_string_chars.rb#47
1989
1979
  RuboCop::Cop::Performance::RedundantStringChars::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
1990
1980
 
1991
1981
  # In Ruby 2.4, `String#match?`, `Regexp#match?`, and `Symbol#match?`
@@ -2058,107 +2048,107 @@ RuboCop::Cop::Performance::RedundantStringChars::RESTRICT_ON_SEND = T.let(T.unsa
2058
2048
  # end
2059
2049
  # end
2060
2050
  #
2061
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:75
2051
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#75
2062
2052
  class RuboCop::Cop::Performance::RegexpMatch < ::RuboCop::Cop::Base
2063
2053
  extend ::RuboCop::Cop::AutoCorrector
2064
2054
  extend ::RuboCop::Cop::TargetRubyVersion
2065
2055
 
2066
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:125
2056
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#125
2067
2057
  def last_matches(param0); end
2068
2058
 
2069
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:86
2059
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#86
2070
2060
  def match_method?(param0 = T.unsafe(nil)); end
2071
2061
 
2072
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:122
2062
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#122
2073
2063
  def match_node?(param0 = T.unsafe(nil)); end
2074
2064
 
2075
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:97
2065
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#97
2076
2066
  def match_operator?(param0 = T.unsafe(nil)); end
2077
2067
 
2078
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:101
2068
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#101
2079
2069
  def match_threequals?(param0 = T.unsafe(nil)); end
2080
2070
 
2081
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:93
2071
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#93
2082
2072
  def match_with_int_arg_method?(param0 = T.unsafe(nil)); end
2083
2073
 
2084
2074
  # @return [Boolean]
2085
2075
  #
2086
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:105
2076
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#105
2087
2077
  def match_with_lvasgn?(node); end
2088
2078
 
2089
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:138
2079
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#138
2090
2080
  def on_case(node); end
2091
2081
 
2092
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:134
2082
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#134
2093
2083
  def on_if(node); end
2094
2084
 
2095
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:123
2085
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#123
2096
2086
  def search_match_nodes(param0); end
2097
2087
 
2098
2088
  private
2099
2089
 
2100
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:161
2090
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#161
2101
2091
  def autocorrect(corrector, node); end
2102
2092
 
2103
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:150
2093
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#150
2104
2094
  def check_condition(cond); end
2105
2095
 
2106
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:254
2096
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#254
2107
2097
  def correct_operator(corrector, recv, arg, oper = T.unsafe(nil)); end
2108
2098
 
2109
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:279
2099
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#279
2110
2100
  def correction_range(recv, arg); end
2111
2101
 
2112
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:217
2102
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#217
2113
2103
  def find_last_match(body, range, scope_root); end
2114
2104
 
2115
2105
  # @return [Boolean]
2116
2106
  #
2117
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:177
2107
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#177
2118
2108
  def last_match_used?(match_node); end
2119
2109
 
2120
2110
  # @return [Boolean]
2121
2111
  #
2122
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:243
2112
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#243
2123
2113
  def match_gvar?(sym); end
2124
2114
 
2125
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:173
2115
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#173
2126
2116
  def message(node); end
2127
2117
 
2128
2118
  # @return [Boolean]
2129
2119
  #
2130
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:213
2120
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#213
2131
2121
  def modifier_form?(match_node); end
2132
2122
 
2133
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:199
2123
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#199
2134
2124
  def next_match_pos(body, match_node_pos, scope_root); end
2135
2125
 
2136
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:186
2126
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#186
2137
2127
  def range_to_search_for_last_matches(match_node, body, scope_root); end
2138
2128
 
2139
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:263
2129
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#263
2140
2130
  def replace_with_match_predicate_method(corrector, recv, arg, op_range); end
2141
2131
 
2142
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:225
2132
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#225
2143
2133
  def scope_body(node); end
2144
2134
 
2145
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:237
2135
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#237
2146
2136
  def scope_root(node); end
2147
2137
 
2148
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:274
2138
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#274
2149
2139
  def swap_receiver_and_arg(corrector, recv, arg); end
2150
2140
  end
2151
2141
 
2152
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:112
2142
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#112
2153
2143
  RuboCop::Cop::Performance::RegexpMatch::MATCH_NODE_PATTERN = T.let(T.unsafe(nil), String)
2154
2144
 
2155
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:84
2145
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#84
2156
2146
  RuboCop::Cop::Performance::RegexpMatch::MSG = T.let(T.unsafe(nil), String)
2157
2147
 
2158
2148
  # Constants are included in this list because it is unlikely that
2159
2149
  # someone will store `nil` as a constant and then use it for comparison
2160
2150
  #
2161
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/regexp_match.rb:83
2151
+ # source://rubocop-performance//lib/rubocop/cop/performance/regexp_match.rb#83
2162
2152
  RuboCop::Cop::Performance::RegexpMatch::TYPES_IMPLEMENTING_MATCH = T.let(T.unsafe(nil), Array)
2163
2153
 
2164
2154
  # Identifies usages of `reverse.each` and change them to use `reverse_each` instead.
@@ -2178,32 +2168,32 @@ RuboCop::Cop::Performance::RegexpMatch::TYPES_IMPLEMENTING_MATCH = T.let(T.unsaf
2178
2168
  # # good
2179
2169
  # items.reverse_each
2180
2170
  #
2181
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_each.rb:22
2171
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_each.rb#22
2182
2172
  class RuboCop::Cop::Performance::ReverseEach < ::RuboCop::Cop::Base
2183
2173
  include ::RuboCop::Cop::RangeHelp
2184
2174
  extend ::RuboCop::Cop::AutoCorrector
2185
2175
 
2186
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_each.rb:33
2176
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_each.rb#33
2187
2177
  def on_send(node); end
2188
2178
 
2189
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_each.rb:29
2179
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_each.rb#29
2190
2180
  def reverse_each?(param0 = T.unsafe(nil)); end
2191
2181
 
2192
2182
  private
2193
2183
 
2194
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_each.rb:53
2184
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_each.rb#53
2195
2185
  def offense_range(node); end
2196
2186
 
2197
2187
  # @return [Boolean]
2198
2188
  #
2199
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_each.rb:47
2189
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_each.rb#47
2200
2190
  def use_return_value?(node); end
2201
2191
  end
2202
2192
 
2203
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_each.rb:26
2193
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_each.rb#26
2204
2194
  RuboCop::Cop::Performance::ReverseEach::MSG = T.let(T.unsafe(nil), String)
2205
2195
 
2206
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_each.rb:27
2196
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_each.rb#27
2207
2197
  RuboCop::Cop::Performance::ReverseEach::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2208
2198
 
2209
2199
  # Identifies places where `reverse.first(n)` and `reverse.first`
@@ -2219,36 +2209,36 @@ RuboCop::Cop::Performance::ReverseEach::RESTRICT_ON_SEND = T.let(T.unsafe(nil),
2219
2209
  # array.last(5).reverse
2220
2210
  # array.last
2221
2211
  #
2222
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_first.rb:19
2212
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_first.rb#19
2223
2213
  class RuboCop::Cop::Performance::ReverseFirst < ::RuboCop::Cop::Base
2224
2214
  include ::RuboCop::Cop::RangeHelp
2225
2215
  extend ::RuboCop::Cop::AutoCorrector
2226
2216
 
2227
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_first.rb:30
2217
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_first.rb#30
2228
2218
  def on_send(node); end
2229
2219
 
2230
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_first.rb:26
2220
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_first.rb#26
2231
2221
  def reverse_first_candidate?(param0 = T.unsafe(nil)); end
2232
2222
 
2233
2223
  private
2234
2224
 
2235
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_first.rb:63
2225
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_first.rb#63
2236
2226
  def build_bad_method(node); end
2237
2227
 
2238
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_first.rb:55
2228
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_first.rb#55
2239
2229
  def build_good_method(node); end
2240
2230
 
2241
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_first.rb:49
2231
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_first.rb#49
2242
2232
  def build_message(node); end
2243
2233
 
2244
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_first.rb:45
2234
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_first.rb#45
2245
2235
  def correction_range(receiver, node); end
2246
2236
  end
2247
2237
 
2248
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_first.rb:23
2238
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_first.rb#23
2249
2239
  RuboCop::Cop::Performance::ReverseFirst::MSG = T.let(T.unsafe(nil), String)
2250
2240
 
2251
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/reverse_first.rb:24
2241
+ # source://rubocop-performance//lib/rubocop/cop/performance/reverse_first.rb#24
2252
2242
  RuboCop::Cop::Performance::ReverseFirst::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2253
2243
 
2254
2244
  # In Ruby 2.7, `Enumerable#filter_map` has been added.
@@ -2263,30 +2253,30 @@ RuboCop::Cop::Performance::ReverseFirst::RESTRICT_ON_SEND = T.let(T.unsafe(nil),
2263
2253
  # # good
2264
2254
  # ary.filter_map { |o| o.bar if o.foo }
2265
2255
  #
2266
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/select_map.rb:18
2256
+ # source://rubocop-performance//lib/rubocop/cop/performance/select_map.rb#18
2267
2257
  class RuboCop::Cop::Performance::SelectMap < ::RuboCop::Cop::Base
2268
2258
  include ::RuboCop::Cop::RangeHelp
2269
2259
  extend ::RuboCop::Cop::TargetRubyVersion
2270
2260
 
2271
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/select_map.rb:27
2261
+ # source://rubocop-performance//lib/rubocop/cop/performance/select_map.rb#27
2272
2262
  def bad_method?(param0 = T.unsafe(nil)); end
2273
2263
 
2274
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/select_map.rb:31
2264
+ # source://rubocop-performance//lib/rubocop/cop/performance/select_map.rb#31
2275
2265
  def on_send(node); end
2276
2266
 
2277
2267
  private
2278
2268
 
2279
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/select_map.rb:44
2269
+ # source://rubocop-performance//lib/rubocop/cop/performance/select_map.rb#44
2280
2270
  def map_method_candidate(node); end
2281
2271
 
2282
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/select_map.rb:54
2272
+ # source://rubocop-performance//lib/rubocop/cop/performance/select_map.rb#54
2283
2273
  def offense_range(node, map_method); end
2284
2274
  end
2285
2275
 
2286
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/select_map.rb:24
2276
+ # source://rubocop-performance//lib/rubocop/cop/performance/select_map.rb#24
2287
2277
  RuboCop::Cop::Performance::SelectMap::MSG = T.let(T.unsafe(nil), String)
2288
2278
 
2289
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/select_map.rb:25
2279
+ # source://rubocop-performance//lib/rubocop/cop/performance/select_map.rb#25
2290
2280
  RuboCop::Cop::Performance::SelectMap::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2291
2281
 
2292
2282
  # Identifies usages of `count` on an `Array` and `Hash` and change them to `size`.
@@ -2322,27 +2312,27 @@ RuboCop::Cop::Performance::SelectMap::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar
2322
2312
  # # good
2323
2313
  # [1, 2, 3].count { |e| e > 2 }
2324
2314
  #
2325
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/size.rb:37
2315
+ # source://rubocop-performance//lib/rubocop/cop/performance/size.rb#37
2326
2316
  class RuboCop::Cop::Performance::Size < ::RuboCop::Cop::Base
2327
2317
  extend ::RuboCop::Cop::AutoCorrector
2328
2318
 
2329
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/size.rb:43
2319
+ # source://rubocop-performance//lib/rubocop/cop/performance/size.rb#43
2330
2320
  def array?(param0 = T.unsafe(nil)); end
2331
2321
 
2332
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/size.rb:61
2322
+ # source://rubocop-performance//lib/rubocop/cop/performance/size.rb#61
2333
2323
  def count?(param0 = T.unsafe(nil)); end
2334
2324
 
2335
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/size.rb:52
2325
+ # source://rubocop-performance//lib/rubocop/cop/performance/size.rb#52
2336
2326
  def hash?(param0 = T.unsafe(nil)); end
2337
2327
 
2338
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/size.rb:65
2328
+ # source://rubocop-performance//lib/rubocop/cop/performance/size.rb#65
2339
2329
  def on_send(node); end
2340
2330
  end
2341
2331
 
2342
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/size.rb:40
2332
+ # source://rubocop-performance//lib/rubocop/cop/performance/size.rb#40
2343
2333
  RuboCop::Cop::Performance::Size::MSG = T.let(T.unsafe(nil), String)
2344
2334
 
2345
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/size.rb:41
2335
+ # source://rubocop-performance//lib/rubocop/cop/performance/size.rb#41
2346
2336
  RuboCop::Cop::Performance::Size::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2347
2337
 
2348
2338
  # Identifies places where `sort { |a, b| b <=> a }`
@@ -2355,22 +2345,22 @@ RuboCop::Cop::Performance::Size::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2355
2345
  # # good
2356
2346
  # array.sort.reverse
2357
2347
  #
2358
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sort_reverse.rb:16
2348
+ # source://rubocop-performance//lib/rubocop/cop/performance/sort_reverse.rb#16
2359
2349
  class RuboCop::Cop::Performance::SortReverse < ::RuboCop::Cop::Base
2360
2350
  include ::RuboCop::Cop::RangeHelp
2361
2351
  include ::RuboCop::Cop::SortBlock
2362
2352
  extend ::RuboCop::Cop::AutoCorrector
2363
2353
 
2364
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sort_reverse.rb:22
2354
+ # source://rubocop-performance//lib/rubocop/cop/performance/sort_reverse.rb#22
2365
2355
  def on_block(node); end
2366
2356
 
2367
2357
  private
2368
2358
 
2369
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sort_reverse.rb:38
2359
+ # source://rubocop-performance//lib/rubocop/cop/performance/sort_reverse.rb#38
2370
2360
  def message(var_a, var_b); end
2371
2361
  end
2372
2362
 
2373
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sort_reverse.rb:20
2363
+ # source://rubocop-performance//lib/rubocop/cop/performance/sort_reverse.rb#20
2374
2364
  RuboCop::Cop::Performance::SortReverse::MSG = T.let(T.unsafe(nil), String)
2375
2365
 
2376
2366
  # Identifies places where `gsub(/a+/, 'a')` and `gsub!(/a+/, 'a')`
@@ -2388,31 +2378,31 @@ RuboCop::Cop::Performance::SortReverse::MSG = T.let(T.unsafe(nil), String)
2388
2378
  # str.squeeze('a')
2389
2379
  # str.squeeze!('a')
2390
2380
  #
2391
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/squeeze.rb:21
2381
+ # source://rubocop-performance//lib/rubocop/cop/performance/squeeze.rb#21
2392
2382
  class RuboCop::Cop::Performance::Squeeze < ::RuboCop::Cop::Base
2393
2383
  extend ::RuboCop::Cop::AutoCorrector
2394
2384
 
2395
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/squeeze.rb:41
2385
+ # source://rubocop-performance//lib/rubocop/cop/performance/squeeze.rb#41
2396
2386
  def on_send(node); end
2397
2387
 
2398
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/squeeze.rb:32
2388
+ # source://rubocop-performance//lib/rubocop/cop/performance/squeeze.rb#32
2399
2389
  def squeeze_candidate?(param0 = T.unsafe(nil)); end
2400
2390
 
2401
2391
  private
2402
2392
 
2403
2393
  # @return [Boolean]
2404
2394
  #
2405
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/squeeze.rb:61
2395
+ # source://rubocop-performance//lib/rubocop/cop/performance/squeeze.rb#61
2406
2396
  def repeating_literal?(regex_str); end
2407
2397
  end
2408
2398
 
2409
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/squeeze.rb:24
2399
+ # source://rubocop-performance//lib/rubocop/cop/performance/squeeze.rb#24
2410
2400
  RuboCop::Cop::Performance::Squeeze::MSG = T.let(T.unsafe(nil), String)
2411
2401
 
2412
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/squeeze.rb:27
2402
+ # source://rubocop-performance//lib/rubocop/cop/performance/squeeze.rb#27
2413
2403
  RuboCop::Cop::Performance::Squeeze::PREFERRED_METHODS = T.let(T.unsafe(nil), Hash)
2414
2404
 
2415
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/squeeze.rb:25
2405
+ # source://rubocop-performance//lib/rubocop/cop/performance/squeeze.rb#25
2416
2406
  RuboCop::Cop::Performance::Squeeze::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2417
2407
 
2418
2408
  # Identifies unnecessary use of a regex where `String#start_with?` would suffice.
@@ -2451,25 +2441,25 @@ RuboCop::Cop::Performance::Squeeze::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra
2451
2441
  # 'abc'.match(/^ab/)
2452
2442
  # /^ab/.match('abc')
2453
2443
  #
2454
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/start_with.rb:49
2444
+ # source://rubocop-performance//lib/rubocop/cop/performance/start_with.rb#49
2455
2445
  class RuboCop::Cop::Performance::StartWith < ::RuboCop::Cop::Base
2456
2446
  include ::RuboCop::Cop::RegexpMetacharacter
2457
2447
  extend ::RuboCop::Cop::AutoCorrector
2458
2448
 
2459
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/start_with.rb:63
2449
+ # source://rubocop-performance//lib/rubocop/cop/performance/start_with.rb#63
2460
2450
  def on_match_with_lvasgn(node); end
2461
2451
 
2462
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/start_with.rb:63
2452
+ # source://rubocop-performance//lib/rubocop/cop/performance/start_with.rb#63
2463
2453
  def on_send(node); end
2464
2454
 
2465
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/start_with.rb:57
2455
+ # source://rubocop-performance//lib/rubocop/cop/performance/start_with.rb#57
2466
2456
  def redundant_regex?(param0 = T.unsafe(nil)); end
2467
2457
  end
2468
2458
 
2469
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/start_with.rb:53
2459
+ # source://rubocop-performance//lib/rubocop/cop/performance/start_with.rb#53
2470
2460
  RuboCop::Cop::Performance::StartWith::MSG = T.let(T.unsafe(nil), String)
2471
2461
 
2472
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/start_with.rb:55
2462
+ # source://rubocop-performance//lib/rubocop/cop/performance/start_with.rb#55
2473
2463
  RuboCop::Cop::Performance::StartWith::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2474
2464
 
2475
2465
  # Identifies places where string identifier argument can be replaced
@@ -2491,22 +2481,22 @@ RuboCop::Cop::Performance::StartWith::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Ar
2491
2481
  # attr_accessor :do_something
2492
2482
  # instance_variable_get(:@ivar)
2493
2483
  #
2494
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_identifier_argument.rb:25
2484
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#25
2495
2485
  class RuboCop::Cop::Performance::StringIdentifierArgument < ::RuboCop::Cop::Base
2496
2486
  extend ::RuboCop::Cop::AutoCorrector
2497
2487
 
2498
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_identifier_argument.rb:46
2488
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#46
2499
2489
  def on_send(node); end
2500
2490
  end
2501
2491
 
2502
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_identifier_argument.rb:28
2492
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#28
2503
2493
  RuboCop::Cop::Performance::StringIdentifierArgument::MSG = T.let(T.unsafe(nil), String)
2504
2494
 
2505
2495
  # NOTE: `attr` method is not included in this list as it can cause false positives in Nokogiri API.
2506
2496
  # And `attr` may not be used because `Style/Attr` registers an offense.
2507
2497
  # https://github.com/rubocop/rubocop-performance/issues/278
2508
2498
  #
2509
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_identifier_argument.rb:33
2499
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_identifier_argument.rb#33
2510
2500
  RuboCop::Cop::Performance::StringIdentifierArgument::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2511
2501
 
2512
2502
  # Identifies unnecessary use of a regex where `String#include?` would suffice.
@@ -2523,31 +2513,31 @@ RuboCop::Cop::Performance::StringIdentifierArgument::RESTRICT_ON_SEND = T.let(T.
2523
2513
  # # good
2524
2514
  # 'abc'.include?('ab')
2525
2515
  #
2526
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_include.rb:22
2516
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_include.rb#22
2527
2517
  class RuboCop::Cop::Performance::StringInclude < ::RuboCop::Cop::Base
2528
2518
  extend ::RuboCop::Cop::AutoCorrector
2529
2519
 
2530
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_include.rb:34
2520
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_include.rb#34
2531
2521
  def on_match_with_lvasgn(node); end
2532
2522
 
2533
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_include.rb:34
2523
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_include.rb#34
2534
2524
  def on_send(node); end
2535
2525
 
2536
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_include.rb:28
2526
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_include.rb#28
2537
2527
  def redundant_regex?(param0 = T.unsafe(nil)); end
2538
2528
 
2539
2529
  private
2540
2530
 
2541
2531
  # @return [Boolean]
2542
2532
  #
2543
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_include.rb:50
2533
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_include.rb#50
2544
2534
  def literal?(regex_str); end
2545
2535
  end
2546
2536
 
2547
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_include.rb:25
2537
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_include.rb#25
2548
2538
  RuboCop::Cop::Performance::StringInclude::MSG = T.let(T.unsafe(nil), String)
2549
2539
 
2550
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_include.rb:26
2540
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_include.rb#26
2551
2541
  RuboCop::Cop::Performance::StringInclude::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2552
2542
 
2553
2543
  # Identifies places where `gsub` can be replaced by `tr` or `delete`.
@@ -2565,79 +2555,79 @@ RuboCop::Cop::Performance::StringInclude::RESTRICT_ON_SEND = T.let(T.unsafe(nil)
2565
2555
  # 'abc'.tr('b', 'd')
2566
2556
  # 'a b c'.delete(' ')
2567
2557
  #
2568
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:20
2558
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#20
2569
2559
  class RuboCop::Cop::Performance::StringReplacement < ::RuboCop::Cop::Base
2570
2560
  include ::RuboCop::Cop::RangeHelp
2571
2561
  extend ::RuboCop::Cop::AutoCorrector
2572
2562
 
2573
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:37
2563
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#37
2574
2564
  def on_send(node); end
2575
2565
 
2576
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:31
2566
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#31
2577
2567
  def string_replacement?(param0 = T.unsafe(nil)); end
2578
2568
 
2579
2569
  private
2580
2570
 
2581
2571
  # @return [Boolean]
2582
2572
  #
2583
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:83
2573
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#83
2584
2574
  def accept_first_param?(first_param); end
2585
2575
 
2586
2576
  # @return [Boolean]
2587
2577
  #
2588
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:78
2578
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#78
2589
2579
  def accept_second_param?(second_param); end
2590
2580
 
2591
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:59
2581
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#59
2592
2582
  def autocorrect(corrector, node); end
2593
2583
 
2594
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:100
2584
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#100
2595
2585
  def first_source(first_param); end
2596
2586
 
2597
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:143
2587
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#143
2598
2588
  def message(node, first_source, second_source); end
2599
2589
 
2600
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:150
2590
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#150
2601
2591
  def method_suffix(node); end
2602
2592
 
2603
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:48
2593
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#48
2604
2594
  def offense(node, first_param, second_param); end
2605
2595
 
2606
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:129
2596
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#129
2607
2597
  def range(node); end
2608
2598
 
2609
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:154
2599
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#154
2610
2600
  def remove_second_param(corrector, node, first_param); end
2611
2601
 
2612
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:69
2602
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#69
2613
2603
  def replace_method(corrector, node, first_source, second_source, first_param); end
2614
2604
 
2615
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:133
2605
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#133
2616
2606
  def replacement_method(node, first_source, second_source); end
2617
2607
 
2618
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:118
2608
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#118
2619
2609
  def source_from_regex_constructor(node); end
2620
2610
 
2621
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:111
2611
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#111
2622
2612
  def source_from_regex_literal(node); end
2623
2613
  end
2624
2614
 
2625
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:29
2615
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#29
2626
2616
  RuboCop::Cop::Performance::StringReplacement::BANG = T.let(T.unsafe(nil), String)
2627
2617
 
2628
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:27
2618
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#27
2629
2619
  RuboCop::Cop::Performance::StringReplacement::DELETE = T.let(T.unsafe(nil), String)
2630
2620
 
2631
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:26
2621
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#26
2632
2622
  RuboCop::Cop::Performance::StringReplacement::DETERMINISTIC_REGEX = T.let(T.unsafe(nil), Regexp)
2633
2623
 
2634
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:24
2624
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#24
2635
2625
  RuboCop::Cop::Performance::StringReplacement::MSG = T.let(T.unsafe(nil), String)
2636
2626
 
2637
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:25
2627
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#25
2638
2628
  RuboCop::Cop::Performance::StringReplacement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2639
2629
 
2640
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/string_replacement.rb:28
2630
+ # source://rubocop-performance//lib/rubocop/cop/performance/string_replacement.rb#28
2641
2631
  RuboCop::Cop::Performance::StringReplacement::TR = T.let(T.unsafe(nil), String)
2642
2632
 
2643
2633
  # Identifies places where custom code finding the sum of elements
@@ -2668,94 +2658,94 @@ RuboCop::Cop::Performance::StringReplacement::TR = T.let(T.unsafe(nil), String)
2668
2658
  # [1, 2, 3].sum { |elem| elem ** 2 }
2669
2659
  # [1, 2, 3].sum(10, &:count)
2670
2660
  #
2671
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:70
2661
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#70
2672
2662
  class RuboCop::Cop::Performance::Sum < ::RuboCop::Cop::Base
2673
2663
  include ::RuboCop::Cop::RangeHelp
2674
2664
  extend ::RuboCop::Cop::AutoCorrector
2675
2665
 
2676
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:99
2666
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#99
2677
2667
  def acc_plus_elem?(param0 = T.unsafe(nil), param1, param2); end
2678
2668
 
2679
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:99
2669
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#99
2680
2670
  def elem_plus_acc?(param0 = T.unsafe(nil), param1, param2); end
2681
2671
 
2682
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:111
2672
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#111
2683
2673
  def on_block(node); end
2684
2674
 
2685
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:104
2675
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#104
2686
2676
  def on_send(node); end
2687
2677
 
2688
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:79
2678
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#79
2689
2679
  def sum_candidate?(param0 = T.unsafe(nil)); end
2690
2680
 
2691
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:83
2681
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#83
2692
2682
  def sum_map_candidate?(param0 = T.unsafe(nil)); end
2693
2683
 
2694
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:92
2684
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#92
2695
2685
  def sum_with_block_candidate?(param0 = T.unsafe(nil)); end
2696
2686
 
2697
2687
  private
2698
2688
 
2699
2689
  # @return [Boolean]
2700
2690
  #
2701
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:156
2691
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#156
2702
2692
  def array_literal?(node); end
2703
2693
 
2704
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:161
2694
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#161
2705
2695
  def autocorrect(corrector, init, range); end
2706
2696
 
2707
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:169
2697
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#169
2708
2698
  def autocorrect_sum_map(corrector, sum, map, init); end
2709
2699
 
2710
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:245
2700
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#245
2711
2701
  def build_block_bad_method(method, init, var_acc, var_elem, body); end
2712
2702
 
2713
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:212
2703
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#212
2714
2704
  def build_block_message(send, init, var_acc, var_elem, body); end
2715
2705
 
2716
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:218
2706
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#218
2717
2707
  def build_good_method(init, block_pass = T.unsafe(nil)); end
2718
2708
 
2719
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:231
2709
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#231
2720
2710
  def build_method_bad_method(init, method, operation); end
2721
2711
 
2722
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:194
2712
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#194
2723
2713
  def build_method_message(node, method, init, operation); end
2724
2714
 
2725
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:205
2715
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#205
2726
2716
  def build_sum_map_message(method, init); end
2727
2717
 
2728
2718
  # @return [Boolean]
2729
2719
  #
2730
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:151
2720
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#151
2731
2721
  def empty_array_literal?(node); end
2732
2722
 
2733
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:126
2723
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#126
2734
2724
  def handle_sum_candidate(node); end
2735
2725
 
2736
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:139
2726
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#139
2737
2727
  def handle_sum_map_candidate(node); end
2738
2728
 
2739
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:256
2729
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#256
2740
2730
  def method_call_with_args_range(node); end
2741
2731
 
2742
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:190
2732
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#190
2743
2733
  def sum_block_range(send, node); end
2744
2734
 
2745
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:186
2735
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#186
2746
2736
  def sum_map_range(map, sum); end
2747
2737
 
2748
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:182
2738
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#182
2749
2739
  def sum_method_range(node); end
2750
2740
  end
2751
2741
 
2752
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:74
2742
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#74
2753
2743
  RuboCop::Cop::Performance::Sum::MSG = T.let(T.unsafe(nil), String)
2754
2744
 
2755
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:75
2745
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#75
2756
2746
  RuboCop::Cop::Performance::Sum::MSG_IF_NO_INIT_VALUE = T.let(T.unsafe(nil), String)
2757
2747
 
2758
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/sum.rb:77
2748
+ # source://rubocop-performance//lib/rubocop/cop/performance/sum.rb#77
2759
2749
  RuboCop::Cop::Performance::Sum::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2760
2750
 
2761
2751
  # Checks for .times.map calls.
@@ -2773,35 +2763,35 @@ RuboCop::Cop::Performance::Sum::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2773
2763
  # i.to_s
2774
2764
  # end
2775
2765
  #
2776
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/times_map.rb:32
2766
+ # source://rubocop-performance//lib/rubocop/cop/performance/times_map.rb#32
2777
2767
  class RuboCop::Cop::Performance::TimesMap < ::RuboCop::Cop::Base
2778
2768
  extend ::RuboCop::Cop::AutoCorrector
2779
2769
 
2780
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/times_map.rb:44
2770
+ # source://rubocop-performance//lib/rubocop/cop/performance/times_map.rb#44
2781
2771
  def on_block(node); end
2782
2772
 
2783
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/times_map.rb:40
2773
+ # source://rubocop-performance//lib/rubocop/cop/performance/times_map.rb#40
2784
2774
  def on_send(node); end
2785
2775
 
2786
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/times_map.rb:70
2776
+ # source://rubocop-performance//lib/rubocop/cop/performance/times_map.rb#70
2787
2777
  def times_map_call(param0 = T.unsafe(nil)); end
2788
2778
 
2789
2779
  private
2790
2780
 
2791
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/times_map.rb:50
2781
+ # source://rubocop-performance//lib/rubocop/cop/performance/times_map.rb#50
2792
2782
  def check(node); end
2793
2783
 
2794
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/times_map.rb:61
2784
+ # source://rubocop-performance//lib/rubocop/cop/performance/times_map.rb#61
2795
2785
  def message(map_or_collect, count); end
2796
2786
  end
2797
2787
 
2798
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/times_map.rb:35
2788
+ # source://rubocop-performance//lib/rubocop/cop/performance/times_map.rb#35
2799
2789
  RuboCop::Cop::Performance::TimesMap::MESSAGE = T.let(T.unsafe(nil), String)
2800
2790
 
2801
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/times_map.rb:37
2791
+ # source://rubocop-performance//lib/rubocop/cop/performance/times_map.rb#37
2802
2792
  RuboCop::Cop::Performance::TimesMap::MESSAGE_ONLY_IF = T.let(T.unsafe(nil), String)
2803
2793
 
2804
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/times_map.rb:38
2794
+ # source://rubocop-performance//lib/rubocop/cop/performance/times_map.rb#38
2805
2795
  RuboCop::Cop::Performance::TimesMap::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2806
2796
 
2807
2797
  # In Ruby 2.3 or later, use unary plus operator to unfreeze a string
@@ -2820,29 +2810,29 @@ RuboCop::Cop::Performance::TimesMap::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arr
2820
2810
  # +'something'
2821
2811
  # +''
2822
2812
  #
2823
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/unfreeze_string.rb:27
2813
+ # source://rubocop-performance//lib/rubocop/cop/performance/unfreeze_string.rb#27
2824
2814
  class RuboCop::Cop::Performance::UnfreezeString < ::RuboCop::Cop::Base
2825
2815
  extend ::RuboCop::Cop::AutoCorrector
2826
2816
 
2827
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/unfreeze_string.rb:33
2817
+ # source://rubocop-performance//lib/rubocop/cop/performance/unfreeze_string.rb#33
2828
2818
  def dup_string?(param0 = T.unsafe(nil)); end
2829
2819
 
2830
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/unfreeze_string.rb:44
2820
+ # source://rubocop-performance//lib/rubocop/cop/performance/unfreeze_string.rb#44
2831
2821
  def on_send(node); end
2832
2822
 
2833
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/unfreeze_string.rb:37
2823
+ # source://rubocop-performance//lib/rubocop/cop/performance/unfreeze_string.rb#37
2834
2824
  def string_new?(param0 = T.unsafe(nil)); end
2835
2825
 
2836
2826
  private
2837
2827
 
2838
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/unfreeze_string.rb:57
2828
+ # source://rubocop-performance//lib/rubocop/cop/performance/unfreeze_string.rb#57
2839
2829
  def string_value(node); end
2840
2830
  end
2841
2831
 
2842
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/unfreeze_string.rb:30
2832
+ # source://rubocop-performance//lib/rubocop/cop/performance/unfreeze_string.rb#30
2843
2833
  RuboCop::Cop::Performance::UnfreezeString::MSG = T.let(T.unsafe(nil), String)
2844
2834
 
2845
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/unfreeze_string.rb:31
2835
+ # source://rubocop-performance//lib/rubocop/cop/performance/unfreeze_string.rb#31
2846
2836
  RuboCop::Cop::Performance::UnfreezeString::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2847
2837
 
2848
2838
  # Identifies places where `URI::Parser.new` can be replaced by `URI::DEFAULT_PARSER`.
@@ -2854,133 +2844,124 @@ RuboCop::Cop::Performance::UnfreezeString::RESTRICT_ON_SEND = T.let(T.unsafe(nil
2854
2844
  # # good
2855
2845
  # URI::DEFAULT_PARSER
2856
2846
  #
2857
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/uri_default_parser.rb:15
2847
+ # source://rubocop-performance//lib/rubocop/cop/performance/uri_default_parser.rb#15
2858
2848
  class RuboCop::Cop::Performance::UriDefaultParser < ::RuboCop::Cop::Base
2859
2849
  extend ::RuboCop::Cop::AutoCorrector
2860
2850
 
2861
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/uri_default_parser.rb:28
2851
+ # source://rubocop-performance//lib/rubocop/cop/performance/uri_default_parser.rb#28
2862
2852
  def on_send(node); end
2863
2853
 
2864
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/uri_default_parser.rb:22
2854
+ # source://rubocop-performance//lib/rubocop/cop/performance/uri_default_parser.rb#22
2865
2855
  def uri_parser_new?(param0 = T.unsafe(nil)); end
2866
2856
  end
2867
2857
 
2868
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/uri_default_parser.rb:18
2858
+ # source://rubocop-performance//lib/rubocop/cop/performance/uri_default_parser.rb#18
2869
2859
  RuboCop::Cop::Performance::UriDefaultParser::MSG = T.let(T.unsafe(nil), String)
2870
2860
 
2871
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/performance/uri_default_parser.rb:20
2861
+ # source://rubocop-performance//lib/rubocop/cop/performance/uri_default_parser.rb#20
2872
2862
  RuboCop::Cop::Performance::UriDefaultParser::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
2873
2863
 
2874
2864
  # Common functionality for handling regexp metacharacters.
2875
2865
  #
2876
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:6
2866
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#6
2877
2867
  module RuboCop::Cop::RegexpMetacharacter
2878
2868
  private
2879
2869
 
2880
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:63
2870
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#63
2881
2871
  def drop_end_metacharacter(regexp_string); end
2882
2872
 
2883
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:55
2873
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#55
2884
2874
  def drop_start_metacharacter(regexp_string); end
2885
2875
 
2886
2876
  # @return [Boolean]
2887
2877
  #
2888
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:15
2878
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#15
2889
2879
  def literal_at_end?(regexp); end
2890
2880
 
2891
2881
  # @return [Boolean]
2892
2882
  #
2893
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:41
2883
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#41
2894
2884
  def literal_at_end_with_backslash_z?(regex_str); end
2895
2885
 
2896
2886
  # @return [Boolean]
2897
2887
  #
2898
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:48
2888
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#48
2899
2889
  def literal_at_end_with_dollar?(regex_str); end
2900
2890
 
2901
2891
  # @return [Boolean]
2902
2892
  #
2903
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:9
2893
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#9
2904
2894
  def literal_at_start?(regexp); end
2905
2895
 
2906
2896
  # @return [Boolean]
2907
2897
  #
2908
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:21
2898
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#21
2909
2899
  def literal_at_start_with_backslash_a?(regex_str); end
2910
2900
 
2911
2901
  # @return [Boolean]
2912
2902
  #
2913
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:31
2903
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#31
2914
2904
  def literal_at_start_with_caret?(regex_str); end
2915
2905
 
2916
2906
  # @return [Boolean]
2917
2907
  #
2918
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/regexp_metacharacter.rb:71
2908
+ # source://rubocop-performance//lib/rubocop/cop/mixin/regexp_metacharacter.rb#71
2919
2909
  def safe_multiline?; end
2920
2910
  end
2921
2911
 
2922
2912
  # Common functionality for cops checking `Enumerable#sort` blocks.
2923
2913
  #
2924
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/sort_block.rb:6
2914
+ # source://rubocop-performance//lib/rubocop/cop/mixin/sort_block.rb#6
2925
2915
  module RuboCop::Cop::SortBlock
2926
2916
  include ::RuboCop::Cop::RangeHelp
2927
2917
  extend ::RuboCop::AST::NodePattern::Macros
2928
2918
 
2929
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/sort_block.rb:17
2919
+ # source://rubocop-performance//lib/rubocop/cop/mixin/sort_block.rb#17
2930
2920
  def replaceable_body?(param0 = T.unsafe(nil), param1, param2); end
2931
2921
 
2932
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/sort_block.rb:10
2922
+ # source://rubocop-performance//lib/rubocop/cop/mixin/sort_block.rb#10
2933
2923
  def sort_with_block?(param0 = T.unsafe(nil)); end
2934
2924
 
2935
2925
  private
2936
2926
 
2937
- # source://rubocop-performance-1.14.3/lib/rubocop/cop/mixin/sort_block.rb:23
2927
+ # source://rubocop-performance//lib/rubocop/cop/mixin/sort_block.rb#23
2938
2928
  def sort_range(send, node); end
2939
2929
  end
2940
2930
 
2941
- # source://rubocop-1.34.1/lib/rubocop/ast_aliases.rb:5
2942
- RuboCop::NodePattern = RuboCop::AST::NodePattern
2943
-
2944
2931
  # RuboCop Performance project namespace
2945
2932
  #
2946
- # source://rubocop-performance-1.14.3/lib/rubocop/performance.rb:5
2933
+ # source://rubocop-performance//lib/rubocop/performance.rb#5
2947
2934
  module RuboCop::Performance; end
2948
2935
 
2949
- # source://rubocop-performance-1.14.3/lib/rubocop/performance.rb:8
2936
+ # source://rubocop-performance//lib/rubocop/performance.rb#8
2950
2937
  RuboCop::Performance::CONFIG = T.let(T.unsafe(nil), Hash)
2951
2938
 
2952
- # source://rubocop-performance-1.14.3/lib/rubocop/performance.rb:7
2939
+ # source://rubocop-performance//lib/rubocop/performance.rb#7
2953
2940
  RuboCop::Performance::CONFIG_DEFAULT = T.let(T.unsafe(nil), Pathname)
2954
2941
 
2955
2942
  # Because RuboCop doesn't yet support plugins, we have to monkey patch in a
2956
2943
  # bit of our configuration.
2957
2944
  #
2958
- # source://rubocop-performance-1.14.3/lib/rubocop/performance/inject.rb:7
2945
+ # source://rubocop-performance//lib/rubocop/performance/inject.rb#7
2959
2946
  module RuboCop::Performance::Inject
2960
2947
  class << self
2961
- # source://rubocop-performance-1.14.3/lib/rubocop/performance/inject.rb:8
2948
+ # source://rubocop-performance//lib/rubocop/performance/inject.rb#8
2962
2949
  def defaults!; end
2963
2950
  end
2964
2951
  end
2965
2952
 
2966
- # source://rubocop-performance-1.14.3/lib/rubocop/performance.rb:6
2953
+ # source://rubocop-performance//lib/rubocop/performance.rb#6
2967
2954
  RuboCop::Performance::PROJECT_ROOT = T.let(T.unsafe(nil), Pathname)
2968
2955
 
2969
2956
  # This module holds the RuboCop Performance version information.
2970
2957
  #
2971
- # source://rubocop-performance-1.14.3/lib/rubocop/performance/version.rb:6
2958
+ # source://rubocop-performance//lib/rubocop/performance/version.rb#6
2972
2959
  module RuboCop::Performance::Version
2973
2960
  class << self
2974
- # source://rubocop-performance-1.14.3/lib/rubocop/performance/version.rb:9
2961
+ # source://rubocop-performance//lib/rubocop/performance/version.rb#9
2975
2962
  def document_version; end
2976
2963
  end
2977
2964
  end
2978
2965
 
2979
- # source://rubocop-performance-1.14.3/lib/rubocop/performance/version.rb:7
2966
+ # source://rubocop-performance//lib/rubocop/performance/version.rb#7
2980
2967
  RuboCop::Performance::Version::STRING = T.let(T.unsafe(nil), String)
2981
-
2982
- # source://rubocop-1.34.1/lib/rubocop/ast_aliases.rb:6
2983
- RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource
2984
-
2985
- # source://rubocop-1.34.1/lib/rubocop/ast_aliases.rb:7
2986
- RuboCop::Token = RuboCop::AST::Token