메소드 | 설명 | |
---|---|---|
@base ( ) : |
||
@is ( |
||
@params ( ) : |
||
@typeof ( ) : |
||
common ( object objs, int n ) : |
Given a list of objects, compute the most specific type which they all share,or at worst return sys::Obj. This method does not take into account interfaces, only extends class inheritance.
|
|
doc ( ) : string | ||
dotnetRepr ( ) : bool | ||
emptyList ( ) : |
||
encode ( |
||
facet ( |
||
facet ( |
||
facets ( ) : |
||
field ( string name ) : |
||
field ( string name, bool check ) : |
||
fields ( ) : |
||
find ( string sig ) : |
||
find ( string sig, bool check ) : |
||
finish ( ) : void | ||
fits ( |
||
getRawType ( ) : |
If this type is a generic parameter (V, L, etc), then return the actual type used in the Java method. For example V is Obj, and L is List. This is the type we actually use when constructing a signature for the invoke opcode.
|
|
hasFacet ( |
||
inheritance ( ) : |
||
isAbstract ( ) : bool | ||
isClass ( ) : bool | ||
isConst ( ) : bool | ||
isEnum ( ) : bool | ||
isFacet ( ) : bool | ||
isFinal ( ) : bool | ||
isGeneric ( ) : bool | ||
isGenericInstance ( ) : bool |
A generic instance is a type which has "instantiated" a generic type and replaced all the generic parameter types with generic argument types. The type string[] is a generic instance of the generic type List (V is replaced with string). A generic instance always has a signature which different from the qname.
|
|
isGenericParameter ( ) : bool |
Return if this type is a generic parameter (such as V or K) in a generic type (List, Map, or Method). Generic parameters serve as place holders for the parameterization of the generic type. Fantom has a predefined set of generic parameters which are always defined in the sys pod with a one character name.
|
|
isGenericType ( ) : bool |
A generic type means that one or more of my slots contain signatures using a generic parameter (such as V or K). Fantom supports three built-in generic types: List, Map, and Method. A generic instance (such as string[]) is NOT a generic type (all of its generic parameters have been filled in). User defined generic types are not supported in Fan.
|
|
isInternal ( ) : bool | ||
isMixin ( ) : bool | ||
isNullable ( ) : bool | ||
isPublic ( ) : bool | ||
isSynthetic ( ) : bool | ||
isVal ( ) : bool | ||
make ( ) : object | ||
make ( List args ) : object | ||
method ( string name ) : Method | ||
method ( string name, bool check ) : Method | ||
methods ( ) : List | ||
mixins ( ) : List | ||
name ( ) : string | ||
of ( object obj ) : Type | ||
parameterize ( Map pars ) : Type | ||
pod ( ) : Pod | ||
qname ( ) : string | ||
reflect ( ) : Type | ||
signature ( ) : string | ||
slot ( string name ) : Slot | ||
slot ( string name, bool check ) : Slot | ||
slots ( ) : List | ||
toLocale ( ) : string | ||
toNonNullable ( ) : Type | ||
toNullable ( ) : Type | ||
toStr ( ) : string | ||
trap ( string name, List args ) : object |
메소드 | 설명 | |
---|---|---|
flags ( ) : int | ||
toListOf ( ) : Type |
public static find ( string sig, bool check ) : |
||
sig | string | |
check | bool | |
리턴 |
public abstract slot ( string name, bool check ) : Slot | ||
name | string | |
check | bool | |
리턴 | Slot |