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

de.uni_hildesheim.sse.monitoring.runtime.annotations.ValueContext Maven / Gradle / Ivy

package de.uni_hildesheim.sse.monitoring.runtime.annotations;

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

/**
 * Marks the context for reusable fields for which writing field access should 
 * be registered by the recorder. This annotation defines the context, i.e. the 
 * id to be used, {@link ValueChange} should use "*" as id.
 * 
 * @author Holger Eichelberger
 * @since 1.00
 * @version 1.00
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD })
@InConfiguration
public @interface ValueContext {

    /**
     * Defines an identification for this field. May end with @ in order to
     * denote a variability (value is appended).
     * 
     * @return the identification
     */
    public String id();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy