BZ-1068844 - Useless Operation On Immutable Classes called in DocumentationHandler and ValueHandler

(cherry picked from commit f7b574fc78bf331b1e39a42b386281d855f11871)
BZ-980832 - jBPM validator ignores a missing name attribute on the interface element

(cherry picked from commit 9fd50f7702c3e3269f9148feec0513d246b8e214)