Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
 
 package org.eclipse.jdt.core.util;

Description of each opcode mnemonic according to the JVM specifications.

Since:
2.0
Noinstantiate:
This class is not intended to be instantiated by clients.
Noextend:
This class is not intended to be subclassed by clients.
 
 public class OpcodeStringValues implements IOpcodeMnemonics {
 
 	public static final String[] BYTECODE_NAMES = new String[256];
 	static {
 		[] = "nop"//$NON-NLS-1$
 		[] = "aconst_null"//$NON-NLS-1$
 		[] = "iconst_m1"//$NON-NLS-1$
 		[] = "iconst_0"//$NON-NLS-1$
 		[] = "iconst_1"//$NON-NLS-1$
 		[] = "iconst_2"//$NON-NLS-1$
 		[] = "iconst_3"//$NON-NLS-1$
 		[] = "iconst_4"//$NON-NLS-1$
 		[] = "iconst_5"//$NON-NLS-1$
 		[] = "lconst_0"//$NON-NLS-1$
 		[] = "lconst_1"//$NON-NLS-1$
 		[] = "fconst_0"//$NON-NLS-1$
 		[] = "fconst_1"//$NON-NLS-1$
 		[] = "fconst_2"//$NON-NLS-1$
 		[] = "dconst_0"//$NON-NLS-1$
 		[] = "dconst_1"//$NON-NLS-1$
 		[] = "bipush"//$NON-NLS-1$
 		[] = "sipush"//$NON-NLS-1$
 		[] = "ldc"//$NON-NLS-1$
 		[] = "ldc_w"//$NON-NLS-1$
 		[] = "ldc2_w"//$NON-NLS-1$
 		[] = "iload"//$NON-NLS-1$
 		[] = "lload"//$NON-NLS-1$
 		[] = "fload"//$NON-NLS-1$
 		[] = "dload"//$NON-NLS-1$
 		[] = "aload"//$NON-NLS-1$
 		[] = "iload_0"//$NON-NLS-1$
 		[] = "iload_1"//$NON-NLS-1$
 		[] = "iload_2"//$NON-NLS-1$
 		[] = "iload_3"//$NON-NLS-1$
 		[] = "lload_0"//$NON-NLS-1$
 		[] = "lload_1"//$NON-NLS-1$
 		[] = "lload_2"//$NON-NLS-1$
 		[] = "lload_3"//$NON-NLS-1$
 		[] = "fload_0"//$NON-NLS-1$
 		[] = "fload_1"//$NON-NLS-1$
 		[] = "fload_2"//$NON-NLS-1$
 		[] = "fload_3"//$NON-NLS-1$
 		[] = "dload_0"//$NON-NLS-1$
 		[] = "dload_1"//$NON-NLS-1$
 		[] = "dload_2"//$NON-NLS-1$
 		[] = "dload_3"//$NON-NLS-1$
 		[] = "aload_0"//$NON-NLS-1$
 		[] = "aload_1"//$NON-NLS-1$
 		[] = "aload_2"//$NON-NLS-1$
 		[] = "aload_3"//$NON-NLS-1$
 		[] = "iaload"//$NON-NLS-1$
 		[] = "laload"//$NON-NLS-1$
 		[] = "faload"//$NON-NLS-1$
 		[] = "daload"//$NON-NLS-1$
 		[] = "aaload"//$NON-NLS-1$
 		[] = "baload"//$NON-NLS-1$
 		[] = "caload"//$NON-NLS-1$
 		[] = "saload"//$NON-NLS-1$
 		[] = "istore"//$NON-NLS-1$
 		[] = "lstore"//$NON-NLS-1$
 		[] = "fstore"//$NON-NLS-1$
 		[] = "dstore"//$NON-NLS-1$
 		[] = "astore"//$NON-NLS-1$
 		[] = "istore_0"//$NON-NLS-1$
 		[] = "istore_1"//$NON-NLS-1$
 		[] = "istore_2"//$NON-NLS-1$
 		[] = "istore_3"//$NON-NLS-1$
 		[] = "lstore_0"//$NON-NLS-1$
 		[] = "lstore_1"//$NON-NLS-1$
 		[] = "lstore_2"//$NON-NLS-1$
 		[] = "lstore_3"//$NON-NLS-1$
 		[] = "fstore_0"//$NON-NLS-1$
 		[] = "fstore_1"//$NON-NLS-1$
 		[] = "fstore_2"//$NON-NLS-1$
 		[] = "fstore_3"//$NON-NLS-1$
 		[] = "dstore_0"//$NON-NLS-1$
 		[] = "dstore_1"//$NON-NLS-1$
 		[] = "dstore_2"//$NON-NLS-1$
 		[] = "dstore_3"//$NON-NLS-1$
 		[] = "astore_0"//$NON-NLS-1$
		[] = "astore_1"//$NON-NLS-1$
		[] = "astore_2"//$NON-NLS-1$
		[] = "astore_3"//$NON-NLS-1$
		[] = "iastore"//$NON-NLS-1$
		[] = "lastore"//$NON-NLS-1$
		[] = "fastore"//$NON-NLS-1$
		[] = "dastore"//$NON-NLS-1$
		[] = "aastore"//$NON-NLS-1$
		[] = "bastore"//$NON-NLS-1$
		[] = "castore"//$NON-NLS-1$
		[] = "sastore"//$NON-NLS-1$
		[] = "pop"//$NON-NLS-1$
		[] = "pop2"//$NON-NLS-1$
		[] = "dup"//$NON-NLS-1$
		[] = "dup_x1"//$NON-NLS-1$
		[] = "dup_x2"//$NON-NLS-1$
		[] = "dup2"//$NON-NLS-1$
		[] = "dup2_x1"//$NON-NLS-1$
		[] = "dup2_x2"//$NON-NLS-1$
		[] = "swap"//$NON-NLS-1$
		[] = "iadd"//$NON-NLS-1$
		[] = "ladd"//$NON-NLS-1$
		[] = "fadd"//$NON-NLS-1$
		[] = "dadd"//$NON-NLS-1$
		[] = "isub"//$NON-NLS-1$
		[] = "lsub"//$NON-NLS-1$
		[] = "fsub"//$NON-NLS-1$
		[] = "dsub"//$NON-NLS-1$
		[] = "imul"//$NON-NLS-1$
		[] = "lmul"//$NON-NLS-1$
		[] = "fmul"//$NON-NLS-1$
		[] = "dmul"//$NON-NLS-1$
		[] = "idiv"//$NON-NLS-1$
		[] = "ldiv"//$NON-NLS-1$
		[] = "fdiv"//$NON-NLS-1$
		[] = "ddiv"//$NON-NLS-1$
		[] = "irem"//$NON-NLS-1$
		[] = "lrem"//$NON-NLS-1$
		[] = "frem"//$NON-NLS-1$
		[] = "drem"//$NON-NLS-1$
		[] = "ineg"//$NON-NLS-1$
		[] = "lneg"//$NON-NLS-1$
		[] = "fneg"//$NON-NLS-1$
		[] = "dneg"//$NON-NLS-1$
		[] = "ishl"//$NON-NLS-1$
		[] = "lshl"//$NON-NLS-1$
		[] = "ishr"//$NON-NLS-1$
		[] = "lshr"//$NON-NLS-1$
		[] = "iushr"//$NON-NLS-1$
		[] = "lushr"//$NON-NLS-1$
		[] = "iand"//$NON-NLS-1$
		[] = "land"//$NON-NLS-1$
		[] = "ior"//$NON-NLS-1$
		[] = "lor"//$NON-NLS-1$
		[] = "ixor"//$NON-NLS-1$
		[] = "lxor"//$NON-NLS-1$
		[] = "iinc"//$NON-NLS-1$
		[] = "i2l"//$NON-NLS-1$
		[] = "i2f"//$NON-NLS-1$
		[] = "i2d"//$NON-NLS-1$
		[] = "l2i"//$NON-NLS-1$
		[] = "l2f"//$NON-NLS-1$
		[] = "l2d"//$NON-NLS-1$
		[] = "f2i"//$NON-NLS-1$
		[] = "f2l"//$NON-NLS-1$
		[] = "f2d"//$NON-NLS-1$
		[] = "d2i"//$NON-NLS-1$
		[] = "d2l"//$NON-NLS-1$
		[] = "d2f"//$NON-NLS-1$
		[] = "i2b"//$NON-NLS-1$
		[] = "i2c"//$NON-NLS-1$
		[] = "i2s"//$NON-NLS-1$
		[] = "lcmp"//$NON-NLS-1$
		[] = "fcmpl"//$NON-NLS-1$
		[] = "fcmpg"//$NON-NLS-1$
		[] = "dcmpl"//$NON-NLS-1$
		[] = "dcmpg"//$NON-NLS-1$
		[] = "ifeq"//$NON-NLS-1$
		[] = "ifne"//$NON-NLS-1$
		[] = "iflt"//$NON-NLS-1$
		[] = "ifge"//$NON-NLS-1$
		[] = "ifgt"//$NON-NLS-1$
		[] = "ifle"//$NON-NLS-1$
		[] = "if_icmpeq"//$NON-NLS-1$
		[] = "if_icmpne"//$NON-NLS-1$
		[] = "if_icmplt"//$NON-NLS-1$
		[] = "if_icmpge"//$NON-NLS-1$
		[] = "if_icmpgt"//$NON-NLS-1$
		[] = "if_icmple"//$NON-NLS-1$
		[] = "if_acmpeq"//$NON-NLS-1$
		[] = "if_acmpne"//$NON-NLS-1$
		[] = "goto"//$NON-NLS-1$
		[] = "jsr"//$NON-NLS-1$
		[] = "ret"//$NON-NLS-1$
		[] = "tableswitch"//$NON-NLS-1$
		[] = "lookupswitch"//$NON-NLS-1$
		[] = "ireturn"//$NON-NLS-1$
		[] = "lreturn"//$NON-NLS-1$
		[] = "freturn"//$NON-NLS-1$
		[] = "dreturn"//$NON-NLS-1$
		[] = "areturn"//$NON-NLS-1$
		[] = "return"//$NON-NLS-1$
		[] = "getstatic"//$NON-NLS-1$
		[] = "putstatic"//$NON-NLS-1$
		[] = "getfield"//$NON-NLS-1$
		[] = "putfield"//$NON-NLS-1$
		[] = "invokevirtual"//$NON-NLS-1$
		[] = "invokespecial"//$NON-NLS-1$
		[] = "invokestatic"//$NON-NLS-1$
		[] = "invokeinterface"//$NON-NLS-1$
		[] = "invokedynamic"//$NON-NLS-1$
		[] = "new"//$NON-NLS-1$
		[] = "newarray"//$NON-NLS-1$
		[] = "anewarray"//$NON-NLS-1$
		[] = "arraylength"//$NON-NLS-1$
		[] = "athrow"//$NON-NLS-1$
		[] = "checkcast"//$NON-NLS-1$
		[] = "instanceof"//$NON-NLS-1$
		[] = "monitorenter"//$NON-NLS-1$
		[] = "monitorexit"//$NON-NLS-1$
		[] = "wide"//$NON-NLS-1$
		[] = "multianewarray"//$NON-NLS-1$
		[] = "ifnull"//$NON-NLS-1$
		[] = "ifnonnull"//$NON-NLS-1$
		[] = "goto_w"//$NON-NLS-1$
		[] = "jsr_w"//$NON-NLS-1$
		[] = "breakpoint"//$NON-NLS-1$
		[] = "impdep1"//$NON-NLS-1$
		[] = "impdep2"//$NON-NLS-1$
	}
New to GrepCode? Check out our FAQ X