UNPKG

@specs-feup/kadabra

Version:

A Java source-to-source compiler written in Typescript

22 lines 886 B
/** Monitor the occurences of a given join point; */ import { Class, Method, Statement } from "../../Joinpoints.js"; export declare function NewCounter(jpClass: Class, name?: string, fullPath?: boolean): { increment: string; getValue: string; reset: string; newName: string; }; export declare function CountingMonitor(targetClass: Class, targetMethod: Method, targetStmt: Statement, location?: "replace" | "after" | "before", monitorPackage?: string): { name: string; increment: string; getValue: string; reset: string; }; /** Returns the counting monitor. if it does not exist creates a new class */ export declare function GetCountingMonitor(packageName: string, simpleName: string): Class | undefined; export declare function NewCountingMonitor(packageName: string, simpleName: string): Class | undefined; //# sourceMappingURL=Counter.d.ts.map