summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2004-07-29 15:05:20 +0000
committeraclement <aclement>2004-07-29 15:05:20 +0000
commitead60730f87d1eeb644a9a4c9dcdcfe85ac0b240 (patch)
tree4f600bda1b0c284ea685a9919e68c18279d4ecd7 /org.aspectj.ajdt.core
parent4feb835a5339c3f63d73fbd6db2fe307e1f08ed1 (diff)
downloadaspectj-ead60730f87d1eeb644a9a4c9dcdcfe85ac0b240.tar.gz
aspectj-ead60730f87d1eeb644a9a4c9dcdcfe85ac0b240.zip
just an extra few comments...
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
index c914bc3e8..9025cf439 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
@@ -548,6 +548,13 @@ public class AspectDeclaration extends TypeDeclaration {
// codeStream.athrow();
// // body ends here
+ // The stuff below generates code that looks like this:
+ /*
+ * if (ajc$perSingletonInstance == null)
+ * throw new NoAspectBoundException("A", ajc$initFailureCause);
+ * else
+ * return ajc$perSingletonInstance;
+ */
// body starts here (see end of each line for what it is doing!)
FieldBinding fb = world.makeFieldBinding(AjcMemberMaker.perSingletonField(typeX));
codeStream.getstatic(fb); // GETSTATIC