aboutsummaryrefslogtreecommitdiffstats
path: root/bcel-builder
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-28 00:03:24 +0000
committeraclement <aclement>2008-08-28 00:03:24 +0000
commitbdf5906d039a27afd7e0b3a927f7157b84bddd83 (patch)
tree626e05bd889339823a04e798accd54097f18b1ce /bcel-builder
parentbec82a4941ec03f4ddfe11b9c4dbbe18df728c47 (diff)
downloadaspectj-bdf5906d039a27afd7e0b3a927f7157b84bddd83.tar.gz
aspectj-bdf5906d039a27afd7e0b3a927f7157b84bddd83.zip
no longer serializable and removed unused code
Diffstat (limited to 'bcel-builder')
-rw-r--r--bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionFactory.java26
1 files changed, 2 insertions, 24 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionFactory.java b/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionFactory.java
index 07aed8852..8c34b7f88 100644
--- a/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionFactory.java
+++ b/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionFactory.java
@@ -62,11 +62,11 @@ import org.aspectj.apache.bcel.classfile.ConstantPool;
* byte code generating backend of a compiler. You can subclass it to
* add your own create methods.
*
- * @version $Id: InstructionFactory.java,v 1.4 2008/05/28 23:52:59 aclement Exp $
+ * @version $Id: InstructionFactory.java,v 1.5 2008/08/28 00:03:24 aclement Exp $
* @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
* @see Constants
*/
-public class InstructionFactory implements InstructionConstants, java.io.Serializable {
+public class InstructionFactory implements InstructionConstants {
protected ClassGen cg;
protected ConstantPool cp;
@@ -179,28 +179,6 @@ public class InstructionFactory implements InstructionConstants, java.io.Seriali
return instruction;
}
- private static class MethodObject {
- Type[] arg_types;
- Type result_type;
- String[] arg_names;
- String class_name;
- String name;
- int access;
-
- MethodObject(String c, String n, Type r, Type[] a, int acc) {
- class_name = c;
- name = n;
- result_type = r;
- arg_types = a;
- access = acc;
- }
- }
-
- private InvokeInstruction createInvoke(MethodObject m, short kind) {
- return createInvoke(m.class_name, m.name, m.result_type, m.arg_types, kind);
- }
-
-
/** Create a field instruction.
*
* @param class_name name of the accessed class