Class LambdaMetafactory
public class LambdaMetafactory : JVMBridgeBase<LambdaMetafactory>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
LambdaMetafactory
- Implements
- Extension Methods
Constructors
LambdaMetafactory()
public LambdaMetafactory()
LambdaMetafactory(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public LambdaMetafactory(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
FLAG_BRIDGES
public static int FLAG_BRIDGES { get; set; }
Property Value
FLAG_MARKERS
public static int FLAG_MARKERS { get; set; }
Property Value
FLAG_SERIALIZABLE
public static int FLAG_SERIALIZABLE { get; set; }
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 java.lang.AutoCloseable
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
CreatePoolableInstance()
HPA initializer for LambdaMetafactory()
public static LambdaMetafactory CreatePoolableInstance()
Returns
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