abstract class FilterOnAccessFlagsTypes extends CountPreservingFilter {
public void lateBindApplies( Class new_applies)
throws BindException
{
if ( ! AccessFlags.class.isAssignableFrom( new_applies))
throw new BindException( "Failed to bind: "+new_applies.getName()+". Does not implement AccessFlags");
if ( m_filter_class==null)
m_filter_class=new_applies;
else
if ( m_filter_class.isAssignableFrom( new_applies))
m_filter_class=new_applies;
else
throw new BindException( "Failed to bind: "+new_applies.getName()+". Not compatible with "+m_filter_class.getName());
}