@Deprecated(since = "6.0.0", forRemoval = true)
public class Java16
extends Java10
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Object |
getInvokeSpecialHandle(Method method, Object receiver)Returns a handle for invoking the supplied method, including proxy default methods. |
|
public List<String> |
getRecordComponentNames(Class<?> maybeRecord)Returns the component names declared by a record class. |
|
public int |
getVersion()Returns the Java feature version handled by this plugin. |
|
public Object |
invokeHandle(Object handle, Object[] args)Invokes a handle produced by getInvokeSpecialHandle(Method, Object). |
|
protected void |
makeRecordComponents(CompileUnit cu, ClassNode cn, Class<?> c)Adds record component metadata when the runtime class is a record. |
Returns a handle for invoking the supplied method, including proxy default methods.
method - the method to invokereceiver - the bound receiverReturns the component names declared by a record class.
maybeRecord - the class to inspectReturns the Java feature version handled by this plugin.
16Invokes a handle produced by getInvokeSpecialHandle(Method, Object).
handle - the handle or deferred failure to invokeargs - the invocation argumentsAdds record component metadata when the runtime class is a record.
cu - the owning compile unitcn - the class node to updatec - the runtime class