diff options
author | Andy Clement <aclement@pivotal.io> | 2016-06-17 10:40:29 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2016-06-17 10:40:29 -0700 |
commit | 34f33f6948799dd57aeef1d8422f796fbd6d416d (patch) | |
tree | 805c1d6cd7bd2c6868e519f6c34a8f3fcb7f634c /bcel-builder/src | |
parent | f8b86ff2c03a77e47e87573b59bc43c57cfdee38 (diff) | |
download | aspectj-34f33f6948799dd57aeef1d8422f796fbd6d416d.tar.gz aspectj-34f33f6948799dd57aeef1d8422f796fbd6d416d.zip |
Upgrading to latest 1.9 compiler
Diffstat (limited to 'bcel-builder/src')
-rw-r--r-- | bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassVisitor.java | 2 | ||||
-rw-r--r-- | bcel-builder/src/org/aspectj/apache/bcel/classfile/Module.java | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassVisitor.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassVisitor.java index 9280083a8..f72da47ee 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassVisitor.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassVisitor.java @@ -162,4 +162,6 @@ public interface ClassVisitor { public void visitLocalVariableTypeTable(LocalVariableTypeTable obj); public void visitMethodParameters(MethodParameters methodParameters); + + public void visitModule(Module m); } diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/Module.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/Module.java index 217f5fbd0..3041add34 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/Module.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/Module.java @@ -388,13 +388,14 @@ public final class Module extends Attribute { /** * @return deep copy of this attribute // */ - // @Override - // public Attribute copy(ConstantPool constant_pool) { - // return (SourceFile) clone(); - // } +// @Override +// public Attribute copy(ConstantPool constant_pool) { +// return (Module) clone(); +// } + @Override public void accept(ClassVisitor v) { - v.visitSourceFile(this); + v.visitModule(this); } public Require[] getRequires() { |