|
176 | 176 | ^:optional |
177 | 177 | [:validated? "`true` if the method call could be resolved at compile time"] |
178 | 178 | ^:optional |
179 | | - [:class "If :validated? the class or interface the method belongs to"]]} |
| 179 | + [:class "If :validated? the class or interface the method belongs to"] |
| 180 | + ^:optional |
| 181 | + [:param-tags "A vector of type hints for overload disambiguation, from `^[Type ...]` metadata on the invocation form"]]} |
180 | 182 | {:op :instance-field |
181 | 183 | :doc "Node for an instance field access" |
182 | 184 | :keys [[:form "`(.-field instance)`"] |
|
266 | 268 | [:fixed-arity "The number of args this method takes"] |
267 | 269 | ^:children |
268 | 270 | [:body "Synthetic :do node (with :body? `true`) representing the body of this method"]]} |
| 271 | + {:op :method-value |
| 272 | + :doc "Node for a qualified method reference in value position (Clojure 1.12+)" |
| 273 | + :keys [[:form "The original qualified method symbol, e.g. `String/valueOf`, `File/.getName`, `File/new`"] |
| 274 | + [:class "The resolved Class the method belongs to"] |
| 275 | + [:method "Symbol naming the method"] |
| 276 | + [:kind "One of :static, :instance, or :ctor"] |
| 277 | + ^:optional |
| 278 | + [:param-tags "A vector of type hints for overload disambiguation, from `^[Type ...]` metadata"] |
| 279 | + [:methods "A vector of matching method/constructor reflective info maps"] |
| 280 | + ^:optional |
| 281 | + [:field-overload "When :kind is :static and a static field of the same name exists, the field info map"] |
| 282 | + ^:optional |
| 283 | + [:validated? "`true` if the method value could be resolved at compile time"]]} |
269 | 284 | {:op :monitor-enter |
270 | 285 | :doc "Node for a monitor-enter special-form statement" |
271 | 286 | :keys [[:form "`(monitor-enter target)`"] |
|
349 | 364 | ^:children |
350 | 365 | [:args "A vector of AST nodes representing the args to the method call"] |
351 | 366 | ^:optional |
352 | | - [:validated? "`true` if the static method could be resolved at compile time"]]} |
| 367 | + [:validated? "`true` if the static method could be resolved at compile time"] |
| 368 | + ^:optional |
| 369 | + [:param-tags "A vector of type hints for overload disambiguation, from `^[Type ...]` metadata on the invocation form"]]} |
353 | 370 | {:op :static-field |
354 | 371 | :doc "Node for a static field access" |
355 | 372 | :keys [[:form "`Class/field`"] |
|
0 commit comments