public class TypeDelegator extends TypeInfo
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.TypeDelegator
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=9.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.TypeDelegator
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TypeDelegator() |
TypeDelegator(NetType delegatingType) |
TypeDelegator(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeDelegator |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TypeDelegator, a cast assert is made to check if types are compatible. |
ConstructorInfo[] |
GetConstructors(BindingFlags bindingAttr) |
NetObject[] |
GetCustomAttributes(boolean inherit) |
NetObject[] |
GetCustomAttributes(NetType attributeType,
boolean inherit) |
NetType |
GetElementType() |
EventInfo |
GetEvent(java.lang.String name,
BindingFlags bindingAttr) |
EventInfo[] |
GetEvents() |
EventInfo[] |
GetEvents(BindingFlags bindingAttr) |
FieldInfo |
GetField(java.lang.String name,
BindingFlags bindingAttr) |
FieldInfo[] |
GetFields(BindingFlags bindingAttr) |
NetType[] |
GetFunctionPointerCallingConventions() |
NetType[] |
GetFunctionPointerParameterTypes() |
NetType |
GetFunctionPointerReturnType() |
NetType |
GetInterface(java.lang.String name,
boolean ignoreCase) |
InterfaceMapping |
GetInterfaceMap(NetType interfaceType) |
NetType[] |
GetInterfaces() |
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
|
MemberInfo[] |
GetMember(java.lang.String name,
MemberTypes type,
BindingFlags bindingAttr) |
MemberInfo[] |
GetMembers(BindingFlags bindingAttr) |
MemberInfo |
GetMemberWithSameMetadataDefinitionAs(MemberInfo member) |
MethodInfo[] |
GetMethods(BindingFlags bindingAttr) |
NetType |
GetNestedType(java.lang.String name,
BindingFlags bindingAttr) |
NetType[] |
GetNestedTypes(BindingFlags bindingAttr) |
PropertyInfo[] |
GetProperties(BindingFlags bindingAttr) |
NetObject |
InvokeMember(java.lang.String dupParam0,
BindingFlags dupParam1,
Binder dupParam2,
NetObject dupParam3,
NetObject[] dupParam4,
ParameterModifier[] dupParam5,
CultureInfo dupParam6,
JCORefOut dupParam7) |
NetObject |
InvokeMember(java.lang.String name,
BindingFlags invokeAttr,
Binder binder,
NetObject target,
NetObject[] args,
ParameterModifier[] modifiers,
CultureInfo culture,
java.lang.String[] namedParameters) |
boolean |
IsAssignableFrom(TypeInfo typeInfo) |
boolean |
IsDefined(NetType attributeType,
boolean inherit) |
void |
setJCOInstance(JCObject instance) |
AsType, GetDeclaredEvent, GetDeclaredField, GetDeclaredMethod, GetDeclaredNestedType, GetDeclaredProperty, getGenericTypeParametersEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetTypeInfo, ToIReflectableTypepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TypeDelegator()
throws java.lang.Throwable
java.lang.Throwablepublic TypeDelegator(NetType delegatingType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public TypeDelegator(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static TypeDelegator cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TypeDelegator, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTypeDelegator instancejava.lang.Throwable - in case of error during cast operationpublic ConstructorInfo[] GetConstructors(BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic NetObject[] GetCustomAttributes(boolean inherit) throws java.lang.Throwable
java.lang.Throwablepublic NetObject[] GetCustomAttributes(NetType attributeType, boolean inherit) throws java.lang.Throwable
java.lang.Throwablepublic NetType GetElementType() throws java.lang.Throwable
java.lang.Throwablepublic EventInfo GetEvent(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic EventInfo[] GetEvents() throws java.lang.Throwable
java.lang.Throwablepublic EventInfo[] GetEvents(BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic FieldInfo GetField(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic FieldInfo[] GetFields(BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic NetType[] GetFunctionPointerCallingConventions() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public NetType[] GetFunctionPointerParameterTypes() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public NetType GetFunctionPointerReturnType() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public NetType GetInterface(java.lang.String name, boolean ignoreCase) throws java.lang.Throwable
java.lang.Throwablepublic InterfaceMapping GetInterfaceMap(NetType interfaceType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public NetType[] GetInterfaces() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IReflectableTypegetJCOAssemblyName in class TypeInfoString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IReflectableTypegetJCOClassName in class TypeInfoString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IReflectableTypegetJCOInstance in class TypeInfoObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IReflectableTypegetJCOObjectName in class TypeInfoString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IReflectableTypegetJCOType in class TypeInfoJCType representing the CLR Type of the instantiated Classpublic MemberInfo[] GetMember(java.lang.String name, MemberTypes type, BindingFlags bindingAttr) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public MemberInfo[] GetMembers(BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic MemberInfo GetMemberWithSameMetadataDefinitionAs(MemberInfo member) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic MethodInfo[] GetMethods(BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic NetType GetNestedType(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic NetType[] GetNestedTypes(BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic PropertyInfo[] GetProperties(BindingFlags bindingAttr) throws java.lang.Throwable
java.lang.Throwablepublic NetObject InvokeMember(java.lang.String dupParam0, BindingFlags dupParam1, Binder dupParam2, NetObject dupParam3, NetObject[] dupParam4, ParameterModifier[] dupParam5, CultureInfo dupParam6, JCORefOut dupParam7) throws java.lang.Throwable
java.lang.Throwablepublic NetObject InvokeMember(java.lang.String name, BindingFlags invokeAttr, Binder binder, NetObject target, NetObject[] args, ParameterModifier[] modifiers, CultureInfo culture, java.lang.String[] namedParameters) throws java.lang.Throwable
java.lang.Throwablepublic boolean IsAssignableFrom(TypeInfo typeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
IsAssignableFrom in class TypeInfojava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionpublic boolean IsDefined(NetType attributeType, boolean inherit) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class TypeInfo