final Set<BranchEnd> prefixHandleSpace = new LinkedHashSet<BranchEnd>(); final Set<BranchEnd> badPrefixHandleSpace = new LinkedHashSet<BranchEnd>(); if (stateMachine.isHeader()) { c.iconst(':'); prefixHandleSpace.add(c.ifIcmpeq()); c.iload(STATE_POS_VAR); c.invokespecial(HTTP_STRING_CLASS, "<init>", "([BII)V"); stateMachine.handleOtherToken(c); stateMachine.handleStateMachineMatchedToken(c); if (stateMachine.isHeader()) { c.iconst(':'); nostateHandleSpace.add(c.ifIcmpeq()); c.swap(); c.invokespecial(HTTP_STRING_CLASS, "<init>", "(Ljava/lang/String;)V"); stateMachine.handleOtherToken(c);
c.dup(); if (stateMachine.isHeader()) { c.iconst(':'); tokenEnds.add(c.ifIcmpeq()); stateMachine.handleStateMachineMatchedToken(c); if (stateMachine.initialNewlineMeansRequestDone()) { c.iconst('\n'); parseDone = c.ifIcmpeq();
private void tokenDone(final CodeAttribute c, final CodeLocation returnCode, final CustomStateMachine stateMachine) { stateMachine.updateParseState(c); c.gotoInstruction(returnCode); }