/* * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.sun.tracing.dtrace; import java.lang.annotation.Target; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.ElementType; /** * This annotation is used to describe the interface attributes of the * {@code module} field for a single provider. * * This annotation can be added to a user-defined Provider specification * interface to set the stability attributes of the {@code module} field for * all probes specified in that provider. *

* If this annotation is not present, the interface attributes for the * {@code module} field is Private/Private/Unknown. *

* @see Solaris Dynamic Tracing Guide, Chapter 39: Stability * @since 1.7 */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE }) public @interface ModuleAttributes { Attributes value(); }