Use the enclosingClass name to tag anonymous classes.