1 /*2 * Copyright 2004 The Apache Software Foundation.3 *4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 *16 * $Header:$17 */18 package org.apache.beehive.netui.compiler.typesystem.env;19 20 import org.apache.beehive.netui.compiler.typesystem.declaration.TypeDeclaration;21 import org.apache.beehive.netui.compiler.typesystem.declaration.PackageDeclaration;22 import org.apache.beehive.netui.compiler.typesystem.declaration.AnnotationTypeDeclaration;23 import org.apache.beehive.netui.compiler.typesystem.declaration.Declaration;24 import org.apache.beehive.netui.compiler.Diagnostics;25 26 import java.util.Map ;27 import java.util.Collection ;28 29 public interface AnnotationProcessorEnvironment30 {31 /** Map of String -> String */32 Map getOptions();33 34 Messager getMessager();35 36 Filer getFiler();37 38 TypeDeclaration[] getSpecifiedTypeDeclarations();39 40 TypeDeclaration getTypeDeclaration( String s );41 42 Declaration[] getDeclarationsAnnotatedWith( AnnotationTypeDeclaration annotationTypeDeclaration );43 44 void setAttribute( String propertyName, Object value );45 46 Object getAttribute( String propertyName );47 }48