Methods Summary |
---|
public final java.lang.String | argTypes()Return the type descriptor for the stack arguments to the operation.
return stackArgTypes;
|
private static void | check()Check that each entry in the ops array has a valid VMOp entry//NOI18N
for (int i=0; i<=opc_jsr_w; i++) {
VMOp op = ops[i];
if (op == null)
throw new InsnError ("null VMOp for " + i);//NOI18N
if (op.opcode() != i)
throw new InsnError ("bad opcode for " + i);//NOI18N
if (1 == 0) {
/* check arg/result data */
checkTypes(op.argTypes(), op.nStackArgs(), op);
checkTypes(op.resultTypes(), op.nStackResults(), op);
}
}
|
private static void | checkTypes(java.lang.String types, int n, com.sun.jdo.api.persistence.enhancer.classfile.VMOp op)
for (int i=0; i<types.length(); i++) {
char c = types.charAt(i);
if (c == '?")
return;
if (c == 'J" || c == 'X" || c == 'D")
n -= 2;
else
n -= 1;
}
if (n != 0)
throw new InsnError ("Bad arg/result for VMOp " + op.opcodeName);//NOI18N
|
public final int | nStackArgs()Return the number of words of stack arguments expected by this operation.
If the number is not a fixed value, return -1;
return stackArgs;
|
public final int | nStackResults()Return the number of words of stack results produced by this operation.
If the number is not a fixed value, return -1;
return stackResults;
|
public final java.lang.String | name()Return the opcode name
return opcodeName;
|
public final int | opcode()Return the opcode value
return opcodeValue;
|
public final java.lang.String | resultTypes()Return the type descriptor for the stack results of the operation.
return stackResultTypes;
|