KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > controls > runtime > generator > apt > ControlSecondaryAnnotationProcessor


1 package org.apache.beehive.controls.runtime.generator.apt;
2
3 /*
4  * Copyright 2004 The Apache Software Foundation
5  *
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 at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * 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 and
16  * limitations under the License.
17  *
18  * $Header:$
19  */

20
21 import java.io.IOException JavaDoc;
22 import java.util.Arrays JavaDoc;
23 import java.util.ArrayList JavaDoc;
24 import java.util.Collection JavaDoc;
25 import java.util.Collections JavaDoc;
26 import java.util.HashMap JavaDoc;
27 import java.util.List JavaDoc;
28 import java.util.Set JavaDoc;
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 regarding
45  * "annotations without processors".
46  */

47 public class ControlSecondaryAnnotationProcessor extends TwoPhaseAnnotationProcessor
48 {
49     public ControlSecondaryAnnotationProcessor(Set JavaDoc<AnnotationTypeDeclaration> atds,
50                                       AnnotationProcessorEnvironment env)
51     {
52         super(atds, env);
53     }
54
55     @Override JavaDoc
56     public void check(Declaration decl)
57     {
58     }
59
60     @Override JavaDoc
61     public void generate(Declaration decl)
62     {
63     }
64 }
65
Popular Tags