public class FieldInfo extends MemberInfo
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.FieldInfo
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.FieldInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FieldInfo() |
FieldInfo(java.lang.Object instance)
Internal constructor.
|
GetCustomAttributes, GetCustomAttributes, getDeclaringType, getIsCollectible, getMemberType, getMetadataToken, getModule, getName, getReflectedType, HasSameMetadataDefinitionAs, IsDefinedpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FieldInfo()
throws java.lang.Throwable
java.lang.Throwablepublic FieldInfo(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static FieldInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FieldInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFieldInfo instancejava.lang.Throwable - in case of error during cast operationpublic FieldAttributes getAttributes() throws java.lang.Throwable
java.lang.Throwablepublic static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, NullReferenceException, NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionNullReferenceExceptionNotImplementedExceptionpublic static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle, RuntimeTypeHandle declaringType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, NullReferenceException, NotImplementedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionObjectDisposedExceptionNullReferenceExceptionNotImplementedExceptionpublic RuntimeFieldHandle getFieldHandle() throws java.lang.Throwable
java.lang.Throwablepublic NetType getFieldType() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsAssembly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsFamily()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsFamilyAndAssembly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsFamilyOrAssembly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsInitOnly()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsLiteral()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsNotSerialized()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsPinvokeImpl()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsPrivate()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsPublic()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSecurityCritical()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSecuritySafeCritical()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSecurityTransparent()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsSpecialName()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsStatic()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class MemberInfoString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class MemberInfoString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class MemberInfoObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class MemberInfoString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class MemberInfoJCType representing the CLR Type of the instantiated Classpublic NetType GetModifiedFieldType() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public NetType[] GetOptionalCustomModifiers() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public NetObject GetRawConstantValue() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
public NetType[] GetRequiredCustomModifiers() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public NetObject GetValue(NetObject obj) throws java.lang.Throwable
java.lang.Throwablepublic NetObject GetValueDirect(TypedReference obj) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class MemberInfopublic void SetValue(NetObject obj, NetObject value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException
public void SetValue(NetObject obj, NetObject value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) throws java.lang.Throwable
java.lang.Throwablepublic void SetValueDirect(TypedReference obj, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException