get_declaring_property

Function get_declaring_property 

Source
pub fn get_declaring_property<'a>(
    codebase: &'a CodebaseMetadata,
    fqcn: &str,
    property_name: &str,
) -> Option<&'a PropertyMetadata>
Expand description

Retrieves the metadata for a property, searching the inheritance hierarchy.

This function finds where the property was originally declared and returns its metadata. The lookup for the class-like name is case-insensitive, but the property name is case-sensitive.