summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2006-01-30 10:27:20 +0000
committeraclement <aclement>2006-01-30 10:27:20 +0000
commite8ce7c29343baed3b22173ec76a23e852ffbd12e (patch)
treef937f0e7920a3f587dfd265258bd6fc862741521 /weaver
parentdeaa590e83b2e7707fecd5281f342d13246b36d0 (diff)
downloadaspectj-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.java11
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;