View Javadoc
1   /*
2    *  Copyright 2012 Chris Pheby
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 at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *  Unless required by applicable law or agreed to in writing, software
11   *  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 and
14   *  limitations under the License.
15   */
16  package org.jadira.scanner.classpath.visitor;
17  
18  import org.jadira.scanner.classpath.types.JAnnotation;
19  import org.jadira.scanner.classpath.types.JClass;
20  import org.jadira.scanner.classpath.types.JConstructor;
21  import org.jadira.scanner.classpath.types.JField;
22  import org.jadira.scanner.classpath.types.JInnerClass;
23  import org.jadira.scanner.classpath.types.JInterface;
24  import org.jadira.scanner.classpath.types.JMethod;
25  import org.jadira.scanner.classpath.types.JPackage;
26  import org.jadira.scanner.classpath.types.JParameter;
27  import org.jadira.scanner.classpath.types.JStaticInitializer;
28  
29  public interface IntrospectionVisitor {
30  
31      void visit(JConstructor element);
32      void visit(JMethod element);
33      void visit(JStaticInitializer element);
34      void visit(JPackage element);
35      void visit(JAnnotation<?> element);
36      void visit(JInnerClass element);
37      void visit(JClass element);
38      void visit(JInterface element);
39      void visit(JField element);
40      void visit(JParameter element);
41  }