package org.fluentlenium.examples.hooks; import org.fluentlenium.core.hook.Hook; import org.fluentlenium.core.hook.HookOptions; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Inherited @Target({ ElementType.FIELD, ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) @Hook(ExampleHook.class) @HookOptions(ExampleHookOptions.class) public @interface Example { String message() default ""; }