001package org.javasimon;
002
003import java.lang.annotation.ElementType;
004import java.lang.annotation.Retention;
005import java.lang.annotation.RetentionPolicy;
006import java.lang.annotation.Target;
007
008/**
009 * Marker annotation for a method that should be called within a synchronized block. Annotation
010 * does not ensure anything, it is a mere documentation.
011 */
012@Target(ElementType.METHOD)
013@Retention(RetentionPolicy.SOURCE)
014public @interface MustBeInSynchronized {
015}