/**
* Undocumented constructor. Do not use; internal-use only.
*/
- Cast(int pos, CodeIterator i, CtClass declaring, MethodInfo m) {
+ protected Cast(int pos, CodeIterator i, CtClass declaring, MethodInfo m) {
super(pos, i, declaring, m);
}
thisMethod = m;
}
- final ConstPool getConstPool() {
+ protected final ConstPool getConstPool() {
return thisMethod.getConstPool();
}
- final boolean edited() { return edited; }
+ protected final boolean edited() { return edited; }
- final int locals() { return maxLocals; }
+ protected final int locals() { return maxLocals; }
- final int stack() { return maxStack; }
+ protected final int stack() { return maxStack; }
/**
* Returns true if this method is static.
*/
- final boolean withinStatic() {
+ protected final boolean withinStatic() {
return (thisMethod.getAccessFlags() & AccessFlag.STATIC) != 0;
}
public class FieldAccess extends Expr {
int opcode;
- FieldAccess(int pos, CodeIterator i, CtClass declaring, MethodInfo m,
- int op) {
+ protected FieldAccess(int pos, CodeIterator i, CtClass declaring,
+ MethodInfo m, int op) {
super(pos, i, declaring, m);
opcode = op;
}
/**
* Undocumented constructor. Do not use; internal-use only.
*/
- Handler(ExceptionTable et, int nth,
- CodeIterator it, CtClass declaring, MethodInfo m) {
+ protected Handler(ExceptionTable et, int nth,
+ CodeIterator it, CtClass declaring, MethodInfo m) {
super(et.handlerPc(nth), it, declaring, m);
etable = et;
index = nth;
/**
* Undocumented constructor. Do not use; internal-use only.
*/
- Instanceof(int pos, CodeIterator i, CtClass declaring, MethodInfo m) {
+ protected Instanceof(int pos, CodeIterator i, CtClass declaring,
+ MethodInfo m) {
super(pos, i, declaring, m);
}
/**
* Undocumented constructor. Do not use; internal-use only.
*/
- MethodCall(int pos, CodeIterator i, CtClass declaring, MethodInfo m) {
+ protected MethodCall(int pos, CodeIterator i, CtClass declaring,
+ MethodInfo m) {
super(pos, i, declaring, m);
}
public class NewArray extends Expr {
int opcode;
- NewArray(int pos, CodeIterator i, CtClass declaring, MethodInfo m,
- int op) {
+ protected NewArray(int pos, CodeIterator i, CtClass declaring,
+ MethodInfo m, int op) {
super(pos, i, declaring, m);
opcode = op;
}
/**
* Undocumented constructor. Do not use; internal-use only.
*/
- NewExpr(int pos, CodeIterator i, CtClass declaring, MethodInfo m,
- String type, int np)
- {
+ protected NewExpr(int pos, CodeIterator i, CtClass declaring,
+ MethodInfo m, String type, int np) {
super(pos, i, declaring, m);
newTypeName = type;
newPos = np;