Attribute
classin packageklyn.reflection
public class Attribute:
Attribute
Class representing an attribute (field).
Properties
Modifier and Type Member Description
public readonly property annotations
annotations as IList<Annotation>:
Attribute annotations
public readonly property flags
flags as Int:
Raw modifier flags
public readonly property isPrivate
isPrivate as Boolean:
True if the attribute is private.
public readonly property isProtected
isProtected as Boolean:
True if the attribute is protected.
public readonly property isPublic
isPublic as Boolean:
True if the attribute is public.
public readonly property isReadonly
isReadonly as Boolean:
True if the attribute is readonly.
public readonly property isStatic
isStatic as Boolean:
True if the attribute is static.
public readonly property name
name as String:
Attribute name
public readonly property type
type as Type:
Attribute type
Constructors
Modifier and Type Member Description
public Attribute
Attribute(name as String, type as Type, flags as Int = 0, annotations as IList<Annotation> = []):
Constructor for Attribute