public class PropertyBuilder extends PropertyInfo
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Reflection.Emit.PropertyBuilder
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.PropertyBuilder
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PropertyBuilder() |
PropertyBuilder(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddOtherMethod(MethodBuilder mdBuilder) |
static PropertyBuilder |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PropertyBuilder, a cast assert is made to check if types are compatible. |
MethodInfo[] |
GetAccessors(boolean nonPublic) |
NetObject[] |
GetCustomAttributes(boolean inherit) |
NetObject[] |
GetCustomAttributes(NetType attributeType,
boolean inherit) |
MethodInfo |
GetGetMethod(boolean nonPublic) |
ParameterInfo[] |
GetIndexParameters() |
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
|
PropertyToken |
getPropertyToken() |
MethodInfo |
GetSetMethod(boolean nonPublic) |
NetObject |
GetValue(NetObject obj,
BindingFlags invokeAttr,
Binder binder,
NetObject[] index,
CultureInfo culture) |
NetObject |
GetValue(NetObject obj,
NetObject[] index) |
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 |
SetGetMethod(MethodBuilder mdBuilder) |
void |
setJCOInstance(JCObject instance) |
void |
SetSetMethod(MethodBuilder mdBuilder) |
void |
SetValue(NetObject obj,
NetObject value,
BindingFlags invokeAttr,
Binder binder,
NetObject[] index,
CultureInfo culture) |
void |
SetValue(NetObject obj,
NetObject value,
NetObject[] index) |
GetAccessors, getAttributes, getCanRead, getCanWrite, GetConstantValue, getGetMethod, GetGetMethod, getIsSpecialName, GetOptionalCustomModifiers, getPropertyType, GetRawConstantValue, GetRequiredCustomModifiers, getSetMethod, GetSetMethod, GetValue, SetValuegetDeclaringType, 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 PropertyBuilder()
throws java.lang.Throwable
java.lang.Throwablepublic PropertyBuilder(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddOtherMethod(MethodBuilder mdBuilder) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, NotImplementedException
public static PropertyBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PropertyBuilder, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPropertyBuilder instancejava.lang.Throwable - in case of error during cast operationpublic MethodInfo[] GetAccessors(boolean nonPublic) throws java.lang.Throwable, NotSupportedException
GetAccessors in class PropertyInfojava.lang.ThrowableNotSupportedExceptionpublic NetObject[] GetCustomAttributes(boolean inherit) throws java.lang.Throwable, NotSupportedException
GetCustomAttributes in class PropertyInfojava.lang.ThrowableNotSupportedExceptionpublic NetObject[] GetCustomAttributes(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotSupportedException
GetCustomAttributes in class PropertyInfojava.lang.ThrowableNotSupportedExceptionpublic MethodInfo GetGetMethod(boolean nonPublic) throws java.lang.Throwable
GetGetMethod in class PropertyInfojava.lang.Throwablepublic ParameterInfo[] GetIndexParameters() throws java.lang.Throwable, NotSupportedException
GetIndexParameters in class PropertyInfojava.lang.ThrowableNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class PropertyInfoString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class PropertyInfoString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class PropertyInfoObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class PropertyInfoString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class PropertyInfoJCType representing the CLR Type of the instantiated Classpublic PropertyToken getPropertyToken() throws java.lang.Throwable
java.lang.Throwablepublic MethodInfo GetSetMethod(boolean nonPublic) throws java.lang.Throwable
GetSetMethod in class PropertyInfojava.lang.Throwablepublic NetObject GetValue(NetObject obj, BindingFlags invokeAttr, Binder binder, NetObject[] index, CultureInfo culture) throws java.lang.Throwable, NotSupportedException
GetValue in class PropertyInfojava.lang.ThrowableNotSupportedExceptionpublic NetObject GetValue(NetObject obj, NetObject[] index) throws java.lang.Throwable, NotSupportedException
GetValue in class PropertyInfojava.lang.ThrowableNotSupportedExceptionpublic boolean IsDefined(NetType attributeType, boolean inherit) throws java.lang.Throwable, NotSupportedException
IsDefined in class PropertyInfojava.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 SetGetMethod(MethodBuilder mdBuilder) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, NotImplementedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class PropertyInfopublic void SetSetMethod(MethodBuilder mdBuilder) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException, NotImplementedException
public void SetValue(NetObject obj, NetObject value, BindingFlags invokeAttr, Binder binder, NetObject[] index, CultureInfo culture) throws java.lang.Throwable, NotSupportedException
SetValue in class PropertyInfojava.lang.ThrowableNotSupportedExceptionpublic void SetValue(NetObject obj, NetObject value, NetObject[] index) throws java.lang.Throwable, NotSupportedException
SetValue in class PropertyInfojava.lang.ThrowableNotSupportedException