package com.atlassian.stash.internal.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * An annotation which may be applied to a {@link org.springframework.stereotype.Component}, or any Spring managed bean,
 * in order to opt-in to profiling.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface Profiled {
}