]> source.dussan.org Git - aspectj.git/commitdiff
raise inner type visibility for subclasses
authoracolyer <acolyer>
Fri, 8 Jul 2005 16:02:28 +0000 (16:02 +0000)
committeracolyer <acolyer>
Fri, 8 Jul 2005 16:02:28 +0000 (16:02 +0000)
weaver/src/org/aspectj/weaver/BoundedReferenceType.java

index 70085f22dff3875309753a87237e07ff917cdca2..5aa46fc5788c1fd15017291e42f6c2ebd163404f 100644 (file)
@@ -47,7 +47,7 @@ public class BoundedReferenceType extends ReferenceType {
        }
        
        /**
-        * only for use when resolving GenericsWildcardTypeX
+        * only for use when resolving GenericsWildcardTypeX or a TypeVariableReferenceType
         */
        BoundedReferenceType(String sig, World world) {
                super(sig,world);
@@ -81,7 +81,7 @@ public class BoundedReferenceType extends ReferenceType {
                }
        }
        
-       private static class ReferenceTypeReferenceTypeDelegate extends AbstractReferenceTypeDelegate {
+       protected static class ReferenceTypeReferenceTypeDelegate extends AbstractReferenceTypeDelegate {
 
                public ReferenceTypeReferenceTypeDelegate(ReferenceType backing) {
                        super(backing,false);
@@ -179,5 +179,9 @@ public class BoundedReferenceType extends ReferenceType {
                        return null;
                }
 
+               public TypeVariable[] getTypeVariables() {
+                       return resolvedTypeX.getTypeVariables();
+               }
+
        }
 }