This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
AJP/DiSLProject2022/src-profiler/ex7/IsSynchronizedMethodGuard.java
2023-01-09 08:01:15 +01:00

11 lines
301 B
Java

package ex7;
import ch.usi.dag.disl.annotation.GuardMethod;
import ch.usi.dag.disl.staticcontext.MethodStaticContext;
public class IsSynchronizedMethodGuard {
@GuardMethod
public static boolean isSynchronizedMethod(MethodStaticContext mc) {
return mc.isMethodSynchronized();
}
}