public class ExtensionMethodNode
extends MethodNode
Represents method nodes which are used by the static type checker to virtually add methods coming from DGM-like methods.
| Constructor and description |
|---|
ExtensionMethodNode(MethodNode extensionMethodNode, String name, int modifiers, ClassNode returnType, Parameter[] parameters, ClassNode[] exceptions, Statement code, boolean isStaticExtension) |
ExtensionMethodNode(MethodNode extensionMethodNode, String name, int modifiers, ClassNode returnType, Parameter[] parameters, ClassNode[] exceptions, Statement code) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public MethodNode |
getExtensionMethodNode()Returns the original extension method represented by this synthetic node. |
|
public boolean |
isStaticExtension()Indicates whether this node models a static extension method. |
Returns the original extension method represented by this synthetic node.
Indicates whether this node models a static extension method.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.