io.changock.migration.api.annotations.NonLockGuarded Maven / Gradle / Ivy
package io.changock.migration.api.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface NonLockGuarded {
/**
* Indicates the grade of non-lock-guard applied to a method.
* Does not have any effect at class level.
*
*
* @return value
*/
NonLockGuardedType[] value() default {NonLockGuardedType.METHOD, NonLockGuardedType.RETURN};
}