]> source.dussan.org Git - aspectj.git/commitdiff
Ensure version information get/settable
authorAndy Clement <aclement@pivotal.io>
Wed, 27 Sep 2017 21:43:36 +0000 (14:43 -0700)
committerAndy Clement <aclement@pivotal.io>
Wed, 27 Sep 2017 21:43:36 +0000 (14:43 -0700)
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java

index 08dd909b7ed861fcca6523806aa786c95a15b10f..24240d7caa7529da9517f77da33163cdb448bd0e 100644 (file)
@@ -253,6 +253,19 @@ public final class LazyClassGen {
                regenerateGenericSignatureAttribute = true;
                this.world = world;
        }
+       
+       public void setMajorMinor(int major, int minor) {
+               myGen.setMajor(major);
+               myGen.setMinor(minor);
+       }
+       
+       public int getMajor() {
+               return myGen.getMajor();
+       }
+       
+       public int getMinor() {
+               return myGen.getMinor();
+       }
 
        // Non child type, so it comes from a real type in the world.
        public LazyClassGen(BcelObjectType myType) {