Angular Modernizer
    Preparing search index...

    Interface MethodResponsibility

    Classification of one public method.

    interface MethodResponsibility {
        alternatives: { concern: Concern; confidence: number }[];
        area?: string;
        areaLabel?: string;
        confidence: number;
        domain?: string;
        isStatic: boolean;
        line: number;
        name: string;
        role: MethodRole;
        signals: ResponsibilitySignal[];
    }
    Index

    Properties

    alternatives: { concern: Concern; confidence: number }[]

    Other concerns with combined confidence, strongest first.

    Type Declaration

    • concern: Concern

      Alternative concern.

    • confidence: number

      Combined confidence of that concern.

    area?: string

    Backend area of the HTTP calls (lower case), when the URL shows one.

    areaLabel?: string

    The area as spelled in the URL.

    confidence: number

    Combined confidence of the role (0 for delegation and methods without signals).

    domain?: string

    Name domain (verb stripped, first word not in the class name).

    isStatic: boolean

    The method is static.

    line: number

    1-based line of the method declaration.

    name: string

    Method name.

    Concern with the highest combined confidence at or above the method threshold, delegation or uncertain.

    All signals found in the method body, its own callees and its name.