private CharSequence generatePrimitivePropertyEncodeMethods(
        final String containingClassName,
        final String propertyName,
        final CharSequence accessOrderListenerCall,
        final Token typeToken,
        final String indent)
    {
        return typeToken.matchOnLength(
            () -> generatePrimitivePropertyEncode(
                containingClassName, propertyName, accessOrderListenerCall, typeToken, indent),
            () -> generatePrimitiveArrayPropertyEncode(
                containingClassName, propertyName, accessOrderListenerCall, typeToken, indent));
    }
\n" +
                "     * Field presence indication. Can be optional, required, or constant.\n" +
                "
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java