All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 value() default Condition.class;
  public MethodEvent methodEvent() default MethodEvent.METHOD_INVOCATION;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy