Class LambdaMetafactory
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/LambdaMetafactory.html
public class LambdaMetafactory : JVMBridgeBase<LambdaMetafactory>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
LambdaMetafactory
- Implements
- Inherited Members
-
JVMBridgeBase.ReferenceEqualsJVM(JVMBridgeBase, JVMBridgeBase)JVMBridgeBase.Equals(IJVMBridgeBase)
- Extension Methods
Constructors
LambdaMetafactory()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public LambdaMetafactory()
LambdaMetafactory(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public LambdaMetafactory(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
FLAG_BRIDGES
public static int FLAG_BRIDGES { get; }
Property Value
FLAG_MARKERS
public static int FLAG_MARKERS { get; }
Property Value
FLAG_SERIALIZABLE
public static int FLAG_SERIALIZABLE { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
AltMetafactory(Lookup, String, MethodType, params object[])
public static CallSite AltMetafactory(MethodHandles.Lookup arg0, String arg1, MethodType arg2, params object[] arg3)
Parameters
arg0MethodHandles.Lookuparg1Stringarg2MethodTypearg3object[]
Returns
Exceptions
Metafactory(Lookup, String, MethodType, MethodType, MethodHandle, MethodType)
public static CallSite Metafactory(MethodHandles.Lookup arg0, String arg1, MethodType arg2, MethodType arg3, MethodHandle arg4, MethodType arg5)
Parameters
arg0MethodHandles.Lookuparg1Stringarg2MethodTypearg3MethodTypearg4MethodHandlearg5MethodType