This is an automated email from the ASF dual-hosted git repository.
jlahoda pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git.
from 59adeac Merge pull request #975 from
junichi11/netbeans-1463-phpstan-memory-limit
add 051a005 Hint to convert ordinary switch to a rule switch
No new revisions were added by this update.
Summary of changes:
java/java.hints.test/apichanges.xml | 12 +
java/java.hints.test/nbproject/project.properties | 2 +-
.../modules/java/hints/test/api/HintTest.java | 46 +-
.../org/netbeans/modules/java/hints/TreeShims.java | 57 +++
.../java/hints/jdk/ConvertSwitchToRuleSwitch.java | 271 ++++++++++++
.../hints/jdk/ConvertSwitchToRuleSwitchTest.java | 471 +++++++++++++++++++++
java/java.source.base/apichanges.xml | 13 +
java/java.source.base/nbproject/project.properties | 2 +-
.../org/netbeans/api/java/source/TreeMaker.java | 24 ++
.../netbeans/modules/java/source/TreeShims.java | 57 +++
.../modules/java/source/builder/TreeFactory.java | 70 ++-
.../modules/java/source/parsing/JavacParser.java | 2 +
.../modules/java/source/pretty/VeryPretty.java | 31 +-
.../modules/java/source/save/CasualDiff.java | 96 ++++-
.../modules/java/source/save/EstimatorFactory.java | 7 +
.../java/source/save/PositionEstimator.java | 15 +
.../source/transform/ImmutableTreeTranslator.java | 37 +-
.../api/java/source/gen/GeneratorTestBase.java | 17 +-
.../java/source/gen/GeneratorTestMDRCompat.java | 3 +-
.../api/java/source/gen/MethodBodyTest.java | 2 +-
.../netbeans/api/java/source/gen/SwitchTest.java | 392 +++++++++++++++++
21 files changed, 1569 insertions(+), 58 deletions(-)
create mode 100644
java/java.hints/src/org/netbeans/modules/java/hints/TreeShims.java
create mode 100644
java/java.hints/src/org/netbeans/modules/java/hints/jdk/ConvertSwitchToRuleSwitch.java
create mode 100644
java/java.hints/test/unit/src/org/netbeans/modules/java/hints/jdk/ConvertSwitchToRuleSwitchTest.java
create mode 100644
java/java.source.base/src/org/netbeans/modules/java/source/TreeShims.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists