Angular Modernizer
    Preparing search index...

    Interface InheritancePattern

    Complete analysis of an inheritance pattern

    interface InheritancePattern {
        baseClassMethods: MethodInfo[];
        baseClassName: string;
        baseClassPath: string;
        derivedClassName: string;
        derivedClassPath: string;
        extractableGroups: ExtractableMethodGroup[];
        inheritanceDepth: number;
        isAbstract: boolean;
        lifeCycleHooks: string[];
        overallConfidence: number;
        sharedState: string[];
        unusedMethods: string[];
        usedMethods: string[];
        warnings: string[];
    }
    Index

    Properties

    baseClassMethods: MethodInfo[]

    All methods defined in the base class

    baseClassName: string

    Base class name

    baseClassPath: string

    File path of the base class

    derivedClassName: string

    Class that extends the base class

    derivedClassPath: string

    File path of the derived class

    extractableGroups: ExtractableMethodGroup[]

    Groups of methods that could be extracted to services

    inheritanceDepth: number

    How deep is the inheritance chain? (1 = direct, 2+ = multi-level)

    isAbstract: boolean

    Is the base class abstract?

    lifeCycleHooks: string[]

    Lifecycle hooks implemented in base class

    overallConfidence: number

    Overall confidence that this pattern can be auto-refactored

    sharedState: string[]

    Protected/public properties from base class

    unusedMethods: string[]

    Methods inherited but never used (dead code)

    usedMethods: string[]

    Methods actually used by the derived class

    warnings: string[]

    Warnings or issues that need manual review