SPeCS Packages Documentation
    Preparing search index...
    • Generates a new mapping class for functional mapping.

      Parameters

      • interfaceJp: InterfaceType

        The functional interface join point.

      • methodName: string

        The name of the method.

      • getterType: string

        The type of the getter.

      • target: App | FileJp | Class = ...

        The target join point (optional).

      Returns {
          $mapClass: Class;
          contains: (key: string) => string;
          get: (param: string, defaultMethod?: string) => string;
          put: (key: string, value: string) => string;
      }

      An object containing the mapping class and related methods.