is_method_overriding

Function is_method_overriding 

Source
pub fn is_method_overriding(
    codebase: &CodebaseMetadata,
    fqcn: &str,
    method_name: &str,
) -> bool
Expand description

Checks if a method is overridden from a parent class-like.

This function checks if the method with the given name in the specified class-like is overridden from a parent class-like by looking up the metadata in the codebase.

The lookup for both the class-like name and the method name is case-insensitive.