Package system.reflection
Interface IReflect
-
- All Superinterfaces:
IJCOBridgeReflected
- All Known Implementing Classes:
IReflectImplementation
public interface IReflect extends IJCOBridgeReflected
The base .NET class managing System.Reflection.IReflect, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e.See: https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.IReflect
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic String
assemblyShortName
Assembly name: System.Private.CoreLibstatic String
className
Qualified class name: System.Reflection.IReflect
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldInfo
GetField(String name, BindingFlags bindingAttr)
FieldInfo[]
GetFields(BindingFlags bindingAttr)
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeMemberInfo[]
GetMember(String name, BindingFlags bindingAttr)
MemberInfo[]
GetMembers(BindingFlags bindingAttr)
MethodInfo
GetMethod(String name, BindingFlags bindingAttr)
MethodInfo
GetMethod(String name, BindingFlags bindingAttr, Binder binder, NetType[] types, ParameterModifier[] modifiers)
MethodInfo[]
GetMethods(BindingFlags bindingAttr)
PropertyInfo[]
GetProperties(BindingFlags bindingAttr)
PropertyInfo
GetProperty(String name, BindingFlags bindingAttr)
PropertyInfo
GetProperty(String name, BindingFlags bindingAttr, Binder binder, NetType returnType, NetType[] types, ParameterModifier[] modifiers)
NetType
getUnderlyingSystemType()
NetObject
InvokeMember(String name, BindingFlags invokeAttr, Binder binder, NetObject target, NetObject[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
NetObject
InvokeMember(String dupParam0, BindingFlags dupParam1, Binder dupParam2, NetObject dupParam3, NetObject[] dupParam4, ParameterModifier[] dupParam5, CultureInfo dupParam6, JCORefOut dupParam7)
static IReflect
ToIReflect(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoIReflect
, a cast assert is made to check if types are compatible.
-
-
-
Field Detail
-
assemblyFullName
static final String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
static final String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
static final String className
Qualified class name: System.Reflection.IReflect- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIReflect
static IReflect ToIReflect(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoIReflect
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IReflect
instance- Throws:
Throwable
- in case of error during cast operation
-
getJCOAssemblyName
String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Returns:
- An
Object
representing the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Returns:
- A
JCType
representing the Type of the instantiated Class
-
InvokeMember
NetObject InvokeMember(String name, BindingFlags invokeAttr, Binder binder, NetObject target, NetObject[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) throws Throwable
- Throws:
Throwable
-
InvokeMember
NetObject InvokeMember(String dupParam0, BindingFlags dupParam1, Binder dupParam2, NetObject dupParam3, NetObject[] dupParam4, ParameterModifier[] dupParam5, CultureInfo dupParam6, JCORefOut dupParam7) throws Throwable
- Throws:
Throwable
-
GetField
FieldInfo GetField(String name, BindingFlags bindingAttr) throws Throwable
- Throws:
Throwable
-
GetFields
FieldInfo[] GetFields(BindingFlags bindingAttr) throws Throwable
- Throws:
Throwable
-
GetMember
MemberInfo[] GetMember(String name, BindingFlags bindingAttr) throws Throwable
- Throws:
Throwable
-
GetMembers
MemberInfo[] GetMembers(BindingFlags bindingAttr) throws Throwable
- Throws:
Throwable
-
GetMethod
MethodInfo GetMethod(String name, BindingFlags bindingAttr, Binder binder, NetType[] types, ParameterModifier[] modifiers) throws Throwable
- Throws:
Throwable
-
GetMethod
MethodInfo GetMethod(String name, BindingFlags bindingAttr) throws Throwable
- Throws:
Throwable
-
GetMethods
MethodInfo[] GetMethods(BindingFlags bindingAttr) throws Throwable
- Throws:
Throwable
-
GetProperty
PropertyInfo GetProperty(String name, BindingFlags bindingAttr, Binder binder, NetType returnType, NetType[] types, ParameterModifier[] modifiers) throws Throwable
- Throws:
Throwable
-
GetProperty
PropertyInfo GetProperty(String name, BindingFlags bindingAttr) throws Throwable
- Throws:
Throwable
-
GetProperties
PropertyInfo[] GetProperties(BindingFlags bindingAttr) throws Throwable
- Throws:
Throwable
-
-