class AnnotFlag extends Flag
{
    private final COSDictionary annotDictionary;

    /**
     * Constructor
     * @param annotDictionary COSDictionary instance
     */
    AnnotFlag(COSDictionary annotDictionary)
    {
        this.annotDictionary = annotDictionary;
    }

    @Override
    String getFlagType()
    {
        return "Annot flag";
    }

    @Override
    String getFlagValue()
    {
        return "Flag value: " + annotDictionary.getInt(COSName.F);
    }

    @Override
    Object[][] getFlagBits()
    {<FILL_FUNCTION_BODY>}
}

        PDAnnotation annotation = new PDAnnotation(annotDictionary)
        {
        };
        return new Object[][]{
                new Object[]{1, "Invisible", annotation.isInvisible()},
                new Object[]{2, "Hidden", annotation.isHidden()},
                new Object[]{3, "Print", annotation.isPrinted()},
                new Object[]{4, "NoZoom", annotation.isNoZoom()},
                new Object[]{5, "NoRotate", annotation.isNoRotate()},
                new Object[]{6, "NoView", annotation.isNoView()},
                new Object[]{7, "ReadOnly", annotation.isReadOnly()},
                new Object[]{8, "Locked", annotation.isLocked()},
                new Object[]{9, "ToggleNoView", annotation.isToggleNoView()},
                new Object[]{10, "LockedContents", annotation.isLockedContents()}
        };
    
<no_super_class>