add javadoc and rename method for nullIfStaticOnlyAndNotStatic (now allowStaticAccessToMember)