public class DynamicILInfo extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Reflection.Emit.DynamicILInfo
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Reflection.Emit.DynamicILInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DynamicILInfo() |
DynamicILInfo(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DynamicILInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DynamicILInfo, a cast assert is made to check if types are compatible. |
DynamicMethod |
getDynamicMethod()
Gets the value of the .NET property DynamicMethod.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
GetTokenFor(byte[] signature)
Invokes the .NET member GetTokenFor.
|
int |
GetTokenFor(DynamicMethod method)
Invokes the .NET member GetTokenFor.
|
int |
GetTokenFor(JCORefOut dupParam0)
Invokes the .NET member GetTokenFor.
|
int |
GetTokenFor(RuntimeFieldHandle field)
Invokes the .NET member GetTokenFor.
|
int |
GetTokenFor(RuntimeFieldHandle field,
RuntimeTypeHandle contextType)
Invokes the .NET member GetTokenFor.
|
int |
GetTokenFor(RuntimeMethodHandle method)
Invokes the .NET member GetTokenFor.
|
int |
GetTokenFor(RuntimeMethodHandle method,
RuntimeTypeHandle contextType)
Invokes the .NET member GetTokenFor.
|
int |
GetTokenFor(RuntimeTypeHandle type)
Invokes the .NET member GetTokenFor.
|
int |
GetTokenFor(java.lang.String literal)
Invokes the .NET member GetTokenFor.
|
void |
SetCode(byte[] code,
int maxStackSize)
Invokes the .NET member SetCode.
|
void |
SetCode(JCORefOut dupParam0,
int dupParam1)
Invokes the .NET member SetCode.
|
void |
SetExceptions(byte[] exceptions)
Invokes the .NET member SetExceptions.
|
void |
SetExceptions(JCORefOut dupParam0)
Invokes the .NET member SetExceptions.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetLocalSignature(byte[] localSignature)
Invokes the .NET member SetLocalSignature.
|
void |
SetLocalSignature(JCORefOut dupParam0)
Invokes the .NET member SetLocalSignature.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DynamicILInfo()
throws java.lang.Throwable
java.lang.Throwablepublic DynamicILInfo(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static DynamicILInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DynamicILInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDynamicILInfo instancejava.lang.Throwable - in case of error during cast operationpublic DynamicMethod getDynamicMethod() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic int GetTokenFor(byte[] signature)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArgumentException,
ArrayTypeMismatchException
signature - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTokenFor(DynamicMethod method) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
method - the argument of type DynamicMethodjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTokenFor(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTokenFor(RuntimeFieldHandle field) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
field - the argument of type RuntimeFieldHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTokenFor(RuntimeFieldHandle field, RuntimeTypeHandle contextType) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
field - the argument of type RuntimeFieldHandlecontextType - the argument of type RuntimeTypeHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTokenFor(RuntimeMethodHandle method) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, NotImplementedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
method - the argument of type RuntimeMethodHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itNotImplementedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTokenFor(RuntimeMethodHandle method, RuntimeTypeHandle contextType) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
method - the argument of type RuntimeMethodHandlecontextType - the argument of type RuntimeTypeHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTokenFor(RuntimeTypeHandle type) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
type - the argument of type RuntimeTypeHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int GetTokenFor(java.lang.String literal)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
RankException,
ArgumentException,
ArrayTypeMismatchException
literal - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void SetCode(byte[] code,
int maxStackSize)
throws java.lang.Throwable,
PlatformNotSupportedException
code - the argument of type byte[]maxStackSize - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic void SetCode(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable, PlatformNotSupportedException
dupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic void SetExceptions(byte[] exceptions)
throws java.lang.Throwable,
PlatformNotSupportedException
exceptions - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic void SetExceptions(JCORefOut dupParam0) throws java.lang.Throwable, PlatformNotSupportedException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void SetLocalSignature(byte[] localSignature)
throws java.lang.Throwable,
PlatformNotSupportedException
localSignature - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic void SetLocalSignature(JCORefOut dupParam0) throws java.lang.Throwable, PlatformNotSupportedException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises it