PageRenderTime 39ms CodeModel.GetById 24ms app.highlight 9ms RepoModel.GetById 2ms app.codeStats 0ms

/testability-explorer/src/main/java/com/google/test/metric/asm/NoopSignatureVisitor.java

http://testability-explorer.googlecode.com/
Java | 79 lines | 45 code | 19 blank | 15 comment | 0 complexity | 6cde6194c9164988dc18cb5aa0712464 MD5 | raw file
 1/*
 2 * Copyright 2007 Google Inc.
 3 * 
 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 5 * use this file except in compliance with the License. You may obtain a copy of
 6 * 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, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
14 * the License.
15 */
16package com.google.test.metric.asm;
17
18import org.objectweb.asm.signature.SignatureVisitor;
19
20public class NoopSignatureVisitor implements SignatureVisitor {
21
22  public SignatureVisitor visitArrayType() {
23    return new NoopSignatureVisitor();
24  }
25
26  public void visitBaseType(char descriptor) {
27  }
28
29  public SignatureVisitor visitClassBound() {
30    return new NoopSignatureVisitor();
31  }
32
33  public void visitClassType(String name) {
34  }
35
36  public void visitEnd() {
37  }
38
39  public SignatureVisitor visitExceptionType() {
40    return new NoopSignatureVisitor();
41  }
42
43  public void visitFormalTypeParameter(String name) {
44  }
45
46  public void visitInnerClassType(String name) {
47  }
48
49  public SignatureVisitor visitInterface() {
50    return new NoopSignatureVisitor();
51  }
52
53  public SignatureVisitor visitInterfaceBound() {
54    return new NoopSignatureVisitor();
55  }
56
57  public SignatureVisitor visitParameterType() {
58    return new NoopSignatureVisitor();
59  }
60
61  public SignatureVisitor visitReturnType() {
62    return new NoopSignatureVisitor();
63  }
64
65  public SignatureVisitor visitSuperclass() {
66    return new NoopSignatureVisitor();
67  }
68
69  public void visitTypeArgument() {
70  }
71
72  public SignatureVisitor visitTypeArgument(char wildcard) {
73    return new NoopSignatureVisitor();
74  }
75
76  public void visitTypeVariable(String name) {
77  }
78
79}