public class PersistedAssemblyBuilder extends AssemblyBuilder
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Emit.PersistedAssemblyBuilder
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.Reflection.Emit, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Reflection.Emit
|
static java.lang.String |
className
Qualified class name: System.Reflection.Emit.PersistedAssemblyBuilder
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PersistedAssemblyBuilder() |
PersistedAssemblyBuilder(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PersistedAssemblyBuilder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PersistedAssemblyBuilder, a cast assert is made to check if types are compatible. |
MetadataBuilder |
GenerateMetadata(JCORefOut<BlobBuilder> ilStream,
JCORefOut<BlobBuilder> mappedFieldData) |
MetadataBuilder |
GenerateMetadata(JCORefOut<BlobBuilder> ilStream,
JCORefOut<BlobBuilder> mappedFieldData,
JCORefOut<MetadataBuilder> pdbBuilder) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
AssemblyName |
GetName(boolean copiedName) |
void |
Save(Stream stream) |
void |
Save(java.lang.String assemblyFileName) |
void |
setJCOInstance(JCObject instance) |
DefineDynamicAssembly, DefineDynamicModule, GetDynamicModule, GetExportedTypes, GetFile, GetFiles, GetManifestResourceInfo, GetManifestResourceNames, GetManifestResourceStream, GetManifestResourceStream, SetCustomAttribute, SetCustomAttribute, SetCustomAttributeaddModuleResolve, CreateInstance, CreateInstance, CreateInstance, CreateQualifiedName, GetAssembly, GetCallingAssembly, getCodeBase, GetCustomAttributes, GetCustomAttributes, GetEntryAssembly, getEntryPoint, getEscapedCodeBase, GetExecutingAssembly, GetFiles, GetForwardedTypes, getFullName, getGlobalAssemblyCache, getHostContext, getImageRuntimeVersion, getIsCollectible, getIsDynamic, getIsFullyTrusted, GetLoadedModules, GetLoadedModules, getLocation, getManifestModule, GetModule, GetModules, GetModules, GetName, GetObjectData, GetReferencedAssemblies, getReflectionOnly, GetSatelliteAssembly, GetSatelliteAssembly, getSecurityRuleSet, GetType, GetType, GetType, GetTypes, IsDefined, Load, Load, Load, Load, Load, Load, LoadFile, LoadFrom, LoadFrom, LoadFrom, LoadModule, LoadModule, LoadModule, LoadModule, LoadWithPartialName, ReflectionOnlyLoad, ReflectionOnlyLoad, ReflectionOnlyLoad, ReflectionOnlyLoadFrom, removeModuleResolve, SetEntryAssembly, UnsafeLoadFrompublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PersistedAssemblyBuilder()
throws java.lang.Throwable
java.lang.Throwablepublic PersistedAssemblyBuilder(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static PersistedAssemblyBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PersistedAssemblyBuilder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPersistedAssemblyBuilder instancejava.lang.Throwable - in case of error during cast operationpublic MetadataBuilder GenerateMetadata(JCORefOut<BlobBuilder> ilStream, JCORefOut<BlobBuilder> mappedFieldData) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, SecurityException, InvalidCastException, BadImageFormatException, KeyNotFoundException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionSecurityExceptionInvalidCastExceptionBadImageFormatExceptionKeyNotFoundExceptionNotImplementedExceptionpublic MetadataBuilder GenerateMetadata(JCORefOut<BlobBuilder> ilStream, JCORefOut<BlobBuilder> mappedFieldData, JCORefOut<MetadataBuilder> pdbBuilder) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, SecurityException, InvalidCastException, BadImageFormatException, KeyNotFoundException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionSecurityExceptionInvalidCastExceptionBadImageFormatExceptionKeyNotFoundExceptionNotImplementedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class AssemblyBuilderString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class AssemblyBuilderString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class AssemblyBuilderObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class AssemblyBuilderString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class AssemblyBuilderJCType representing the CLR Type of the instantiated Classpublic AssemblyName GetName(boolean copiedName) throws java.lang.Throwable, PlatformNotSupportedException
GetName in class Assemblyjava.lang.ThrowablePlatformNotSupportedExceptionpublic void Save(Stream stream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, SecurityException, ArrayTypeMismatchException, InvalidCastException, BadImageFormatException, KeyNotFoundException, NotImplementedException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionSecurityExceptionArrayTypeMismatchExceptionInvalidCastExceptionBadImageFormatExceptionKeyNotFoundExceptionNotImplementedExceptionCultureNotFoundExceptionpublic void Save(java.lang.String assemblyFileName)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
SerializationException,
IndexOutOfRangeException,
SecurityException,
InvalidCastException,
BadImageFormatException,
KeyNotFoundException,
NotImplementedException,
CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionSerializationExceptionIndexOutOfRangeExceptionSecurityExceptionInvalidCastExceptionBadImageFormatExceptionKeyNotFoundExceptionNotImplementedExceptionCultureNotFoundExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class AssemblyBuilder