diff options
author | Andy Clement <aclement@pivotal.io> | 2017-09-27 14:43:36 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2017-09-27 14:43:36 -0700 |
commit | 069a891403e7b36519766400da91867ff47ddb53 (patch) | |
tree | f91915b67246743f36e16f6906d63293b9373914 /weaver | |
parent | 7020be7deec5f90712959f0a7f7b9519b5a632c4 (diff) | |
download | aspectj-069a891403e7b36519766400da91867ff47ddb53.tar.gz aspectj-069a891403e7b36519766400da91867ff47ddb53.zip |
Ensure version information get/settable
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java index 08dd909b7..24240d7ca 100644 --- a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java +++ b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java @@ -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) { |