
co.paralleluniverse.fibers.Instrumented Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quasar-core Show documentation
Show all versions of quasar-core Show documentation
Fibers, Channels and Actors for the JVM
package co.paralleluniverse.fibers;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marks a class or a method as instrumented - for internal use only!
* It must never be used in Java source code.
*
* It optionally contains the coordinates within a method of instrumented
* call sites and the source position of the method itself (both for
* verification, if enabled).
*
* @author Matthias Mann
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Instrumented {
// Relevant only for methods
int[] suspendableCallSites() default {};
int methodStart() default -1;
int methodEnd() default -1;
boolean methodOptimized() default false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy