Instantiating TypeVariableImpl.java
[jpf-core.git] / src / classes / sun / reflect / generics / reflectiveObjects / TypeVariableImpl.java
index bb1a3d3de3270ba99419876b989b848c95ba528b..f845539b3c4ecf725fa90a2bdeeb58c79831b1e8 100644 (file)
@@ -25,11 +25,12 @@ import sun.reflect.generics.tree.FieldTypeSignature;
  */
 public class TypeVariableImpl<D extends GenericDeclaration>
     extends LazyReflectiveObjectGenerator implements TypeVariable<D> {
+//public class TypeVariableImpl {
     D genericDeclaration;
     private String name;
     private Type[] bounds;
     private FieldTypeSignature[] boundASTs;
-    private static final Annotation[] EMPTY_ANNOTATION_ARRAY = new Annotation[0];
+    //private static final Annotation[] EMPTY_ANNOTATION_ARRAY = new Annotation[0];
 
     // constructor is private to enforce access through static factory
     private TypeVariableImpl(D decl, String n, FieldTypeSignature[] bs,
@@ -63,7 +64,7 @@ public class TypeVariableImpl<D extends GenericDeclaration>
                                                       GenericsFactory f) {
 
         if (!((decl instanceof Class) ||
-                (decl instanceof Method) ||
+                //(decl instanceof Method) ||
                 (decl instanceof Constructor))) {
             throw new AssertionError("Unexpected kind of GenericDeclaration" +
                     decl.getClass().toString());