MemberInfo
private class
system.reflection.MemberInfo
Description
Represents information about the attributes of a member and provides access to member MetaInfo. MemberInfos can represent Member methods, fields, properties or constructors.
@section examples Example @include MemberInfo.ls
API overview
Constructor
MemberInfo
()
Functions
Public functions
| getDeclaringType (): Type |
native Gets the Type that the MemberInfo belongs to |
| getMemberType (): Type |
native Gets the Type of the Member for example getMemberInfo on: public var x:Number; would return the System.Number type |
| getMetaInfo ( name: String ): MetaInfo |
native Gets the MetaInfo for the specified Metadata tag name |
| getName (): String |
native Gets the name of the MemberInfo |
| getOrdinal (): Number |
native Gets the native ordinal for a MemberInfo |
| getTypeInfo (): Type |
native Returns the Type that represents the type that the member is or returns |
Constructor
MemberInfo ()
Functions
getDeclaringType (): Type
native
Gets the Type that the MemberInfo belongs to.
Returns
| Type | Type that the member info belongs to. |
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getMemberType (): Type
native
Gets the Type of the Member for example getMemberInfo on:
public var x:Number;
would return the System.Number type
Returns
| Type | Type of the member declaration |
getMetaInfo ( name: String ): MetaInfo
native
Gets the MetaInfo for the specified Metadata tag name.
Parameters
| name: String | Name of the metadata tag to lookup. |
Returns
| MetaInfo | MetaInfo for the specified Metadata tag name, null if the name does not exist on the MemberInfo. |
getOrdinal (): Number
native
Gets the native ordinal for a MemberInfo.
Returns
| Number | 0 for no native ordinal, otherwise the native ordinal. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |
getTypeInfo (): Type
native
Returns the Type that represents the type that the member is or returns.
Returns
| Type | Type info for MemberInfos type. |