Property
classin packageklyn.reflection
public class Property:
Property

Class representing a property.

Properties
Modifier and Type Member Description
public property accessible
accessible as Boolean:
Allows reflective access to a non-public property when enabled.
public readonly property annotations
annotations as ArrayList<Annotation>:
Property annotations
public readonly property flags
flags as Int:
Raw modifier flags
public readonly property isPrivate
isPrivate as Boolean:
No summary.
public readonly property isProtected
isProtected as Boolean:
No summary.
public readonly property isPublic
isPublic as Boolean:
No summary.
public readonly property isReadonly
isReadonly as Boolean:
No summary.
public readonly property isStatic
isStatic as Boolean:
No summary.
public readonly property name
name as String:
Property name
public readonly property type
type as Type:
Property type
Constructors
Modifier and Type Member Description
public Property
Property(name as String, type as Type, flags as Int = 0, annotations as IList<Annotation> = []):
Constructor for Property
Methods
Modifier and Type Member Description
public native getValue
getValue(target as Object) as Object
Returns the current value of the property on the given target object.
public native setValue
setValue(target as Object, value as Object) as Void
Assigns the property value on the given target object.