1
2
3
4 package joeq.Util.Templates;
5
6 /***
7 * @author John Whaley <jwhaley@alum.mit.edu>
8 * @version $Id: List.java 1456 2004-03-09 22:01:46Z jwhaley $
9 */
10 public abstract class List {
11 public interface jq_Type extends java.util.List {
12 joeq.Class.jq_Type getType(int index);
13 ListIterator.jq_Type typeIterator();
14 }
15 public interface jq_Reference extends jq_Type {
16 joeq.Class.jq_Reference getReference(int index);
17 ListIterator.jq_Reference referenceIterator();
18 }
19 public interface jq_Class extends jq_Reference {
20 joeq.Class.jq_Class getClass(int index);
21 ListIterator.jq_Class classIterator();
22 }
23 public interface jq_Member extends java.util.List {
24 joeq.Class.jq_Member getMember(int index);
25 ListIterator.jq_Member memberIterator();
26 }
27 public interface jq_Method extends jq_Member {
28 joeq.Class.jq_Method getMethod(int index);
29 ListIterator.jq_Method methodIterator();
30 }
31 public interface jq_InstanceMethod extends jq_Method {
32 joeq.Class.jq_InstanceMethod getInstanceMethod(int index);
33 ListIterator.jq_InstanceMethod instanceMethodIterator();
34 }
35 public interface jq_StaticMethod extends jq_Method {
36 joeq.Class.jq_StaticMethod getStaticMethod(int index);
37 ListIterator.jq_StaticMethod staticMethodIterator();
38 }
39
40 public interface BasicBlock extends java.util.List {
41 joeq.Compiler.Quad.BasicBlock getBasicBlock(int index);
42 ListIterator.BasicBlock basicBlockIterator();
43 }
44 public interface ExceptionHandler extends java.util.List {
45 joeq.Compiler.Quad.ExceptionHandler getExceptionHandler(int index);
46 ListIterator.ExceptionHandler exceptionHandlerIterator();
47 }
48 public interface Quad extends java.util.List {
49 joeq.Compiler.Quad.Quad getQuad(int index);
50 ListIterator.Quad quadIterator();
51 }
52 public interface Operand extends java.util.List {
53 joeq.Compiler.Quad.Operand getOperand(int index);
54 ListIterator.Operand operandIterator();
55 }
56 public interface RegisterOperand extends Operand {
57 joeq.Compiler.Quad.Operand.RegisterOperand getRegisterOperand(int index);
58 ListIterator.RegisterOperand registerOperandIterator();
59 }
60 }