bugfix with methods that have multiple modifiers

for example, method declarations that were "static public"
did not have the static flag set.