// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) deadcode 
// Source File Name:   ModifierFilter.java

package com.sun.tools.javadoc;

import com.sun.tools.javac.v8.code.Flags;

public class ModifierFilter
    implements Flags
{

    public boolean checkModifier(int i)
    {
        long l = (i & 7) != 0 ? i : (long)i | 0x8000000000000000L;
        return (oneOf == 0L || (oneOf & l) != 0L) && (must & l) == must && (cannot & l) == 0L;
    }

    public ModifierFilter(long l)
    {
        ModifierFilter(l, 0L, 0L);
    }

    public ModifierFilter(long l, long l1, long l2)
    {
        oneOf = l;
        must = l1;
        cannot = l2;
    }

    public static final long PACKAGE = 0x8000000000000000L;
    public static final long ALL_ACCESS = 0x8000000000000007L;
    private long oneOf;
    private long must;
    private long cannot;
    private static final int ACCESS_BITS = 7;
}
