public class TypeBuilder extends TypeInfo
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Reflection.Emit.TypeBuilder
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=8.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.Emit.TypeBuilder
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TypeBuilder() |
TypeBuilder(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddInterfaceImplementation(NetType interfaceType)
Invokes the .NET member AddInterfaceImplementation.
|
static TypeBuilder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TypeBuilder, a cast assert is made to check if types are compatible. |
NetType |
CreateType()
Invokes the .NET member CreateType.
|
TypeInfo |
CreateTypeInfo()
Invokes the .NET member CreateTypeInfo.
|
ConstructorBuilder |
DefineConstructor(MethodAttributes attributes,
CallingConventions callingConvention,
NetType[] parameterTypes)
Invokes the .NET member DefineConstructor.
|
ConstructorBuilder |
DefineDefaultConstructor(MethodAttributes attributes)
Invokes the .NET member DefineDefaultConstructor.
|
EventBuilder |
DefineEvent(java.lang.String name,
EventAttributes attributes,
NetType eventtype)
Invokes the .NET member DefineEvent.
|
FieldBuilder |
DefineField(java.lang.String fieldName,
NetType type,
FieldAttributes attributes)
Invokes the .NET member DefineField.
|
FieldBuilder |
DefineField(java.lang.String fieldName,
NetType type,
NetType[] requiredCustomModifiers,
NetType[] optionalCustomModifiers,
FieldAttributes attributes)
Invokes the .NET member DefineField.
|
GenericTypeParameterBuilder[] |
DefineGenericParameters(JCORefOut dupParam0)
Invokes the .NET member DefineGenericParameters.
|
GenericTypeParameterBuilder[] |
DefineGenericParameters(java.lang.String... names)
Invokes the .NET member DefineGenericParameters.
|
FieldBuilder |
DefineInitializedData(java.lang.String name,
byte[] data,
FieldAttributes attributes)
Invokes the .NET member DefineInitializedData.
|
FieldBuilder |
DefineInitializedData(java.lang.String dupParam0,
JCORefOut dupParam1,
FieldAttributes dupParam2)
Invokes the .NET member DefineInitializedData.
|
MethodBuilder |
DefineMethod(java.lang.String name,
MethodAttributes attributes)
Invokes the .NET member DefineMethod.
|
MethodBuilder |
DefineMethod(java.lang.String name,
MethodAttributes attributes,
CallingConventions callingConvention)
Invokes the .NET member DefineMethod.
|
MethodBuilder |
DefineMethod(java.lang.String name,
MethodAttributes attributes,
CallingConventions callingConvention,
NetType returnType,
NetType[] parameterTypes)
Invokes the .NET member DefineMethod.
|
MethodBuilder |
DefineMethod(java.lang.String name,
MethodAttributes attributes,
NetType returnType,
NetType[] parameterTypes)
Invokes the .NET member DefineMethod.
|
void |
DefineMethodOverride(MethodInfo methodInfoBody,
MethodInfo methodInfoDeclaration)
Invokes the .NET member DefineMethodOverride.
|
TypeBuilder |
DefineNestedType(java.lang.String name)
Invokes the .NET member DefineNestedType.
|
TypeBuilder |
DefineNestedType(java.lang.String name,
TypeAttributes attr)
Invokes the .NET member DefineNestedType.
|
TypeBuilder |
DefineNestedType(java.lang.String name,
TypeAttributes attr,
NetType parent)
Invokes the .NET member DefineNestedType.
|
TypeBuilder |
DefineNestedType(java.lang.String name,
TypeAttributes attr,
NetType parent,
int typeSize)
Invokes the .NET member DefineNestedType.
|
TypeBuilder |
DefineNestedType(java.lang.String name,
TypeAttributes attr,
NetType parent,
NetType[] interfaces)
Invokes the .NET member DefineNestedType.
|
TypeBuilder |
DefineNestedType(java.lang.String name,
TypeAttributes attr,
NetType parent,
PackingSize packSize)
Invokes the .NET member DefineNestedType.
|
TypeBuilder |
DefineNestedType(java.lang.String name,
TypeAttributes attr,
NetType parent,
PackingSize packSize,
int typeSize)
Invokes the .NET member DefineNestedType.
|
MethodBuilder |
DefinePInvokeMethod(java.lang.String name,
java.lang.String dllName,
MethodAttributes attributes,
CallingConventions callingConvention,
NetType returnType,
NetType[] parameterTypes,
CallingConvention nativeCallConv,
CharSet nativeCharSet)
Invokes the .NET member DefinePInvokeMethod.
|
MethodBuilder |
DefinePInvokeMethod(java.lang.String name,
java.lang.String dllName,
java.lang.String entryName,
MethodAttributes attributes,
CallingConventions callingConvention,
NetType returnType,
NetType[] parameterTypes,
CallingConvention nativeCallConv,
CharSet nativeCharSet)
Invokes the .NET member DefinePInvokeMethod.
|
PropertyBuilder |
DefineProperty(java.lang.String name,
PropertyAttributes attributes,
CallingConventions callingConvention,
NetType returnType,
NetType[] parameterTypes)
Invokes the .NET member DefineProperty.
|
PropertyBuilder |
DefineProperty(java.lang.String name,
PropertyAttributes attributes,
NetType returnType,
NetType[] parameterTypes)
Invokes the .NET member DefineProperty.
|
ConstructorBuilder |
DefineTypeInitializer()
Invokes the .NET member DefineTypeInitializer.
|
FieldBuilder |
DefineUninitializedData(java.lang.String name,
int size,
FieldAttributes attributes)
Invokes the .NET member DefineUninitializedData.
|
static ConstructorInfo |
GetConstructor(NetType type,
ConstructorInfo constructor)
Invokes the .NET member GetConstructor.
|
static FieldInfo |
GetField(NetType type,
FieldInfo field)
Invokes the .NET member GetField.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static MethodInfo |
GetMethod(NetType type,
MethodInfo method)
Invokes the .NET member GetMethod.
|
PackingSize |
getPackingSize()
Gets the value of the .NET property PackingSize.
|
int |
getSize()
Gets the value of the .NET property Size.
|
boolean |
IsCreated()
Invokes the .NET member IsCreated.
|
NetType |
MakeArrayType()
Invokes the .NET member MakeArrayType.
|
NetType |
MakeArrayType(int rank)
Invokes the .NET member MakeArrayType.
|
NetType |
MakeByRefType()
Invokes the .NET member MakeByRefType.
|
NetType |
MakeGenericType(NetType... typeArguments)
Invokes the .NET member MakeGenericType.
|
NetType |
MakePointerType()
Invokes the .NET member MakePointerType.
|
void |
SetCustomAttribute(ConstructorInfo con,
byte[] binaryAttribute)
Invokes the .NET member SetCustomAttribute.
|
void |
SetCustomAttribute(ConstructorInfo dupParam0,
JCORefOut dupParam1)
Invokes the .NET member SetCustomAttribute.
|
void |
SetCustomAttribute(CustomAttributeBuilder customBuilder)
Invokes the .NET member SetCustomAttribute.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetParent(NetType parent)
Invokes the .NET member SetParent.
|
AsType, getDeclaredConstructors, GetDeclaredEvent, getDeclaredEvents, GetDeclaredField, getDeclaredFields, getDeclaredMembers, GetDeclaredMethod, getDeclaredMethods, GetDeclaredMethods, GetDeclaredNestedType, getDeclaredNestedTypes, getDeclaredProperties, GetDeclaredProperty, getGenericTypeParameters, getImplementedInterfaces, IsAssignableFrompublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TypeBuilder()
throws java.lang.Throwable
java.lang.Throwablepublic TypeBuilder(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void AddInterfaceImplementation(NetType interfaceType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
interfaceType - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static TypeBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TypeBuilder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTypeBuilder instancejava.lang.Throwable - in case of error during cast operationpublic NetType CreateType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TypeInfo CreateTypeInfo() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ConstructorBuilder DefineConstructor(MethodAttributes attributes, CallingConventions callingConvention, NetType[] parameterTypes) throws java.lang.Throwable
attributes - the argument of type MethodAttributescallingConvention - the argument of type CallingConventionsparameterTypes - the argument of type NetType[]java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ConstructorBuilder DefineDefaultConstructor(MethodAttributes attributes) throws java.lang.Throwable
attributes - the argument of type MethodAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic EventBuilder DefineEvent(java.lang.String name, EventAttributes attributes, NetType eventtype) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException
name - the argument of type java.lang.Stringattributes - the argument of type EventAttributeseventtype - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic FieldBuilder DefineField(java.lang.String fieldName, NetType type, FieldAttributes attributes) throws java.lang.Throwable, ArgumentNullException, ArgumentException
fieldName - the argument of type java.lang.Stringtype - the argument of type NetTypeattributes - the argument of type FieldAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic FieldBuilder DefineField(java.lang.String fieldName, NetType type, NetType[] requiredCustomModifiers, NetType[] optionalCustomModifiers, FieldAttributes attributes) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException
fieldName - the argument of type java.lang.Stringtype - the argument of type NetTyperequiredCustomModifiers - the argument of type NetType[]optionalCustomModifiers - the argument of type NetType[]attributes - the argument of type FieldAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic GenericTypeParameterBuilder[] DefineGenericParameters(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic GenericTypeParameterBuilder[] DefineGenericParameters(java.lang.String... names) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
names - the argument of type java.lang.String...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic FieldBuilder DefineInitializedData(java.lang.String name, byte[] data, FieldAttributes attributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
name - the argument of type java.lang.Stringdata - the argument of type byte[]attributes - the argument of type FieldAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic FieldBuilder DefineInitializedData(java.lang.String dupParam0, JCORefOut dupParam1, FieldAttributes dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type java.lang.StringdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type FieldAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic MethodBuilder DefineMethod(java.lang.String name, MethodAttributes attributes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
name - the argument of type java.lang.Stringattributes - the argument of type MethodAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic MethodBuilder DefineMethod(java.lang.String name, MethodAttributes attributes, CallingConventions callingConvention) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
name - the argument of type java.lang.Stringattributes - the argument of type MethodAttributescallingConvention - the argument of type CallingConventionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic MethodBuilder DefineMethod(java.lang.String name, MethodAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
name - the argument of type java.lang.Stringattributes - the argument of type MethodAttributescallingConvention - the argument of type CallingConventionsreturnType - the argument of type NetTypeparameterTypes - the argument of type NetType[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic MethodBuilder DefineMethod(java.lang.String name, MethodAttributes attributes, NetType returnType, NetType[] parameterTypes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
name - the argument of type java.lang.Stringattributes - the argument of type MethodAttributesreturnType - the argument of type NetTypeparameterTypes - the argument of type NetType[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void DefineMethodOverride(MethodInfo methodInfoBody, MethodInfo methodInfoDeclaration) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
methodInfoBody - the argument of type MethodInfomethodInfoDeclaration - the argument of type MethodInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic TypeBuilder DefineNestedType(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic TypeBuilder DefineNestedType(java.lang.String name, TypeAttributes attr) throws java.lang.Throwable, ArgumentNullException, ArgumentException
name - the argument of type java.lang.Stringattr - the argument of type TypeAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic TypeBuilder DefineNestedType(java.lang.String name, TypeAttributes attr, NetType parent) throws java.lang.Throwable, ArgumentNullException, ArgumentException
name - the argument of type java.lang.Stringattr - the argument of type TypeAttributesparent - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic TypeBuilder DefineNestedType(java.lang.String name, TypeAttributes attr, NetType parent, int typeSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException
name - the argument of type java.lang.Stringattr - the argument of type TypeAttributesparent - the argument of type NetTypetypeSize - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic TypeBuilder DefineNestedType(java.lang.String name, TypeAttributes attr, NetType parent, NetType[] interfaces) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException
name - the argument of type java.lang.Stringattr - the argument of type TypeAttributesparent - the argument of type NetTypeinterfaces - the argument of type NetType[]java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic TypeBuilder DefineNestedType(java.lang.String name, TypeAttributes attr, NetType parent, PackingSize packSize) throws java.lang.Throwable, ArgumentNullException, ArgumentException
name - the argument of type java.lang.Stringattr - the argument of type TypeAttributesparent - the argument of type NetTypepackSize - the argument of type PackingSizejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic TypeBuilder DefineNestedType(java.lang.String name, TypeAttributes attr, NetType parent, PackingSize packSize, int typeSize) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException
name - the argument of type java.lang.Stringattr - the argument of type TypeAttributesparent - the argument of type NetTypepackSize - the argument of type PackingSizetypeSize - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic MethodBuilder DefinePInvokeMethod(java.lang.String name, java.lang.String dllName, MethodAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet) throws java.lang.Throwable, ArgumentNullException, ArgumentException
name - the argument of type java.lang.StringdllName - the argument of type java.lang.Stringattributes - the argument of type MethodAttributescallingConvention - the argument of type CallingConventionsreturnType - the argument of type NetTypeparameterTypes - the argument of type NetType[]nativeCallConv - the argument of type CallingConventionnativeCharSet - the argument of type CharSetjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic MethodBuilder DefinePInvokeMethod(java.lang.String name, java.lang.String dllName, java.lang.String entryName, MethodAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet) throws java.lang.Throwable, ArgumentNullException, ArgumentException
name - the argument of type java.lang.StringdllName - the argument of type java.lang.StringentryName - the argument of type java.lang.Stringattributes - the argument of type MethodAttributescallingConvention - the argument of type CallingConventionsreturnType - the argument of type NetTypeparameterTypes - the argument of type NetType[]nativeCallConv - the argument of type CallingConventionnativeCharSet - the argument of type CharSetjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic PropertyBuilder DefineProperty(java.lang.String name, PropertyAttributes attributes, CallingConventions callingConvention, NetType returnType, NetType[] parameterTypes) throws java.lang.Throwable, ArgumentNullException, ArgumentException
name - the argument of type java.lang.Stringattributes - the argument of type PropertyAttributescallingConvention - the argument of type CallingConventionsreturnType - the argument of type NetTypeparameterTypes - the argument of type NetType[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic PropertyBuilder DefineProperty(java.lang.String name, PropertyAttributes attributes, NetType returnType, NetType[] parameterTypes) throws java.lang.Throwable, ArgumentNullException, ArgumentException
name - the argument of type java.lang.Stringattributes - the argument of type PropertyAttributesreturnType - the argument of type NetTypeparameterTypes - the argument of type NetType[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itpublic ConstructorBuilder DefineTypeInitializer() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic FieldBuilder DefineUninitializedData(java.lang.String name, int size, FieldAttributes attributes) throws java.lang.Throwable
name - the argument of type java.lang.Stringsize - the argument of type intattributes - the argument of type FieldAttributesjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static ConstructorInfo GetConstructor(NetType type, ConstructorInfo constructor) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
type - the argument of type NetTypeconstructor - the argument of type ConstructorInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static FieldInfo GetField(NetType type, FieldInfo field) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
type - the argument of type NetTypefield - the argument of type FieldInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class TypeInfopublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class TypeInfopublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class TypeInfonull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class TypeInfopublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class TypeInfopublic static MethodInfo GetMethod(NetType type, MethodInfo method) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
type - the argument of type NetTypemethod - the argument of type MethodInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic PackingSize getPackingSize() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean IsCreated()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType MakeArrayType() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic NetType MakeArrayType(int rank) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException
rank - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic NetType MakeByRefType() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic NetType MakeGenericType(NetType... typeArguments) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
typeArguments - the argument of type NetType...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic NetType MakePointerType() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
con - the argument of type ConstructorInfobinaryAttribute - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void SetCustomAttribute(ConstructorInfo dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
dupParam0 - the argument of type ConstructorInfodupParam1 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void SetCustomAttribute(CustomAttributeBuilder customBuilder) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
customBuilder - the argument of type CustomAttributeBuilderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class TypeInfoinstance - the new underlying objectpublic void SetParent(NetType parent) throws java.lang.Throwable
parent - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLR