diff options
author | aclement <aclement> | 2006-07-04 16:57:42 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-07-04 16:57:42 +0000 |
commit | 777801afde6cb904f72d821ca2b3db38207749f9 (patch) | |
tree | d2c7fb8919d3d4a5f0ecbb8a4d2f1077c7e25b66 /bcel-builder/src | |
parent | a6b36f2034e7af068ac368526a0ce042d4a1621c (diff) | |
download | aspectj-777801afde6cb904f72d821ca2b3db38207749f9.tar.gz aspectj-777801afde6cb904f72d821ca2b3db38207749f9.zip |
keep the verifier happy.
Diffstat (limited to 'bcel-builder/src')
-rw-r--r-- | bcel-builder/src/org/aspectj/apache/bcel/verifier/statics/StringRepresentation.java | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/verifier/statics/StringRepresentation.java b/bcel-builder/src/org/aspectj/apache/bcel/verifier/statics/StringRepresentation.java index 4283923f0..24337f155 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/verifier/statics/StringRepresentation.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/verifier/statics/StringRepresentation.java @@ -54,6 +54,7 @@ package org.aspectj.apache.bcel.verifier.statics; * <http://www.apache.org/>. */ +import org.aspectj.apache.bcel.classfile.AnnotationDefault; import org.aspectj.apache.bcel.classfile.Code; import org.aspectj.apache.bcel.classfile.CodeException; import org.aspectj.apache.bcel.classfile.ConstantClass; @@ -79,6 +80,7 @@ import org.aspectj.apache.bcel.classfile.LineNumber; import org.aspectj.apache.bcel.classfile.LineNumberTable; import org.aspectj.apache.bcel.classfile.LocalVariable; import org.aspectj.apache.bcel.classfile.LocalVariableTable; +import org.aspectj.apache.bcel.classfile.LocalVariableTypeTable; import org.aspectj.apache.bcel.classfile.Method; import org.aspectj.apache.bcel.classfile.Node; import org.aspectj.apache.bcel.classfile.Signature; @@ -87,6 +89,10 @@ import org.aspectj.apache.bcel.classfile.StackMap; import org.aspectj.apache.bcel.classfile.Synthetic; import org.aspectj.apache.bcel.classfile.Unknown; import org.aspectj.apache.bcel.classfile.Visitor; +import org.aspectj.apache.bcel.classfile.annotation.RuntimeInvisibleAnnotations; +import org.aspectj.apache.bcel.classfile.annotation.RuntimeInvisibleParameterAnnotations; +import org.aspectj.apache.bcel.classfile.annotation.RuntimeVisibleAnnotations; +import org.aspectj.apache.bcel.classfile.annotation.RuntimeVisibleParameterAnnotations; import org.aspectj.apache.bcel.verifier.exc.AssertionViolatedException; /** @@ -101,7 +107,7 @@ import org.aspectj.apache.bcel.verifier.exc.AssertionViolatedException; * Note that this class also serves as a placeholder for more sophisticated message * handling in future versions of JustIce. * - * @version $Id: StringRepresentation.java,v 1.3 2004/11/22 08:31:27 aclement Exp $ + * @version $Id: StringRepresentation.java,v 1.4 2006/07/04 16:57:42 aclement Exp $ * @author <A HREF="http://www.inf.fu-berlin.de/~ehaase"/>Enver Haase</A> */ public class StringRepresentation extends org.aspectj.apache.bcel.classfile.EmptyVisitor implements Visitor{ @@ -243,13 +249,21 @@ public class StringRepresentation extends org.aspectj.apache.bcel.classfile.Empt public void visitSourceFile(SourceFile obj){ tostring = toString(obj); } - public void visitStackMap(StackMap obj){ - tostring = toString(obj); - } + public void visitStackMap(StackMap obj){ + tostring = toString(obj); + } public void visitSynthetic(Synthetic obj){ tostring = toString(obj); } public void visitUnknown(Unknown obj){ tostring = toString(obj); } + + public void visitRuntimeVisibleAnnotations(RuntimeVisibleAnnotations obj) {tostring = toString(obj);} + public void visitRuntimeInvisibleAnnotations(RuntimeInvisibleAnnotations obj) {tostring = toString(obj);} + public void visitRuntimeVisibleParameterAnnotations(RuntimeVisibleParameterAnnotations obj) {tostring = toString(obj);} + public void visitRuntimeInvisibleParameterAnnotations(RuntimeInvisibleParameterAnnotations obj) {tostring = toString(obj);} + public void visitAnnotationDefault(AnnotationDefault obj) {tostring = toString(obj);} + public void visitLocalVariableTypeTable(LocalVariableTypeTable obj) {tostring = toString(obj);} + } |