public Property(name as String, type as Type, flags as Int = 0, annotations as IList<Annotation> = [], declaringClass as String = "")
Describes a property and the class owning its accessors and backing field.
| Parameter | Description |
|---|---|
name | Property name. |
type | Declared property type. |
flags | Modifier flags. |
annotations | Property annotations. |
declaringClass | Declaring class name, supplied by Type reflection. |
property = type(obj).getProperty("value")
print(property.getValue(obj))