Package system.reflection
Class Assembly
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.reflection.Assembly
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
AssemblyBuilder
public class Assembly extends NetObject
The base .NET class managing System.Reflection.Assembly, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Assembly
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.StringassemblyFullNameFully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: mscorlibstatic java.lang.StringclassNameQualified class name: System.Reflection.Assemblystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddModuleResolve(ModuleResolveEventHandler handler)static Assemblycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoAssembly, a cast assert is made to check if types are compatible.NetObjectCreateInstance(java.lang.String typeName)NetObjectCreateInstance(java.lang.String typeName, boolean ignoreCase)NetObjectCreateInstance(java.lang.String typeName, boolean ignoreCase, BindingFlags bindingAttr, Binder binder, NetObject[] args, CultureInfo culture, NetObject[] activationAttributes)static java.lang.StringCreateQualifiedName(java.lang.String assemblyName, java.lang.String typeName)static AssemblyGetAssembly(NetType type)static AssemblyGetCallingAssembly()java.lang.StringgetCodeBase()NetObject[]GetCustomAttributes(boolean inherit)NetObject[]GetCustomAttributes(NetType attributeType, boolean inherit)static AssemblyGetEntryAssembly()MethodInfogetEntryPoint()java.lang.StringgetEscapedCodeBase()EvidencegetEvidence()static AssemblyGetExecutingAssembly()NetType[]GetExportedTypes()FileStreamGetFile(java.lang.String name)FileStream[]GetFiles()FileStream[]GetFiles(boolean getResourceModules)java.lang.StringgetFullName()booleangetGlobalAssemblyCache()longgetHostContext()java.lang.StringgetImageRuntimeVersion()booleangetIsDynamic()booleangetIsFullyTrusted()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeModule[]GetLoadedModules()Module[]GetLoadedModules(boolean getResourceModules)java.lang.StringgetLocation()ModulegetManifestModule()ManifestResourceInfoGetManifestResourceInfo(java.lang.String resourceName)java.lang.String[]GetManifestResourceNames()StreamGetManifestResourceStream(java.lang.String name)StreamGetManifestResourceStream(NetType type, java.lang.String name)ModuleGetModule(java.lang.String name)Module[]GetModules()Module[]GetModules(boolean getResourceModules)AssemblyNameGetName()AssemblyNameGetName(boolean copiedName)voidGetObjectData(SerializationInfo info, StreamingContext context)PermissionSetgetPermissionSet()AssemblyName[]GetReferencedAssemblies()booleangetReflectionOnly()AssemblyGetSatelliteAssembly(CultureInfo culture)AssemblyGetSatelliteAssembly(CultureInfo culture, Version version)SecurityRuleSetgetSecurityRuleSet()NetTypeGetType(java.lang.String name)NetTypeGetType(java.lang.String name, boolean throwOnError)NetTypeGetType(java.lang.String name, boolean throwOnError, boolean ignoreCase)NetType[]GetTypes()booleanIsDefined(NetType attributeType, boolean inherit)static AssemblyLoad(byte[] rawAssembly)static AssemblyLoad(byte[] rawAssembly, byte[] rawSymbolStore)static AssemblyLoad(byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence)static AssemblyLoad(byte[] rawAssembly, byte[] rawSymbolStore, SecurityContextSource securityContextSource)static AssemblyLoad(java.lang.String assemblyString)static AssemblyLoad(java.lang.String assemblyString, Evidence assemblySecurity)static AssemblyLoad(JCORefOut dupParam0)static AssemblyLoad(JCORefOut dupParam0, JCORefOut dupParam1)static AssemblyLoad(JCORefOut dupParam0, JCORefOut dupParam1, Evidence dupParam2)static AssemblyLoad(JCORefOut dupParam0, JCORefOut dupParam1, SecurityContextSource dupParam2)static AssemblyLoad(AssemblyName assemblyRef)static AssemblyLoad(AssemblyName assemblyRef, Evidence assemblySecurity)static AssemblyLoadFile(java.lang.String path)static AssemblyLoadFile(java.lang.String path, Evidence securityEvidence)static AssemblyLoadFrom(java.lang.String assemblyFile)static AssemblyLoadFrom(java.lang.String assemblyFile, byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)static AssemblyLoadFrom(java.lang.String dupParam0, JCORefOut dupParam1, AssemblyHashAlgorithm dupParam2)static AssemblyLoadFrom(java.lang.String assemblyFile, Evidence securityEvidence)static AssemblyLoadFrom(java.lang.String assemblyFile, Evidence securityEvidence, byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)static AssemblyLoadFrom(java.lang.String dupParam0, Evidence dupParam1, JCORefOut dupParam2, AssemblyHashAlgorithm dupParam3)ModuleLoadModule(java.lang.String moduleName, byte[] rawModule)ModuleLoadModule(java.lang.String moduleName, byte[] rawModule, byte[] rawSymbolStore)ModuleLoadModule(java.lang.String dupParam0, JCORefOut dupParam1)ModuleLoadModule(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2)static AssemblyLoadWithPartialName(java.lang.String partialName)static AssemblyLoadWithPartialName(java.lang.String partialName, Evidence securityEvidence)static AssemblyReflectionOnlyLoad(byte[] rawAssembly)static AssemblyReflectionOnlyLoad(java.lang.String assemblyString)static AssemblyReflectionOnlyLoad(JCORefOut dupParam0)static AssemblyReflectionOnlyLoadFrom(java.lang.String assemblyFile)voidremoveModuleResolve(ModuleResolveEventHandler handler)voidsetJCOInstance(JCObject instance)static AssemblyUnsafeLoadFrom(java.lang.String assemblyFile)
-
-
-
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.Assembly- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Assembly cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoAssembly, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Assemblyinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
IsDefined
public boolean IsDefined(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetFile
public FileStream GetFile(java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetFiles
public FileStream[] GetFiles() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetFiles
public FileStream[] GetFiles(boolean getResourceModules) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetManifestResourceStream
public Stream GetManifestResourceStream(java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetManifestResourceStream
public Stream GetManifestResourceStream(NetType type, java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
CreateInstance
public NetObject CreateInstance(java.lang.String typeName) throws java.lang.Throwable, NotImplementedException, ArgumentNullException, NotSupportedException, InvalidOperationException, ArgumentException, FormatException, SecurityException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
CreateInstance
public NetObject CreateInstance(java.lang.String typeName, boolean ignoreCase) throws java.lang.Throwable, NotImplementedException, ArgumentNullException, NotSupportedException, InvalidOperationException, ArgumentException, FormatException, SecurityException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
CreateInstance
public NetObject CreateInstance(java.lang.String typeName, boolean ignoreCase, BindingFlags bindingAttr, Binder binder, NetObject[] args, CultureInfo culture, NetObject[] activationAttributes) throws java.lang.Throwable, NotImplementedException, ArgumentNullException, NotSupportedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, MissingMethodException
-
GetCustomAttributes
public NetObject[] GetCustomAttributes(boolean inherit) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetCustomAttributes
public NetObject[] GetCustomAttributes(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetAssembly
public static Assembly GetAssembly(NetType type) throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedException
-
GetCallingAssembly
public static Assembly GetCallingAssembly() throws java.lang.Throwable, InvalidOperationException
- Throws:
java.lang.ThrowableInvalidOperationException
-
GetEntryAssembly
public static Assembly GetEntryAssembly() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, IndexOutOfRangeException, InvalidOperationException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionFormatExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionIndexOutOfRangeExceptionInvalidOperationExceptionNotImplementedException
-
GetExecutingAssembly
public static Assembly GetExecutingAssembly() throws java.lang.Throwable, InvalidOperationException
- Throws:
java.lang.ThrowableInvalidOperationException
-
GetSatelliteAssembly
public Assembly GetSatelliteAssembly(CultureInfo culture) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetSatelliteAssembly
public Assembly GetSatelliteAssembly(CultureInfo culture, Version version) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
Load
public static Assembly Load(byte[] rawAssembly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(JCORefOut dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore, Evidence securityEvidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(JCORefOut dupParam0, JCORefOut dupParam1, Evidence dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore, SecurityContextSource securityContextSource) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(JCORefOut dupParam0, JCORefOut dupParam1, SecurityContextSource dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
Load
public static Assembly Load(AssemblyName assemblyRef) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionOverflowException
-
Load
public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionOverflowException
-
Load
public static Assembly Load(java.lang.String assemblyString) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
Load
public static Assembly Load(java.lang.String assemblyString, Evidence assemblySecurity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
LoadFile
public static Assembly LoadFile(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException, IndexOutOfRangeException, NullReferenceException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNotSupportedExceptionIndexOutOfRangeExceptionNullReferenceException
-
LoadFile
public static Assembly LoadFile(java.lang.String path, Evidence securityEvidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException, IndexOutOfRangeException, NullReferenceException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNotSupportedExceptionIndexOutOfRangeExceptionNullReferenceException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String assemblyFile) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String assemblyFile, byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String dupParam0, JCORefOut dupParam1, AssemblyHashAlgorithm dupParam2) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String assemblyFile, Evidence securityEvidence) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String assemblyFile, Evidence securityEvidence, byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
LoadFrom
public static Assembly LoadFrom(java.lang.String dupParam0, Evidence dupParam1, JCORefOut dupParam2, AssemblyHashAlgorithm dupParam3) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
LoadWithPartialName
public static Assembly LoadWithPartialName(java.lang.String partialName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, NotSupportedException, FormatException, NotImplementedException, CultureNotFoundException, SecurityException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionNotImplementedExceptionCultureNotFoundExceptionSecurityExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
LoadWithPartialName
public static Assembly LoadWithPartialName(java.lang.String partialName, Evidence securityEvidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, NotSupportedException, FormatException, NotImplementedException, CultureNotFoundException, SecurityException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionNotImplementedExceptionCultureNotFoundExceptionSecurityExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
ReflectionOnlyLoad
public static Assembly ReflectionOnlyLoad(byte[] rawAssembly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
ReflectionOnlyLoad
public static Assembly ReflectionOnlyLoad(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
-
ReflectionOnlyLoad
public static Assembly ReflectionOnlyLoad(java.lang.String assemblyString) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionNotSupportedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
ReflectionOnlyLoadFrom
public static Assembly ReflectionOnlyLoadFrom(java.lang.String assemblyFile) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
UnsafeLoadFrom
public static Assembly UnsafeLoadFrom(java.lang.String assemblyFile) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, ArgumentException, IndexOutOfRangeException, PathTooLongException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
GetName
public AssemblyName GetName() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetName
public AssemblyName GetName(boolean copiedName) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetReferencedAssemblies
public AssemblyName[] GetReferencedAssemblies() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetManifestResourceInfo
public ManifestResourceInfo GetManifestResourceInfo(java.lang.String resourceName) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetModule
public Module GetModule(java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
LoadModule
public Module LoadModule(java.lang.String moduleName, byte[] rawModule) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
LoadModule
public Module LoadModule(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
LoadModule
public Module LoadModule(java.lang.String moduleName, byte[] rawModule, byte[] rawSymbolStore) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
LoadModule
public Module LoadModule(java.lang.String dupParam0, JCORefOut dupParam1, JCORefOut dupParam2) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetLoadedModules
public Module[] GetLoadedModules() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetLoadedModules
public Module[] GetLoadedModules(boolean getResourceModules) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetModules
public Module[] GetModules() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetModules
public Module[] GetModules(boolean getResourceModules) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
CreateQualifiedName
public static java.lang.String CreateQualifiedName(java.lang.String assemblyName, java.lang.String typeName) throws java.lang.Throwable, IndexOutOfRangeException- Throws:
java.lang.ThrowableIndexOutOfRangeException
-
GetManifestResourceNames
public java.lang.String[] GetManifestResourceNames() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
GetType
public NetType GetType(java.lang.String name) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetType
public NetType GetType(java.lang.String name, boolean throwOnError) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetType
public NetType GetType(java.lang.String name, boolean throwOnError, boolean ignoreCase) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetExportedTypes
public NetType[] GetExportedTypes() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetTypes
public NetType[] GetTypes() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetObjectData
public void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
getGlobalAssemblyCache
public boolean getGlobalAssemblyCache() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
getIsDynamic
public boolean getIsDynamic() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsFullyTrusted
public boolean getIsFullyTrusted() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
getReflectionOnly
public boolean getReflectionOnly() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
getHostContext
public long getHostContext() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
getEntryPoint
public MethodInfo getEntryPoint() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
getManifestModule
public Module getManifestModule() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
getPermissionSet
public PermissionSet getPermissionSet() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
getEvidence
public Evidence getEvidence() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
getSecurityRuleSet
public SecurityRuleSet getSecurityRuleSet() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
getCodeBase
public java.lang.String getCodeBase() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
getEscapedCodeBase
public java.lang.String getEscapedCodeBase() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
getFullName
public java.lang.String getFullName() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
getImageRuntimeVersion
public java.lang.String getImageRuntimeVersion() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
getLocation
public java.lang.String getLocation() throws java.lang.Throwable, NotImplementedException- Throws:
java.lang.ThrowableNotImplementedException
-
addModuleResolve
public void addModuleResolve(ModuleResolveEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeModuleResolve
public void removeModuleResolve(ModuleResolveEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-