public class Module extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Module
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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.Reflection.Module
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Module() |
Module(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Module |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Module, a cast assert is made to check if types are compatible. |
NetType[] |
FindTypes(TypeFilter filter,
NetObject filterCriteria) |
Assembly |
getAssembly() |
NetObject[] |
GetCustomAttributes(boolean inherit) |
NetObject[] |
GetCustomAttributes(NetType attributeType,
boolean inherit) |
FieldInfo |
GetField(java.lang.String name) |
FieldInfo |
GetField(java.lang.String name,
BindingFlags bindingAttr) |
FieldInfo[] |
GetFields() |
FieldInfo[] |
GetFields(BindingFlags bindingFlags) |
java.lang.String |
getFullyQualifiedName() |
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
|
int |
getMDStreamVersion() |
int |
getMetadataToken() |
MethodInfo |
GetMethod(java.lang.String name) |
MethodInfo |
GetMethod(java.lang.String name,
BindingFlags bindingAttr,
Binder binder,
CallingConventions callConvention,
NetType[] types,
ParameterModifier[] modifiers) |
MethodInfo |
GetMethod(java.lang.String name,
NetType[] types) |
MethodInfo[] |
GetMethods() |
MethodInfo[] |
GetMethods(BindingFlags bindingFlags) |
ModuleHandle |
getModuleHandle() |
Guid |
getModuleVersionId() |
java.lang.String |
getName() |
void |
GetObjectData(SerializationInfo info,
StreamingContext context) |
void |
GetPEKind(JCORefOut<PortableExecutableKinds> peKind,
JCORefOut<ImageFileMachine> machine) |
java.lang.String |
getScopeName() |
X509Certificate |
GetSignerCertificate() |
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() |
boolean |
IsDefined(NetType attributeType,
boolean inherit) |
boolean |
IsResource() |
FieldInfo |
ResolveField(int metadataToken) |
FieldInfo |
ResolveField(int metadataToken,
NetType[] genericTypeArguments,
NetType[] genericMethodArguments) |
MemberInfo |
ResolveMember(int metadataToken) |
MemberInfo |
ResolveMember(int metadataToken,
NetType[] genericTypeArguments,
NetType[] genericMethodArguments) |
MethodBase |
ResolveMethod(int metadataToken) |
MethodBase |
ResolveMethod(int metadataToken,
NetType[] genericTypeArguments,
NetType[] genericMethodArguments) |
byte[] |
ResolveSignature(int metadataToken) |
java.lang.String |
ResolveString(int metadataToken) |
NetType |
ResolveType(int metadataToken) |
NetType |
ResolveType(int metadataToken,
NetType[] genericTypeArguments,
NetType[] genericMethodArguments) |
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Module()
throws java.lang.Throwable
java.lang.Throwablepublic Module(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Module cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Module, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedModule instancejava.lang.Throwable - in case of error during cast operationpublic NetType[] FindTypes(TypeFilter filter, NetObject filterCriteria) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic Assembly getAssembly() throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic NetObject[] GetCustomAttributes(boolean inherit) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic NetObject[] GetCustomAttributes(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic FieldInfo GetField(java.lang.String name) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic FieldInfo GetField(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic FieldInfo[] GetFields() throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic FieldInfo[] GetFields(BindingFlags bindingFlags) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic java.lang.String getFullyQualifiedName()
throws java.lang.Throwable,
NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic int getMDStreamVersion()
throws java.lang.Throwable,
NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic int getMetadataToken()
throws java.lang.Throwable,
NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic MethodInfo GetMethod(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic MethodInfo GetMethod(java.lang.String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, NetType[] types, ParameterModifier[] modifiers) throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic MethodInfo GetMethod(java.lang.String name, NetType[] types) throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic MethodInfo[] GetMethods() throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic MethodInfo[] GetMethods(BindingFlags bindingFlags) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic ModuleHandle getModuleHandle() throws java.lang.Throwable
java.lang.Throwablepublic Guid getModuleVersionId() throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic java.lang.String getName()
throws java.lang.Throwable,
NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic void GetPEKind(JCORefOut<PortableExecutableKinds> peKind, JCORefOut<ImageFileMachine> machine) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic java.lang.String getScopeName()
throws java.lang.Throwable,
NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic X509Certificate GetSignerCertificate() throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic NetType GetType(java.lang.String className) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic NetType GetType(java.lang.String className, boolean ignoreCase) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic NetType GetType(java.lang.String className, boolean throwOnError, boolean ignoreCase) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic NetType[] GetTypes() throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic boolean IsDefined(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic boolean IsResource()
throws java.lang.Throwable,
NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic FieldInfo ResolveField(int metadataToken) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic FieldInfo ResolveField(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic MemberInfo ResolveMember(int metadataToken) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic MemberInfo ResolveMember(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic MethodBase ResolveMethod(int metadataToken) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic MethodBase ResolveMethod(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic byte[] ResolveSignature(int metadataToken)
throws java.lang.Throwable,
NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic java.lang.String ResolveString(int metadataToken)
throws java.lang.Throwable,
NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic NetType ResolveType(int metadataToken) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic NetType ResolveType(int metadataToken, NetType[] genericTypeArguments, NetType[] genericMethodArguments) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject