
lombok.Profile Maven / Gradle / Ivy
The newest version!
package lombok;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import net.onedaybeard.agrotera.ArtemisProfiler;
/**
* Profile EntitySystems with user-specified profiler class, implementing ArtemisProfiler.
*
* Injects conditional profiler call at start of begin()
and before any exit
* point in end()
.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Profile
{
Class extends ArtemisProfiler> using();
boolean enabled() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy