1 package org.apache.beehive.controls.runtime.generator.apt;2 3 /*4 * Copyright 2004 The Apache Software Foundation5 *6 * Licensed under the Apache License, Version 2.0 (the "License");7 * you may not use this file except in compliance with the License.8 * You may obtain a copy of the License at9 * 10 * http://www.apache.org/licenses/LICENSE-2.011 * 12 * Unless required by applicable law or agreed to in writing, software13 * distributed under the License is distributed on an "AS IS" BASIS,14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.15 * See the License for the specific language governing permissions and16 * limitations under the License.17 *18 * $Header:$19 */20 21 import java.io.IOException ;22 import java.util.Arrays ;23 import java.util.ArrayList ;24 import java.util.Collection ;25 import java.util.Collections ;26 import java.util.HashMap ;27 import java.util.List ;28 import java.util.Set ;29 30 import com.sun.mirror.apt.AnnotationProcessor;31 import com.sun.mirror.apt.AnnotationProcessorFactory;32 import com.sun.mirror.apt.AnnotationProcessorEnvironment;33 import com.sun.mirror.declaration.AnnotationTypeDeclaration;34 import com.sun.mirror.declaration.Declaration;35 36 import org.apache.beehive.controls.api.bean.ControlExtension;37 import org.apache.beehive.controls.api.bean.ControlImplementation;38 import org.apache.beehive.controls.api.bean.ControlInterface;39 import org.apache.beehive.controls.api.properties.PropertySet;40 41 import org.apache.beehive.controls.runtime.generator.*;42 43 /**44 * Currently, the sole purpose of this annotation processor is to suppress warning messages from apt regarding45 * "annotations without processors".46 */47 public class ControlSecondaryAnnotationProcessor extends TwoPhaseAnnotationProcessor48 {49 public ControlSecondaryAnnotationProcessor(Set <AnnotationTypeDeclaration> atds,50 AnnotationProcessorEnvironment env)51 {52 super(atds, env);53 }54 55 @Override 56 public void check(Declaration decl)57 {58 }59 60 @Override 61 public void generate(Declaration decl)62 {63 }64 }65