SONARJAVA-796 Disallowed methods should not be used