klyn.reflection.Property.Property
constructor
public Property(name as String, type as Type, flags as Int = 0, annotations as IList<Annotation> = [], declaringClass as String = "")
Description

Describes a property and the class owning its accessors and backing field.

Parameters
ParameterDescription
nameProperty name.
typeDeclared property type.
flagsModifier flags.
annotationsProperty annotations.
declaringClassDeclaring class name, supplied by Type reflection.
Example
property = type(obj).getProperty("value")
print(property.getValue(obj))