Lines Matching refs:il
70 InstructionList il = new InstructionList(); in main() local
79 il, cp); in main()
86 il.append(factory.createNew("java.io.BufferedReader")); in main()
87 il.append(InstructionConstants.DUP); // Use predefined constant, i.e. flyweight in main()
88 il.append(factory.createNew("java.io.InputStreamReader")); in main()
89 il.append(InstructionConstants.DUP); in main()
90 … il.append(factory.createFieldAccess("java.lang.System", "in", i_stream, Constants.GETSTATIC)); in main()
93 il.append(factory.createInvoke("java.io.InputStreamReader", "<init>", in main()
96 il.append(factory.createInvoke("java.io.BufferedReader", "<init>", Type.VOID, in main()
103 lg.setStart(il.append(new ASTORE(in))); // `i' valid from here in main()
108 il.append(InstructionConstants.ACONST_NULL); in main()
109 lg.setStart(il.append(new ASTORE(name))); // `name' valid from here in main()
113 … il.append(factory.createFieldAccess("java.lang.System", "out", p_stream, Constants.GETSTATIC)); in main()
115 il.append(new PUSH(cp, "Please enter your name> ")); in main()
116 il.append(factory.createInvoke("java.io.PrintStream", "print", Type.VOID, in main()
118 il.append(new ALOAD(in)); in main()
119 il.append(factory.createInvoke("java.io.BufferedReader", "readLine", in main()
121 il.append(new ASTORE(name)); in main()
125 InstructionHandle try_end = il.append(g); in main()
131 … il.append(factory.createFieldAccess("java.lang.System", "out", p_stream, Constants.GETSTATIC)); in main()
133 il.append(InstructionConstants.SWAP); in main()
135 …il.append(factory.createInvoke("java.io.PrintStream", "println", Type.VOID, new Type[]{Type.OBJECT… in main()
136 il.append(InstructionConstants.RETURN); in main()
141 … il.append(factory.createFieldAccess("java.lang.System", "out", p_stream, Constants.GETSTATIC)); in main()
145 il.append(factory.createNew(Type.STRINGBUFFER)); in main()
146 il.append(InstructionConstants.DUP); in main()
147 il.append(new PUSH(cp, "Hello, ")); in main()
148 il.append(factory.createInvoke("java.lang.StringBuffer", "<init>", in main()
151 il.append(new ALOAD(name)); in main()
154 il.append(factory.createInvoke("java.lang.StringBuffer", "append", in main()
157 il.append(factory.createInvoke("java.lang.StringBuffer", "toString", in main()
161 il.append(factory.createInvoke("java.io.PrintStream", "println", in main()
165 il.append(InstructionConstants.RETURN); in main()
170 il.dispose(); // Reuse instruction handles in main()