com.appland.appmap.transform.annotations.HookCondition Maven / Gradle / Ivy
package com.appland.appmap.transform.annotations;
import com.appland.appmap.process.conditions.Condition;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Code matching this {@link Condition} will be hooked.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface HookCondition {
/**
* @return A class implementing {@link Condition}
*/
public Class extends Condition> value() default Condition.class;
public MethodEvent methodEvent() default MethodEvent.METHOD_INVOCATION;
}