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

co.paralleluniverse.fibers.Instrumented Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
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