public static function getClassName(target:*):String
対象のクラス名を返します。
Returns the class name of the object.
Parameters
| target:* — クラス名を取得する対象です。
The object to get the class name.
|
Returns
| String — クラス名です。
The class name.
|
Example
public static function getClassPath(target:*):String
対象のクラスパスを返します。
Returns the class path of the object.
Parameters
| target:* — クラスパスを取得する対象です。
The class path of the object.
|
Returns
| String — クラスパスです。
The class path.
|
Example
public static function getPackage(target:*):String
対象のパッケージを返します。
Returns the package of the object.
Parameters
| target:* — パッケージを取得する対象です。
The object to get the package.
|
Returns
| String — パッケージです。
The package.
|
Example
public static function isDynamic(target:*):Boolean
対象のクラスに dynamic 属性が設定されているかどうかを返します。
Returns if the dynamic attribute is set to the class object.
Parameters
| target:* — dynamic 属性の有無を調べる対象です。
The object to check if the dynamic attribute is set or not.
|
Returns
| Boolean — dynamic 属性があれば true を、違っていれば false を返します。
Returns true if dynamic attribute is set, otherwise return false.
|
Example
public static function isExtended(target:*, cls:Class):Boolean
対象のインスタンスが指定されたクラスを継承しているかどうかを返します。
Parameters
| target:* — 継承関係を調査したいインスタンスです。
|
| |
| cls:Class — 継承関係を調査委したいクラスです。
|
Returns
| Boolean — 継承されていれば true を、それ以外の場合には false を返します。
|
Example
public static function isFinal(target:*):Boolean
対象のクラスに final 属性が設定されているかどうかを返します。
Returns if the final attribute is set to the class object.
Parameters
| target:* — final 属性の有無を調べる対象です。
The object to check if the final attribute is set or not.
|
Returns
| Boolean — final 属性があれば true を、違っていれば false を返します。
Returns true if final attribute is set, otherwise return false.
|
Example
Copyright (C) 2007-2010 taka:nium.jp. All Rights Reserved.