From 38836534d692da64a69bcd741129d4d103e78973 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 5 Jan 2005 13:14:41 +0000 Subject: [PATCH] Binary Weaving Decp: helper methods and bug fix for unnecessary suid warning. --- weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java index 4e105fb0c..2adf530ca 100644 --- a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java +++ b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java @@ -452,12 +452,17 @@ public final class LazyClassGen { public void addInterface(TypeX typeX, ISourceLocation sourceLocation) { myGen.addInterface(typeX.getName()); - warnOnAddedInterface(typeX.getName(),sourceLocation); + if (!typeX.equals(TypeX.SERIALIZABLE)) + warnOnAddedInterface(typeX.getName(),sourceLocation); } public void setSuperClass(TypeX typeX) { myGen.setSuperclassName(typeX.getName()); } + + public String getSuperClassname() { + return myGen.getSuperclassName(); + } // non-recursive, may be a bug, ha ha. @@ -817,6 +822,10 @@ public final class LazyClassGen { public boolean isInterface() { return myGen.isInterface(); } + + public boolean isAbstract() { + return myGen.isAbstract(); + } public LazyMethodGen getLazyMethodGen(Member m) { return getLazyMethodGen(m.getName(), m.getSignature()); -- 2.39.5