public int findFieldOffsetForPath ( final String fieldPath ) { for ( final JBBPNamedFieldInfo f : this . namedFieldData ) { if ( f . getFieldPath ( ) . equals ( fieldPath ) ) { return f . getFieldOffsetInCompiledBlock ( ) ; } } throw new JBBPIllegalArgumentException ( "Unknown field path [" + fieldPath + ' ' ) ; }
Find offset of a field in the compiled block for its field path .