Метод |
Описание |
|
@base ( ) : Type |
|
|
@is ( Type type ) : bool |
|
|
@params ( ) : Map |
|
|
@typeof ( ) : Type |
|
|
common ( object objs, int n ) : Type |
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 ( ) : List |
|
|
encode ( ObjEncoder @out ) : void |
|
|
facet ( Type t ) : Facet |
|
|
facet ( Type t, bool c ) : Facet |
|
|
facets ( ) : List |
|
|
field ( string name ) : Field |
|
|
field ( string name, bool check ) : Field |
|
|
fields ( ) : List |
|
|
find ( string sig ) : Type |
|
|
find ( string sig, bool check ) : Type |
|
|
finish ( ) : void |
|
|
fits ( Type type ) : bool |
|
|
getRawType ( ) : Type |
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 ( Type t ) : bool |
|
|
inheritance ( ) : List |
|
|
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 |
|
|