Reflection.Property (API)

Return type Method Parameters Description
string getName Returns the name of the property.
string getType Returns the type of the property.
boolean isAbstract Returns true if the property is declared abstract.
boolean isFinal Returns true if the property is declared final.
boolean isNullable Returns true if the property is declared nullable.
boolean isPublic Returns true if the visibility of the property is public.
boolean isProtected Returns true if the visibility of the property is protected.
boolean isPrivate Returns true if the visibility of the property is private.
boolean isImmutable Returns true if the property is immutable.
boolean isConstant Returns true if the property is a constant.
boolean isType (string) type Returns true if type of the property matches the given type.
string getVisibility Returns the visibility of the property as a string.
string toString Returns a string representation of the property.