Examples of StackElementLength


Examples of bytecodeparser.analysis.stack.Stack.StackElementLength

        }
      }
    }
    this.pops = pops;
    returnType = Descriptor.getReturnType(descriptor, cp);
    StackElementLength returnTypeLength = ONE;
    if(returnType.isPrimitive()) {
      char d = ((CtPrimitiveType) returnType).getDescriptor();
      if(d == 'V') {
        returnTypeLength = null;
      }
View Full Code Here

Examples of bytecodeparser.analysis.stack.Stack.StackElementLength

  protected StackElementLength stackElementLength;
 
  public DecodedFieldOp(FieldOpcode fo, Context context, int index) {
    super(fo, context, index);
    String descriptor = context.behavior.getMethodInfo().getConstPool().getFieldrefType(getMethodRefIndex());
    StackElementLength sel = ONE;
    if(Descriptor.dataSize(descriptor) == 2)
      sel = DOUBLE;
    this.stackElementLength = sel;
    this.descriptor = descriptor;
    this.load = fo.getCode() == Opcode.GETFIELD || fo.getCode() == Opcode.GETSTATIC;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.