Packageorg.as3commons.reflect
Interfacepublic interface ITypeProvider

The ITypeProvider interface defines the methods that must be implemented by any class that will generate instances of Type or one of its subclasses.

See also

Type


Public Methods
 MethodDefined by
  
clearCache():void
Remove all Types from the type cache.
ITypeProvider
  
getType(cls:Class, applicationDomain:ApplicationDomain):Type
Returns a Type object that describes the given class.
ITypeProvider
  
Retrieve a reference to the type cache.
ITypeProvider
Method detail
clearCache()method
public function clearCache():void

Remove all Types from the type cache.

getType()method 
public function getType(cls:Class, applicationDomain:ApplicationDomain):Type

Returns a Type object that describes the given class.

Parameters
cls:Class — the class from which to get a type description
 
applicationDomain:ApplicationDomain — The ApplicationDomain in which to look for the class definition.

Returns
Type
getTypeCache()method 
public function getTypeCache():TypeCache

Retrieve a reference to the type cache.

Returns
TypeCache — The instance of TypeCache being used by the ITypeProvider.