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

com.appland.appmap.transform.annotations.Unique Maven / Gradle / Ivy

There is a newer version: 1.27.1
Show newest version
package com.appland.appmap.transform.annotations;

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

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface Unique {
  /**
   * Applies a unique key restraint on this hook. A call stack can, at most, contain a single
   * {@link com.appland.appmap.output.v1.Event} for each unique key. Without a unique key, no restrictions are applied.
   * @return The unique key
   */
  String value() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy