Package org.gjt.jclasslib.bytecode

Examples of org.gjt.jclasslib.bytecode.AbstractInstruction


   
    void setCurrentInstructions(final ArrayList/*<AbstractInstruction>*/ instructions) {
        instructionURL.clear();
        Set/*<String>*/ mnemonics = new TreeSet();
        for (Iterator it = instructions.iterator(); it.hasNext();) {
            AbstractInstruction instruction = (AbstractInstruction) it.next();
            if (mnemonics.add(instruction.getOpcodeVerbose())) {
                instructionURL.put(instruction.getOpcodeVerbose(),
                        OpcodesUtil.getURL(instruction.getOpcode()));
            }
        }
        this.instructions.setModel(new DefaultComboBoxModel(mnemonics.toArray()));
    }
View Full Code Here


   
    void setCurrentInstructions(final ArrayList<AbstractInstruction> instructions) {
        instructionToURL.clear();
        Set<String> mnemonics = new TreeSet<String>();
        for (Object instruction1 : instructions) {
            AbstractInstruction instruction = (AbstractInstruction)instruction1;
            String verbose = instruction.getOpcode().getVerbose();
            if (mnemonics.add(verbose)) {
                instructionToURL.put(verbose, instruction.getOpcode().getDocUrl());
            }
        }
        this.instructions.setModel(new DefaultComboBoxModel(mnemonics.toArray()));
    }
View Full Code Here

TOP

Related Classes of org.gjt.jclasslib.bytecode.AbstractInstruction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.