pmd: fix #1063 False+: ArrayIsStoredDirectly
pmd: fix #794 False positive on PreserveStackTrace with anonymous inner