public function createConstant($name, $type = NULL, $default = self::UNDEFINED, $modifiers = GConstant::MODIFIER_PROTECTED) {
    $gConstant = GConstant::create($name, $type, $default, $modifiers);
    
    $this->addConstant($gConstant);
    return $gConstant;
  }