for (ASModifier modifier : modifiers)
{
// native on a variable generates a different error
if (modifier == ASModifier.NATIVE)
{
currentScope.addProblem(new NativeVariableProblem(site));
}
else if( modifier == ASModifier.DYNAMIC )
{
currentScope.addProblem(new DynamicNotOnClassProblem(site));
}