Mirror of the JODE repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jode/jode/jode/expr/MonitorEnterOperator.java

21 lines
476 B

package jode;
import sun.tools.java.Type;
public class MonitorEnterOperator extends SimpleOperator {
public MonitorEnterOperator(int a, int l) {
super(a,l, Type.tVoid, 0, 1);
operandTypes[0] = Type.tObject;
}
public int getPriority() {
return 0;
}
public int getOperandPriority(int i) {
return 0;
}
public String toString(CodeAnalyzer ca, String[] operands) {
return "monitorenter "+operands[0];
}
}