View Javadoc

1   // Interface.java, created Wed Sep 11 15:00:54 2002 by joewhaley
2   // Copyright (C) 2001-3 John Whaley <jwhaley@alum.mit.edu>
3   // Licensed under the terms of the GNU LGPL; see COPYING for details.
4   package joeq.ClassLib.Common;
5   
6   import joeq.Runtime.ObjectTraverser;
7   
8   /***
9    * Interface
10   *
11   * @author  John Whaley <jwhaley@alum.mit.edu>
12   * @version $Id: Interface.java 1465 2004-03-10 22:40:47Z jwhaley $
13   */
14  public interface Interface {
15  
16      public java.util.Iterator getImplementationClassDescs(joeq.UTF.Utf8 desc);
17      
18      public ObjectTraverser getObjectTraverser();
19      
20      public java.lang.Class createNewClass(joeq.Class.jq_Type f);
21      
22      public java.lang.reflect.Constructor createNewConstructor(joeq.Class.jq_Initializer f);
23      
24      public void initNewConstructor(java.lang.reflect.Constructor dis, joeq.Class.jq_Initializer f);
25      
26      public java.lang.reflect.Field createNewField(joeq.Class.jq_Field f);
27      
28      public void initNewField(java.lang.reflect.Field dis, joeq.Class.jq_Field f);
29      
30      public java.lang.reflect.Method createNewMethod(joeq.Class.jq_Method f);
31      
32      public void initNewMethod(java.lang.reflect.Method dis, joeq.Class.jq_Method f);
33      
34      public joeq.Class.jq_Field getJQField(java.lang.reflect.Field f);
35      
36      public joeq.Class.jq_Initializer getJQInitializer(java.lang.reflect.Constructor f);
37      
38      public joeq.Class.jq_Method getJQMethod(java.lang.reflect.Method f);
39      
40      public joeq.Class.jq_Type getJQType(java.lang.Class k);
41      
42      public joeq.Class.jq_Type getOrCreateType(java.lang.ClassLoader cl, joeq.UTF.Utf8 desc);
43      
44      public void unloadType(java.lang.ClassLoader cl, joeq.Class.jq_Type t);
45      
46      public void init_zipfile(java.util.zip.ZipFile dis, java.lang.String name) throws java.io.IOException;
47      
48      public void init_inflater(java.util.zip.Inflater dis, boolean nowrap) throws java.io.IOException;
49  
50      public void initializeSystemClass() throws java.lang.Throwable;    
51  }