]> source.dussan.org Git - aspectj.git/commitdiff
intertype inner class PRE_PUSHIN
authoraclement <aclement>
Fri, 4 Jun 2010 23:40:37 +0000 (23:40 +0000)
committeraclement <aclement>
Fri, 4 Jun 2010 23:40:37 +0000 (23:40 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedTypeMunger.java

index 10915ea580c4a281d0e73a20af623658fe06a28f..609973d4904d46fd5f8366ba71e4df79ff4ac3b6 100644 (file)
@@ -294,6 +294,8 @@ public abstract class ResolvedTypeMunger {
                                return FieldHost;
                        case 11:
                                return MethodDelegate2;
+                       case 12:
+                               return InnerClass;
                        }
                        throw new BCException("bad kind: " + key);
                }
@@ -315,21 +317,17 @@ public abstract class ResolvedTypeMunger {
        public static final Kind Field = new Kind("Field", 1);
        public static final Kind Method = new Kind("Method", 2);
        public static final Kind Constructor = new Kind("Constructor", 5);
-
        // not serialized, only created during concretization of aspects
        public static final Kind PerObjectInterface = new Kind("PerObjectInterface", 3);
        public static final Kind PrivilegedAccess = new Kind("PrivilegedAccess", 4);
-
        public static final Kind Parent = new Kind("Parent", 6);
-       public static final Kind PerTypeWithinInterface = new Kind("PerTypeWithinInterface", 7); // PTWIMPL not serialized, used during
-       // concretization of aspects
-
+       // PTWIMPL not serialized, used during concretization of aspects
+       public static final Kind PerTypeWithinInterface = new Kind("PerTypeWithinInterface", 7);
        public static final Kind AnnotationOnType = new Kind("AnnotationOnType", 8); // not serialized
-
        public static final Kind MethodDelegate = new Kind("MethodDelegate", 9);// serialized, @AJ ITDs
        public static final Kind FieldHost = new Kind("FieldHost", 10);// serialized, @AJ ITDs
-
        public static final Kind MethodDelegate2 = new Kind("MethodDelegate2", 11);// serialized, @AJ ITDs
+       public static final Kind InnerClass = new Kind("InnerClass", 12);
 
        public static final String SUPER_DISPATCH_NAME = "superDispatch";
 
@@ -404,6 +402,10 @@ public abstract class ResolvedTypeMunger {
                return typeVariableAliases;
        }
 
+       protected void setTypeVariableAliases(List<String> typeVariableAliases) {
+               this.typeVariableAliases = typeVariableAliases;
+       }
+
        public boolean hasTypeVariableAliases() {
                return (typeVariableAliases != null && typeVariableAliases.size() > 0);
        }