diff options
author | aclement <aclement> | 2006-01-30 10:27:20 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-01-30 10:27:20 +0000 |
commit | e8ce7c29343baed3b22173ec76a23e852ffbd12e (patch) | |
tree | f937f0e7920a3f587dfd265258bd6fc862741521 /weaver | |
parent | deaa590e83b2e7707fecd5281f342d13246b36d0 (diff) | |
download | aspectj-e8ce7c29343baed3b22173ec76a23e852ffbd12e.tar.gz aspectj-e8ce7c29343baed3b22173ec76a23e852ffbd12e.zip |
enh 123423 (expose PTW type) - code currently commented out until return type of getWithinType() decided...
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/AjcMemberMaker.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/AjcMemberMaker.java b/weaver/src/org/aspectj/weaver/AjcMemberMaker.java index a0add374c..3b6e350b3 100644 --- a/weaver/src/org/aspectj/weaver/AjcMemberMaker.java +++ b/weaver/src/org/aspectj/weaver/AjcMemberMaker.java @@ -290,6 +290,17 @@ public class AjcMemberMaker { // "(Ljava/lang/Class;)" + declaringType.getSignature()); } + + /*public static ResolvedMember perTypeWithinGetWithinTypeMethod(UnresolvedType declaringType, boolean inJava5Mode) { + UnresolvedType returnType = null; + if (inJava5Mode) { + returnType = UnresolvedType.forRawTypeName("java.lang.Class"); + } else { + returnType = UnresolvedType.forSignature("Ljava/lang/Class;"); + } + return new ResolvedMemberImpl(Member.METHOD,declaringType,Modifier.PUBLIC,ResolvedType.JAVA_LANG_STRING,"getWithinType",new UnresolvedType[]{}); + }*/ + // PTWIMPL ResolvedMember for hasAspect(), declared in aspect public static ResolvedMember perTypeWithinHasAspectMethod(UnresolvedType declaringType, boolean inJava5Mode) { UnresolvedType parameterType = null; |