KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonicsystems > jarjar > util > EmptySignatureVisitor


1 /*
2   Jar Jar Links - A utility to repackage and embed Java libraries
3   Copyright (C) 2004 Tonic Systems, Inc.
4
5   This program is free software; you can redistribute it and/or modify
6   it under the terms of the GNU General Public License as published by
7   the Free Software Foundation; either version 2 of the License, or
8   (at your option) any later version.
9
10   This program is distributed in the hope that it will be useful,
11   but WITHOUT ANY WARRANTY; without even the implied warranty of
12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13   GNU General Public License for more details.
14
15   You should have received a copy of the GNU General Public License
16   along with this program; see the file COPYING. if not, write to
17   the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18   Boston, MA 02111-1307 USA
19 */

20
21 package com.tonicsystems.jarjar.util;
22
23 import org.objectweb.asm.signature.*;
24
25 public class EmptySignatureVisitor
26 implements SignatureVisitor
27 {
28     public void visitFormalTypeParameter(String JavaDoc name) {
29     }
30     
31     public SignatureVisitor visitClassBound() {
32         return this;
33     }
34     
35     public SignatureVisitor visitInterfaceBound() {
36         return this;
37     }
38         
39     public void visitBaseType(char descriptor) {
40     }
41     
42     public void visitTypeVariable(String JavaDoc name) {
43     }
44     
45     public SignatureVisitor visitArrayType() {
46         return this;
47     }
48     
49     public void visitClassType(String JavaDoc name) {
50     }
51     
52     public void visitInnerClassType(String JavaDoc name) {
53     }
54     
55     public void visitTypeArgument() {
56     }
57     
58     public SignatureVisitor visitTypeArgument(char wildcard) {
59         return this;
60     }
61     
62     public void visitEnd() {
63     }
64     
65     public SignatureVisitor visitSuperclass() {
66         return this;
67     }
68     
69     public SignatureVisitor visitInterface() {
70         return this;
71     }
72     
73     public SignatureVisitor visitParameterType() {
74         return this;
75     }
76     
77     public SignatureVisitor visitReturnType() {
78         return this;
79     }
80     
81     public SignatureVisitor visitExceptionType() {
82         return this;
83     }
84 }
85
Popular Tags