JBBPParser { public int getFlags() { return this.flags; } private  JBBPParser(final String source, final JBBPBitOrder bitOrder, final JBBPCustomFieldTypeProcessor customFieldTypeProcessor, final int flags); static JBBPParser prepare(final String script, final JBBPBitOrder bitOrder); static JBBPParser prepare(final String script, final JBBPBitOrder bitOrder, final int flags); static JBBPParser prepare(final String script, final JBBPBitOrder bitOrder, final JBBPCustomFieldTypeProcessor customFieldTypeProcessor, final int flags); static JBBPParser prepare(final String script); static JBBPParser prepare(final String script, final JBBPCustomFieldTypeProcessor customFieldTypeProcessor); static JBBPParser prepare(final String script, final int flags); JBBPFieldStruct parse(final InputStream in); JBBPFieldStruct parse(final InputStream in, final JBBPVarFieldProcessor varFieldProcessor, final JBBPExternalValueProvider externalValueProvider); int getFlags(); JBBPFieldStruct parse(final byte[] array); JBBPFieldStruct parse(final byte[] array, final JBBPVarFieldProcessor varFieldProcessor, final JBBPExternalValueProvider externalValueProvider); long getFinalStreamByteCounter(); JBBPCompiledBlock getCompiledBlock(); List<ResultSrcItem> convertToSrc(final TargetSources target, final String name); static final int FLAG_SKIP_REMAINING_FIELDS_IF_EOF; static final int FLAG_NEGATIVE_EXPRESSION_RESULT_AS_ZERO; }
@Test public void testGetFlags() throws Exception { assertEquals(123, JBBPParser.prepare("byte;", 123).getFlags()); }