public void visitAnyStackMapFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrame stackMapFrame) { // Write the stack map frame tag. dataOutput.writeByte(stackMapFrame.getTag()); // Write the actual body. stackMapFrame.accept(clazz, method, codeAttribute, offset, stackMapFrameBodyWriter); }
public boolean equals(Object object) { if (!super.equals(object)) { return false; } LessZeroFrame other = (LessZeroFrame)object; return this.u2offsetDelta == other.u2offsetDelta && this.choppedVariablesCount != other.choppedVariablesCount; }
/** * Applies the given stack map frame visitor to all stack map frames. */ public void stackMapFramesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapFrameVisitor stackMapFrameVisitor) { int offset = 0; for (int index = 0; index < u2stackMapFramesCount; index++) { StackMapFrame stackMapFrame = stackMapFrames[index]; // Note that the byte code offset is computed differently for the // first stack map frame. offset += stackMapFrame.getOffsetDelta() + (index == 0 ? 0 : 1); stackMapFrame.accept(clazz, method, codeAttribute, offset, stackMapFrameVisitor); } } }
public String toString() { return super.toString()+"Var: (chopped "+choppedVariablesCount+"), Stack: (empty)"; } }
public int hashCode() { return super.hashCode() ^ choppedVariablesCount; }
public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapTableAttribute stackMapTableAttribute) { // Read the stack map frames. stackMapTableAttribute.u2stackMapFramesCount = dataInput.readUnsignedShort(); stackMapTableAttribute.stackMapFrames = new StackMapFrame[stackMapTableAttribute.u2stackMapFramesCount]; for (int index = 0; index < stackMapTableAttribute.u2stackMapFramesCount; index++) { StackMapFrame stackMapFrame = createStackMapFrame(); stackMapFrame.accept(clazz, method, codeAttribute, 0, this); stackMapTableAttribute.stackMapFrames[index] = stackMapFrame; } }
public String toString() { return super.toString()+"Var: ..., Stack: (empty)"; } }
public int hashCode() { return super.hashCode() ^ choppedVariablesCount; }
public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapTableAttribute stackMapTableAttribute) { // Read the stack map frames. stackMapTableAttribute.u2stackMapFramesCount = dataInput.readUnsignedShort(); stackMapTableAttribute.stackMapFrames = new StackMapFrame[stackMapTableAttribute.u2stackMapFramesCount]; for (int index = 0; index < stackMapTableAttribute.u2stackMapFramesCount; index++) { StackMapFrame stackMapFrame = createStackMapFrame(); stackMapFrame.accept(clazz, method, codeAttribute, 0, this); stackMapTableAttribute.stackMapFrames[index] = stackMapFrame; } }
public String toString() { return super.toString()+"Var: (chopped "+choppedVariablesCount+"), Stack: (empty)"; } }
public boolean equals(Object object) { if (!super.equals(object)) { return false; } LessZeroFrame other = (LessZeroFrame)object; return this.u2offsetDelta == other.u2offsetDelta && this.choppedVariablesCount != other.choppedVariablesCount; }
public void visitAnyStackMapFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrame stackMapFrame) { // Write the stack map frame tag. dataOutput.writeByte(stackMapFrame.getTag()); // Write the actual body. stackMapFrame.accept(clazz, method, codeAttribute, offset, stackMapFrameBodyWriter); }
public int hashCode() { return super.hashCode() ^ choppedVariablesCount; }
/** * Applies the given stack map frame visitor to all stack map frames. */ public void stackMapFramesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapFrameVisitor stackMapFrameVisitor) { int offset = 0; for (int index = 0; index < u2stackMapFramesCount; index++) { StackMapFrame stackMapFrame = stackMapFrames[index]; // Note that the byte code offset is computed differently for the // first stack map frame. offset += stackMapFrame.getOffsetDelta() + (index == 0 ? 0 : 1); stackMapFrame.accept(clazz, method, codeAttribute, offset, stackMapFrameVisitor); } } }
public void visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapTableAttribute stackMapTableAttribute) { // Read the stack map frames. stackMapTableAttribute.u2stackMapFramesCount = dataInput.readUnsignedShort(); stackMapTableAttribute.stackMapFrames = new StackMapFrame[stackMapTableAttribute.u2stackMapFramesCount]; for (int index = 0; index < stackMapTableAttribute.u2stackMapFramesCount; index++) { StackMapFrame stackMapFrame = createStackMapFrame(); stackMapFrame.accept(clazz, method, codeAttribute, 0, this); stackMapTableAttribute.stackMapFrames[index] = stackMapFrame; } }
public String toString() { return super.toString()+"Var: ..., Stack: (empty)"; } }
public boolean equals(Object object) { if (!super.equals(object)) { return false; } LessZeroFrame other = (LessZeroFrame)object; return this.u2offsetDelta == other.u2offsetDelta && this.choppedVariablesCount != other.choppedVariablesCount; }
public void visitAnyStackMapFrame(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrame stackMapFrame) { // Write the stack map frame tag. dataOutput.writeByte(stackMapFrame.getTag()); // Write the actual body. stackMapFrame.accept(clazz, method, codeAttribute, offset, stackMapFrameBodyWriter); }
public int hashCode() { return super.hashCode() ^ choppedVariablesCount; }
/** * Applies the given stack map frame visitor to all stack map frames. */ public void stackMapFramesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapFrameVisitor stackMapFrameVisitor) { int offset = 0; for (int index = 0; index < u2stackMapFramesCount; index++) { StackMapFrame stackMapFrame = stackMapFrames[index]; // Note that the byte code offset is computed differently for the // first stack map frame. offset += stackMapFrame.getOffsetDelta() + (index == 0 ? 0 : 1); stackMapFrame.accept(clazz, method, codeAttribute, offset, stackMapFrameVisitor); } } }