private static function namesFor($enumType)
    {
        $result = [];

        $methods = ReflectionUtils::methodsForClassWithoutInheritedMethods(
            $enumType,
            [
                ReflectionMethod::IS_FINAL,
                ReflectionMethod::IS_STATIC,
                ReflectionMethod::IS_PUBLIC
            ]
        );

        /* @var $method ReflectionMethod */
        foreach ($methods as $method) {
            if ($method->name === \strtoupper($method->name)) {
                $result[] = $method->name;
            }
        }

        return $result;
    }