01: /*******************************************************************************
02: * Copyright (c) 2007 BEA Systems, Inc.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * wharley@bea.com - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.apt.pluggable.tests.annotations;
11:
12: import javax.tools.Diagnostic;
13:
14: /**
15: * This annotation may be processed to produce a log entry,
16: * warning, or error via the Messager API.
17: */
18: public @interface Message6 {
19: /**
20: * Message severity. INFO will be reported as a log entry.
21: */
22: Diagnostic.Kind value() default Diagnostic.Kind.WARNING;
23:
24: /**
25: * Optional message text
26: */
27: String text() default "";
28: }
|