public class FieldBuilder extends FieldInfo
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Emit.FieldBuilder
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.FieldBuilder
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FieldBuilder() |
FieldBuilder(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldBuilder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FieldBuilder, a cast assert is made to check if types are compatible. |
NetObject[] |
GetCustomAttributes(boolean inherit) |
NetObject[] |
GetCustomAttributes(NetType attributeType,
boolean inherit) |
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
|
FieldToken |
GetToken() |
NetObject |
GetValue(NetObject obj) |
boolean |
IsDefined(NetType attributeType,
boolean inherit) |
void |
SetConstant(NetObject defaultValue) |
void |
SetCustomAttribute(ConstructorInfo con,
byte[] binaryAttribute) |
void |
SetCustomAttribute(ConstructorInfo dupParam0,
JCORefOut dupParam1) |
void |
SetCustomAttribute(CustomAttributeBuilder customBuilder) |
void |
setJCOInstance(JCObject instance) |
void |
SetMarshal(UnmanagedMarshal unmanagedMarshal) |
void |
SetOffset(int iOffset) |
void |
SetValue(NetObject obj,
NetObject val,
BindingFlags invokeAttr,
Binder binder,
CultureInfo culture) |
getAttributes, GetFieldFromHandle, GetFieldFromHandle, getFieldHandle, getFieldType, getIsAssembly, getIsFamily, getIsFamilyAndAssembly, getIsFamilyOrAssembly, getIsInitOnly, getIsLiteral, getIsNotSerialized, getIsPinvokeImpl, getIsPrivate, getIsPublic, getIsSecurityCritical, getIsSecuritySafeCritical, getIsSecurityTransparent, getIsSpecialName, getIsStatic, GetOptionalCustomModifiers, GetRawConstantValue, GetRequiredCustomModifiers, GetValueDirect, SetValue, SetValueDirectgetDeclaringType, getMemberType, getMetadataToken, getModule, getName, getReflectedTypepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FieldBuilder()
throws java.lang.Throwable
java.lang.Throwablepublic FieldBuilder(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static FieldBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FieldBuilder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFieldBuilder instancejava.lang.Throwable - in case of error during cast operationpublic NetObject[] GetCustomAttributes(boolean inherit) throws java.lang.Throwable, NotSupportedException
GetCustomAttributes in class FieldInfojava.lang.ThrowableNotSupportedExceptionpublic NetObject[] GetCustomAttributes(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotSupportedException
GetCustomAttributes in class FieldInfojava.lang.ThrowableNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class FieldInfoString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class FieldInfoString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class FieldInfoObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class FieldInfoString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class FieldInfoJCType representing the CLR Type of the instantiated Classpublic FieldToken GetToken() throws java.lang.Throwable
java.lang.Throwablepublic NetObject GetValue(NetObject obj) throws java.lang.Throwable, NotSupportedException
GetValue in class FieldInfojava.lang.ThrowableNotSupportedExceptionpublic boolean IsDefined(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotSupportedException
IsDefined in class FieldInfojava.lang.ThrowableNotSupportedExceptionpublic void SetConstant(NetObject defaultValue) throws java.lang.Throwable, InvalidOperationException, ArgumentException, ArgumentNullException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException
public void SetCustomAttribute(ConstructorInfo con, byte[] binaryAttribute) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotImplementedException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, MissingMethodException, FormatException
public void SetCustomAttribute(ConstructorInfo dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotImplementedException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, MissingMethodException, FormatException
public void SetCustomAttribute(CustomAttributeBuilder customBuilder) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotImplementedException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, MissingMethodException, FormatException
public void setJCOInstance(JCObject instance)
setJCOInstance in class FieldInfopublic void SetMarshal(UnmanagedMarshal unmanagedMarshal) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionpublic void SetOffset(int iOffset)
throws java.lang.Throwable,
InvalidOperationException
java.lang.ThrowableInvalidOperationExceptionpublic void SetValue(NetObject obj, NetObject val, BindingFlags invokeAttr, Binder binder, CultureInfo culture) throws java.lang.Throwable, NotSupportedException
SetValue in class FieldInfojava.lang.ThrowableNotSupportedException