public class GenericTypeParameterBuilder extends TypeInfo
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Emit.GenericTypeParameterBuilder
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.Emit.GenericTypeParameterBuilder
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
GenericTypeParameterBuilder() |
GenericTypeParameterBuilder(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericTypeParameterBuilder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into GenericTypeParameterBuilder, 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[] |
GetGenericArguments() |
NetType |
GetGenericTypeDefinition() |
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) |
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(NetType c) |
boolean |
IsAssignableFrom(TypeInfo typeInfo) |
boolean |
IsDefined(NetType attributeType,
boolean inherit) |
boolean |
IsSubclassOf(NetType c) |
NetType |
MakeArrayType() |
NetType |
MakeArrayType(int rank) |
NetType |
MakeByRefType() |
NetType |
MakeGenericType(NetType... typeArguments) |
NetType |
MakePointerType() |
void |
SetBaseTypeConstraint(NetType baseTypeConstraint) |
void |
SetCustomAttribute(ConstructorInfo con,
byte[] binaryAttribute) |
void |
SetCustomAttribute(ConstructorInfo dupParam0,
JCORefOut dupParam1) |
void |
SetCustomAttribute(CustomAttributeBuilder customBuilder) |
void |
SetGenericParameterAttributes(GenericParameterAttributes genericParameterAttributes) |
void |
SetInterfaceConstraints(NetType... interfaceConstraints) |
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 GenericTypeParameterBuilder()
throws java.lang.Throwable
java.lang.Throwablepublic GenericTypeParameterBuilder(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static GenericTypeParameterBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into GenericTypeParameterBuilder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedGenericTypeParameterBuilder instancejava.lang.Throwable - in case of error during cast operationpublic ConstructorInfo[] GetConstructors(BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic NetObject[] GetCustomAttributes(boolean inherit) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic NetObject[] GetCustomAttributes(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic NetType GetElementType() throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic EventInfo GetEvent(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic EventInfo[] GetEvents() throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic EventInfo[] GetEvents(BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic FieldInfo GetField(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic FieldInfo[] GetFields(BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic NetType[] GetGenericArguments() throws java.lang.Throwable, InvalidOperationException
java.lang.ThrowableInvalidOperationExceptionpublic NetType GetGenericTypeDefinition() throws java.lang.Throwable, InvalidOperationException
java.lang.ThrowableInvalidOperationExceptionpublic NetType GetInterface(java.lang.String name, boolean ignoreCase) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic InterfaceMapping GetInterfaceMap(NetType interfaceType) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic NetType[] GetInterfaces() throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic 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, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic MemberInfo[] GetMembers(BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic MethodInfo[] GetMethods(BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic NetType GetNestedType(java.lang.String name, BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic NetType[] GetNestedTypes(BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic PropertyInfo[] GetProperties(BindingFlags bindingAttr) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic NetObject InvokeMember(java.lang.String dupParam0, BindingFlags dupParam1, Binder dupParam2, NetObject dupParam3, NetObject[] dupParam4, ParameterModifier[] dupParam5, CultureInfo dupParam6, JCORefOut dupParam7) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic 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, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic boolean IsAssignableFrom(NetType c) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic boolean IsAssignableFrom(TypeInfo typeInfo) throws java.lang.Throwable, InvalidOperationException
IsAssignableFrom in class TypeInfojava.lang.ThrowableInvalidOperationExceptionpublic boolean IsDefined(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic boolean IsSubclassOf(NetType c) throws java.lang.Throwable, NotSupportedException
java.lang.ThrowableNotSupportedExceptionpublic NetType MakeArrayType() throws java.lang.Throwable, ArgumentException, ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic NetType MakeArrayType(int rank) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, ArgumentException
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionArgumentExceptionpublic NetType MakeByRefType() throws java.lang.Throwable, ArgumentException, ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic NetType MakeGenericType(NetType... typeArguments) throws java.lang.Throwable, InvalidOperationException
java.lang.ThrowableInvalidOperationExceptionpublic NetType MakePointerType() throws java.lang.Throwable, ArgumentException, ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic void SetBaseTypeConstraint(NetType baseTypeConstraint) throws java.lang.Throwable, NotImplementedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableNotImplementedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic void SetCustomAttribute(ConstructorInfo dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic void SetCustomAttribute(CustomAttributeBuilder customBuilder) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic void SetGenericParameterAttributes(GenericParameterAttributes genericParameterAttributes) throws java.lang.Throwable
java.lang.Throwablepublic void SetInterfaceConstraints(NetType... interfaceConstraints) throws java.lang.Throwable, NotImplementedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
java.lang.ThrowableNotImplementedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class TypeInfo