openclover / clover

This repository contains source code of OpenClover Core as well as its integrations: Clover-for-Ant, Clover-for-Eclipse and Clover-for-IDEA plugins. Sources are licensed under Apache 2.0 license.
Other
57 stars 14 forks source link

OC-237: the instanceof pattern matching allows to make the variable final #238

Closed marek-parfianowicz closed 5 months ago

marek-parfianowicz commented 5 months ago

... so the final keywords is allowed before type name; modified java.g to allow it; also modified InstanceOfStateDetector to ensure that the variant with the final keyword will not get branch instrumentation