FORGE-735: make result of MethodImpl.getParameters() unmodifiable