1 /* 2 * @(#)SupportedOptions.java 1.3 06/07/31 3 * 4 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package javax.annotation.processing; 9 10 import java.lang.annotation.*; 11 import static java.lang.annotation.RetentionPolicy.*; 12 import static java.lang.annotation.ElementType.*; 13 14 /** 15 * An annotation used to indicate what options an annotation processor 16 * supports. The {@link Processor#getSupportedOptions} method can 17 * construct its result from the value of this annotation, as done by 18 * {@link AbstractProcessor#getSupportedOptions}. Only {@linkplain 19 * Processor#getSupportedOptions strings conforming to the 20 * grammar} should be used as values. 21 * 22 * @author Joseph D. Darcy 23 * @author Scott Seligman 24 * @author Peter von der Ahé 25 * @version 1.3 06/07/31 26 * @since 1.6 27 */ 28 @Documented 29 @Target(TYPE) 30 @Retention(RUNTIME) 31 public @interface SupportedOptions { 32 String [] value(); 33 } 34