<commit_before># Compatibility with native reflection API

## ReflectionClass

| Method | Supported |
|--------|-----------|
| getConstant | :heavy_check_mark: Yes |
| getConstants | :heavy_check_mark: Yes |
| getConstructor | :heavy_check_mark: Yes |
| getDefaultProperties | todo |
| getDocComment | todo |
| getEndLine | todo |
| getExtension | :x: No |
| getFileName | :heavy_check_mark: Yes |
| getInterfaceNames | todo |
| getInterfaces | todo |
| getMethod | :heavy_check_mark: Yes |
| getMethods | :heavy_check_mark: Yes |
| getModifiers | todo |
| getName | :heavy_check_mark: Yes |
| getNamespaceName | :heavy_check_mark: Yes |
| getParentClass | todo |
| getProperties | :heavy_check_mark: Yes |
| getProperty | :heavy_check_mark: Yes |
| getShortName | :heavy_check_mark: Yes |
| getStartLine | todo |
| getStaticProperties | todo |
| getStaticPropertyValue | :x: No |
| getTraitAliases | todo |
| getTraitNames | todo |
| getTraits | todo |
| hasConstant | todo |
| hasMethod | todo |
| hasProperty | todo |
| implementsInterface | :x: No |
| inNamespace | :heavy_check_mark: Yes |
| isAbstract | todo |
| isCloneable | todo |
| isFinal | todo |
| isInstance | todo |
| isInstantiable | todo |
| isInterface | todo |
| isInternal | todo |
| isIterateable | todo |
| isSubclassOf | :x: No |
| isTrait | todo |
| isUserDefined | todo |
| newInstance | todo |
| newInstanceArgs | todo |
| newInstanceWithoutConstructor | todo |
| setStaticPropertyValue | :x: No |

## ReflectionFunctionAbstract

| Method | Supported |
|--------|-----------|
| getClosureScopeClass | todo |
| getClosureThis | todo |
| getDocComment | :heavy_check_mark: Yes |
| getEndLine | todo |
| getExtension | todo |
| getExtensionName | todo |
| getFileName | :heavy_check_mark: Yes |
| getName | :heavy_check_mark: Yes |
| getNamespaceName | todo |
| getNumberOfParameters | :heavy_check_mark: Yes |
| getNumberOfRequiredParameters | :heavy_check_mark: Yes |
| getParameters | :heavy_check_mark: Yes |
| getShortName | todo |
| getStartLine | todo |
| getStaticVariables | todo |
| inNamespace | todo |
| isClosure | todo |
| isDeprecated | todo |
| isGenerator | todo |
| isInternal | todo |
| isUserDefined | todo |
| isVariadic | todo |
| returnsReference | todo |

## ReflectionMethod

| Method | Supported |
|--------|-----------|
| getClosure | todo |
| getDeclaringClass | :heavy_check_mark: Yes |
| getModifiers | todo |
| getPrototype | todo |
| invoke | todo |
| invokeArgs | todo |
| isAbstract | :heavy_check_mark: Yes |
| isConstructor | :heavy_check_mark: Yes |
| isDestructor | :heavy_check_mark: Yes |
| isFinal | :heavy_check_mark: Yes |
| isPrivate | :heavy_check_mark: Yes |
| isProtected | :heavy_check_mark: Yes |
| isPublic | :heavy_check_mark: Yes |
| isStatic | :heavy_check_mark: Yes |
| setAccessible | todo |
| _inherited methods_ | see `ReflectionFunctionAbstract` |

## ReflectionParameter

| Method | Supported |
|--------|-----------|
| allowsNull | :heavy_check_mark: Yes |
| canBePassedByValue | todo |
| getClass | todo |
| getDeclaringClass | :heavy_check_mark: Yes |
| getDeclaringFunction | :heavy_check_mark: Yes |
| getDefaultValue | :heavy_check_mark: Yes (*some assumptions are made) |
| getDefaultValueConstantName | todo |
| getName | :heavy_check_mark: Yes |
| getPosition | :heavy_check_mark: Yes |
| isArray | :heavy_check_mark: Yes |
| isCallable | :heavy_check_mark: Yes |
| isDefaultValueAvailable | todo |
| isDefaultValueConstant | todo |
| isOptional | :heavy_check_mark: Yes |
| isPassedByReference | todo |
| isVariadic | todo |

## ReflectionFunction

| Method | Supported |
|--------|-----------|
| getClosure | :x: No |
| invoke | :x: No |
| invokeArgs | :x: No |
| isDisabled | todo |
| _inherited methods_ | see `ReflectionFunctionAbstract` |

## ReflectionProperty

| Method | Supported |
|--------|-----------|
| getDeclaringClass | :heavy_check_mark: Yes |
| getDocComment | todo |
| getModifiers | todo |
| getName | :heavy_check_mark: Yes |
| getValue | :x: No |
| isDefault | todo |<commit_msg>Updated compatibility list<commit_after># Compatibility with native reflection API

## ReflectionClass

| Method | Supported |
|--------|-----------|
| getConstant | :heavy_check_mark: Yes |
| getConstants | :heavy_check_mark: Yes |
| getConstructor | :heavy_check_mark: Yes |
| getDefaultProperties | todo |
| getDocComment | todo |
| getEndLine | todo |
| getExtension | :x: No |
| getFileName | :heavy_check_mark: Yes |
| getInterfaceNames | todo |
| getInterfaces | todo |
| getMethod | :heavy_check_mark: Yes |
| getMethods | :heavy_check_mark: Yes |
| getModifiers | todo |
| getName | :heavy_check_mark: Yes |
| getNamespaceName | :heavy_check_mark: Yes |
| getParentClass | todo |
| getProperties | :heavy_check_mark: Yes |
| getProperty | :heavy_check_mark: Yes |
| getShortName | :heavy_check_mark: Yes |
| getStartLine | todo |
| getStaticProperties | todo |
| getStaticPropertyValue | :x: No |
| getTraitAliases | todo |
| getTraitNames | todo |
| getTraits | todo |
| hasConstant | todo |
| hasMethod | todo |
| hasProperty | todo |
| implementsInterface | :x: No |
| inNamespace | :heavy_check_mark: Yes |
| isAbstract | todo |
| isCloneable | todo |
| isFinal | todo |
| isInstance | todo |
| isInstantiable | todo |
| isInterface | todo |
| isInternal | todo |
| isIterateable | todo |
| isSubclassOf | :x: No |
| isTrait | todo |
| isUserDefined | todo |
| newInstance | todo |
| newInstanceArgs | todo |
| newInstanceWithoutConstructor | todo |
| setStaticPropertyValue | :x: No |

## ReflectionFunctionAbstract

| Method | Supported |
|--------|-----------|
| getClosureScopeClass | todo |
| getClosureThis | todo |
| getDocComment | :heavy_check_mark: Yes |
| getEndLine | todo |
| getExtension | todo |
| getExtensionName | todo |
| getFileName | :heavy_check_mark: Yes |
| getName | :heavy_check_mark: Yes |
| getNamespaceName | todo |
| getNumberOfParameters | :heavy_check_mark: Yes |
| getNumberOfRequiredParameters | :heavy_check_mark: Yes |
| getParameters | :heavy_check_mark: Yes |
| getShortName | todo |
| getStartLine | todo |
| getStaticVariables | todo |
| inNamespace | todo |
| isClosure | todo |
| isDeprecated | todo |
| isGenerator | todo |
| isInternal | todo |
| isUserDefined | todo |
| isVariadic | todo |
| returnsReference | todo |

## ReflectionMethod

| Method | Supported |
|--------|-----------|
| getClosure | todo |
| getDeclaringClass | :heavy_check_mark: Yes |
| getModifiers | todo |
| getPrototype | todo |
| invoke | todo |
| invokeArgs | todo |
| isAbstract | :heavy_check_mark: Yes |
| isConstructor | :heavy_check_mark: Yes |
| isDestructor | :heavy_check_mark: Yes |
| isFinal | :heavy_check_mark: Yes |
| isPrivate | :heavy_check_mark: Yes |
| isProtected | :heavy_check_mark: Yes |
| isPublic | :heavy_check_mark: Yes |
| isStatic | :heavy_check_mark: Yes |
| setAccessible | todo |
| _inherited methods_ | see `ReflectionFunctionAbstract` |

## ReflectionParameter

| Method | Supported |
|--------|-----------|
| allowsNull | :heavy_check_mark: Yes |
| canBePassedByValue | todo |
| getClass | todo |
| getDeclaringClass | :heavy_check_mark: Yes |
| getDeclaringFunction | :heavy_check_mark: Yes |
| getDefaultValue | :heavy_check_mark: Yes (*some assumptions are made) |
| getDefaultValueConstantName | todo |
| getName | :heavy_check_mark: Yes |
| getPosition | :heavy_check_mark: Yes |
| isArray | :heavy_check_mark: Yes |
| isCallable | :heavy_check_mark: Yes |
| isDefaultValueAvailable | :heavy_check_mark: Yes |
| isDefaultValueConstant | todo |
| isOptional | :heavy_check_mark: Yes |
| isPassedByReference | :heavy_check_mark: Yes |
| isVariadic | :heavy_check_mark: Yes |

## ReflectionFunction

| Method | Supported |
|--------|-----------|
| getClosure | :x: No |
| invoke | :x: No |
| invokeArgs | :x: No |
| isDisabled | todo |
| _inherited methods_ | see `ReflectionFunctionAbstract` |

## ReflectionProperty

| Method | Supported |
|--------|-----------|
| getDeclaringClass | :heavy_check_mark: Yes |
| getDocComment | todo |
| getModifiers | todo |
| getName | :heavy_check_mark: Yes |
| getValue | :x: No |
| isDefault | todo |
{'fraction_non_alphanumeric': 0.14792101067091867, 'fraction_numerical': 0.0, 'mean_word_length': 4.1477272727272725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6679255', 'n_tokens_mistral': 2751, 'n_tokens_neox': 2647, 'n_words': 607}