Package system.reflection.emit
Class ModuleBuilder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.reflection.Module
-
- system.reflection.emit.ModuleBuilder
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ModuleBuilder extends Module
The base .NET class managing System.Reflection.Emit.ModuleBuilder, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Emit.ModuleBuilder
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: mscorlibstatic java.lang.String
className
Qualified class name: System.Reflection.Emit.ModuleBuilderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ModuleBuilder()
ModuleBuilder(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModuleBuilder
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoModuleBuilder
, a cast assert is made to check if types are compatible.void
CreateGlobalFunctions()
ISymbolDocumentWriter
DefineDocument(java.lang.String url, Guid language, Guid languageVendor, Guid documentType)
EnumBuilder
DefineEnum(java.lang.String name, TypeAttributes visibility, NetType underlyingType)
MethodBuilder
DefineGlobalMethod(java.lang.String name, MethodAttributes attributes, NetType returnType, NetType[] parameterTypes)
MethodBuilder
DefineGlobalMethod(java.lang.String name, MethodAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes)
FieldBuilder
DefineInitializedData(java.lang.String name, byte[] data, FieldAttributes attributes)
FieldBuilder
DefineInitializedData(java.lang.String dupParam0, JCORefOut dupParam1, FieldAttributes dupParam2)
void
DefineManifestResource(java.lang.String name, Stream stream, ResourceAttributes attribute)
MethodBuilder
DefinePInvokeMethod(java.lang.String name, java.lang.String dllName, java.lang.String entryName, MethodAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet)
MethodBuilder
DefinePInvokeMethod(java.lang.String name, java.lang.String dllName, MethodAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet)
IResourceWriter
DefineResource(java.lang.String name, java.lang.String description)
IResourceWriter
DefineResource(java.lang.String name, java.lang.String description, ResourceAttributes attribute)
TypeBuilder
DefineType(java.lang.String name)
TypeBuilder
DefineType(java.lang.String name, TypeAttributes attr)
TypeBuilder
DefineType(java.lang.String name, TypeAttributes attr, NetType parent)
TypeBuilder
DefineType(java.lang.String name, TypeAttributes attr, NetType parent, int typesize)
TypeBuilder
DefineType(java.lang.String name, TypeAttributes attr, NetType parent, NetType[] interfaces)
TypeBuilder
DefineType(java.lang.String name, TypeAttributes attr, NetType parent, PackingSize packsize)
TypeBuilder
DefineType(java.lang.String name, TypeAttributes attr, NetType parent, PackingSize packingSize, int typesize)
FieldBuilder
DefineUninitializedData(java.lang.String name, int size, FieldAttributes attributes)
void
DefineUnmanagedResource(byte[] resource)
void
DefineUnmanagedResource(java.lang.String resourceFileName)
void
DefineUnmanagedResource(JCORefOut dupParam0)
MethodInfo
GetArrayMethod(NetType arrayClass, java.lang.String methodName, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes)
MethodToken
GetArrayMethodToken(NetType arrayClass, java.lang.String methodName, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes)
MethodToken
GetConstructorToken(ConstructorInfo con)
NetObject[]
GetCustomAttributes(boolean inherit)
NetObject[]
GetCustomAttributes(NetType attributeType, boolean inherit)
FieldInfo
GetField(java.lang.String name, BindingFlags bindingAttr)
FieldInfo[]
GetFields(BindingFlags bindingFlags)
FieldToken
GetFieldToken(FieldInfo field)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeMethodInfo[]
GetMethods(BindingFlags bindingFlags)
MethodToken
GetMethodToken(MethodInfo method)
void
GetPEKind(JCORefOut<PortableExecutableKinds> peKind, JCORefOut<ImageFileMachine> machine)
SignatureToken
GetSignatureToken(byte[] sigBytes, int sigLength)
SignatureToken
GetSignatureToken(JCORefOut dupParam0, int dupParam1)
SignatureToken
GetSignatureToken(SignatureHelper sigHelper)
X509Certificate
GetSignerCertificate()
StringToken
GetStringConstant(java.lang.String str)
ISymbolWriter
GetSymWriter()
NetType
GetType(java.lang.String className)
NetType
GetType(java.lang.String className, boolean ignoreCase)
NetType
GetType(java.lang.String className, boolean throwOnError, boolean ignoreCase)
NetType[]
GetTypes()
TypeToken
GetTypeToken(java.lang.String name)
TypeToken
GetTypeToken(NetType type)
boolean
IsDefined(NetType attributeType, boolean inherit)
boolean
IsResource()
boolean
IsTransient()
FieldInfo
ResolveField(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments)
MemberInfo
ResolveMember(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments)
MethodBase
ResolveMethod(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments)
byte[]
ResolveSignature(int metadataToken)
java.lang.String
ResolveString(int metadataToken)
NetType
ResolveType(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments)
void
SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute)
void
SetCustomAttribute(ConstructorInfo dupParam0, JCORefOut dupParam1)
void
SetCustomAttribute(CustomAttributeBuilder customBuilder)
void
setJCOInstance(JCObject instance)
void
SetSymCustomAttribute(java.lang.String name, byte[] data)
void
SetSymCustomAttribute(java.lang.String dupParam0, JCORefOut dupParam1)
void
SetUserEntryPoint(MethodInfo entryPoint)
-
Methods inherited from class system.reflection.Module
FindTypes, getAssembly, GetField, GetFields, getFullyQualifiedName, getMDStreamVersion, getMetadataToken, GetMethod, GetMethod, GetMethod, GetMethods, getModuleHandle, getModuleVersionId, getName, GetObjectData, getScopeName, ResolveField, ResolveMember, ResolveMethod, ResolveType
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Reflection.Emit.ModuleBuilder- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classModule
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classModule
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classModule
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classModule
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classModule
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classModule
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ModuleBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoModuleBuilder
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ModuleBuilder
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
IsDefined
public boolean IsDefined(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotImplementedException
- Overrides:
IsDefined
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
IsResource
public boolean IsResource() throws java.lang.Throwable, NotImplementedException
- Overrides:
IsResource
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
IsTransient
public boolean IsTransient() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ResolveSignature
public byte[] ResolveSignature(int metadataToken) throws java.lang.Throwable, NotImplementedException
- Overrides:
ResolveSignature
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
DefineDocument
public ISymbolDocumentWriter DefineDocument(java.lang.String url, Guid language, Guid languageVendor, Guid documentType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
-
GetSymWriter
public ISymbolWriter GetSymWriter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetCustomAttributes
public NetObject[] GetCustomAttributes(boolean inherit) throws java.lang.Throwable, NotImplementedException
- Overrides:
GetCustomAttributes
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
GetCustomAttributes
public NetObject[] GetCustomAttributes(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotImplementedException
- Overrides:
GetCustomAttributes
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
DefineEnum
public EnumBuilder DefineEnum(java.lang.String name, TypeAttributes visibility, NetType underlyingType) throws java.lang.Throwable, NotImplementedException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
-
DefineInitializedData
public FieldBuilder DefineInitializedData(java.lang.String name, byte[] data, FieldAttributes attributes) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, KeyNotFoundException, ArgumentOutOfRangeException, NotImplementedException
-
DefineInitializedData
public FieldBuilder DefineInitializedData(java.lang.String dupParam0, JCORefOut dupParam1, FieldAttributes dupParam2) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, KeyNotFoundException, ArgumentOutOfRangeException, NotImplementedException
-
DefineUninitializedData
public FieldBuilder DefineUninitializedData(java.lang.String name, int size, FieldAttributes attributes) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, KeyNotFoundException, ArgumentOutOfRangeException, NotImplementedException
-
GetFieldToken
public FieldToken GetFieldToken(FieldInfo field) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, NotSupportedException, NotImplementedException, MissingMethodException, ArgumentOutOfRangeException, FormatException
-
DefineGlobalMethod
public MethodBuilder DefineGlobalMethod(java.lang.String name, MethodAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, FormatException, NullReferenceException, ArgumentOutOfRangeException
-
DefineGlobalMethod
public MethodBuilder DefineGlobalMethod(java.lang.String name, MethodAttributes attributes, NetType returnType, NetType[] parameterTypes) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, FormatException, NullReferenceException, ArgumentOutOfRangeException
-
DefinePInvokeMethod
public MethodBuilder DefinePInvokeMethod(java.lang.String name, java.lang.String dllName, MethodAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet) throws java.lang.Throwable, ArgumentException, NotImplementedException, ArgumentNullException, FormatException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException
-
DefinePInvokeMethod
public MethodBuilder DefinePInvokeMethod(java.lang.String name, java.lang.String dllName, java.lang.String entryName, MethodAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet) throws java.lang.Throwable, ArgumentException, NotImplementedException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException
-
GetArrayMethodToken
public MethodToken GetArrayMethodToken(NetType arrayClass, java.lang.String methodName, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException
-
GetConstructorToken
public MethodToken GetConstructorToken(ConstructorInfo con) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, CultureNotFoundException, FormatException, IndexOutOfRangeException, MissingMethodException, OutOfMemoryException
-
GetMethodToken
public MethodToken GetMethodToken(MethodInfo method) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, NotImplementedException, CultureNotFoundException, FormatException, IndexOutOfRangeException, MissingMethodException, OutOfMemoryException
-
GetSignatureToken
public SignatureToken GetSignatureToken(byte[] sigBytes, int sigLength) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
GetSignatureToken
public SignatureToken GetSignatureToken(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
GetSignatureToken
public SignatureToken GetSignatureToken(SignatureHelper sigHelper) throws java.lang.Throwable, ArgumentNullException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
-
GetStringConstant
public StringToken GetStringConstant(java.lang.String str) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
DefineType
public TypeBuilder DefineType(java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotImplementedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotImplementedException
InvalidOperationException
-
DefineType
public TypeBuilder DefineType(java.lang.String name, TypeAttributes attr) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotImplementedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotImplementedException
InvalidOperationException
-
DefineType
public TypeBuilder DefineType(java.lang.String name, TypeAttributes attr, NetType parent) throws java.lang.Throwable, ArgumentException, NotImplementedException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
-
DefineType
public TypeBuilder DefineType(java.lang.String name, TypeAttributes attr, NetType parent, int typesize) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotImplementedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotImplementedException
InvalidOperationException
-
DefineType
public TypeBuilder DefineType(java.lang.String name, TypeAttributes attr, NetType parent, PackingSize packsize) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotImplementedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotImplementedException
InvalidOperationException
-
DefineType
public TypeBuilder DefineType(java.lang.String name, TypeAttributes attr, NetType parent, PackingSize packingSize, int typesize) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotImplementedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotImplementedException
InvalidOperationException
-
DefineType
public TypeBuilder DefineType(java.lang.String name, TypeAttributes attr, NetType parent, NetType[] interfaces) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, NotImplementedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
NotImplementedException
InvalidOperationException
-
GetTypeToken
public TypeToken GetTypeToken(java.lang.String name) throws java.lang.Throwable, NotImplementedException, ArgumentException, ArgumentNullException, FormatException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException
-
GetTypeToken
public TypeToken GetTypeToken(NetType type) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, FormatException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, MissingMethodException
-
GetField
public FieldInfo GetField(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable, NotImplementedException
- Overrides:
GetField
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
ResolveField
public FieldInfo ResolveField(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments) throws java.lang.Throwable, NotImplementedException
- Overrides:
ResolveField
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
GetFields
public FieldInfo[] GetFields(BindingFlags bindingFlags) throws java.lang.Throwable, NotImplementedException
- Overrides:
GetFields
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
ResolveMember
public MemberInfo ResolveMember(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments) throws java.lang.Throwable, NotImplementedException
- Overrides:
ResolveMember
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
ResolveMethod
public MethodBase ResolveMethod(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments) throws java.lang.Throwable, NotImplementedException
- Overrides:
ResolveMethod
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
GetArrayMethod
public MethodInfo GetArrayMethod(NetType arrayClass, java.lang.String methodName, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes) throws java.lang.Throwable, NotImplementedException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotSupportedException
-
GetMethods
public MethodInfo[] GetMethods(BindingFlags bindingFlags) throws java.lang.Throwable, NotImplementedException
- Overrides:
GetMethods
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
DefineResource
public IResourceWriter DefineResource(java.lang.String name, java.lang.String description) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
NullReferenceException
-
DefineResource
public IResourceWriter DefineResource(java.lang.String name, java.lang.String description, ResourceAttributes attribute) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
NullReferenceException
-
GetSignerCertificate
public X509Certificate GetSignerCertificate() throws java.lang.Throwable, NotImplementedException
- Overrides:
GetSignerCertificate
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
ResolveString
public java.lang.String ResolveString(int metadataToken) throws java.lang.Throwable, NotImplementedException
- Overrides:
ResolveString
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
GetType
public NetType GetType(java.lang.String className) throws java.lang.Throwable, NotImplementedException
- Overrides:
GetType
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
GetType
public NetType GetType(java.lang.String className, boolean ignoreCase) throws java.lang.Throwable, NotImplementedException
- Overrides:
GetType
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
GetType
public NetType GetType(java.lang.String className, boolean throwOnError, boolean ignoreCase) throws java.lang.Throwable, ArgumentException, NotImplementedException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, KeyNotFoundException, NullReferenceException
- Overrides:
GetType
in classModule
- Throws:
java.lang.Throwable
ArgumentException
NotImplementedException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
KeyNotFoundException
NullReferenceException
-
ResolveType
public NetType ResolveType(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments) throws java.lang.Throwable, NotImplementedException
- Overrides:
ResolveType
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
GetTypes
public NetType[] GetTypes() throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException
- Overrides:
GetTypes
in classModule
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
-
CreateGlobalFunctions
public void CreateGlobalFunctions() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, NotImplementedException, NotSupportedException
-
DefineManifestResource
public void DefineManifestResource(java.lang.String name, Stream stream, ResourceAttributes attribute) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
NullReferenceException
-
DefineUnmanagedResource
public void DefineUnmanagedResource(byte[] resource) throws java.lang.Throwable, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
-
DefineUnmanagedResource
public void DefineUnmanagedResource(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
-
DefineUnmanagedResource
public void DefineUnmanagedResource(java.lang.String resourceFileName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, SecurityException, InvalidOperationException, FileNotFoundException
-
GetPEKind
public void GetPEKind(JCORefOut<PortableExecutableKinds> peKind, JCORefOut<ImageFileMachine> machine) throws java.lang.Throwable, NotImplementedException
- Overrides:
GetPEKind
in classModule
- Throws:
java.lang.Throwable
NotImplementedException
-
SetCustomAttribute
public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, MissingMethodException, FormatException
-
SetCustomAttribute
public void SetCustomAttribute(ConstructorInfo dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, MissingMethodException, FormatException
-
SetCustomAttribute
public void SetCustomAttribute(CustomAttributeBuilder customBuilder) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, MissingMethodException, FormatException
-
SetSymCustomAttribute
public void SetSymCustomAttribute(java.lang.String name, byte[] data) throws java.lang.Throwable, ArgumentException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
-
SetSymCustomAttribute
public void SetSymCustomAttribute(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
-
SetUserEntryPoint
public void SetUserEntryPoint(MethodInfo entryPoint) throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, NotImplementedException, ArgumentOutOfRangeException, NotSupportedException, MissingMethodException, FormatException
-
-