public function __construct($identifier, \ReflectionClass $reflection, IType $parentType, IConstructor $constructor = null, array $methods = [], array $fields = [], array $unaryOperations = [], array $castOperations = [], ITypeOperation $invoker = null, ITypeOperation $indexer = null)
{
parent::__construct($identifier, $parentType, $indexer, $unaryOperations, $castOperations);
$this->classType = $reflection->getName();
$this->reflection = $reflection;
$this->invoker = $invoker;
$this->constructor = $constructor;
$this->methods = $methods;
$this->fields = $fields;
$this->invoker = $invoker;
}