Skip to content

Commit

Permalink
HierarchicalASTVisitor update after JDT core API change
Browse files Browse the repository at this point in the history
Fixes test fail `HierarchicalASTVisitor must be updated to reflect a
change in the ASTNode hierarchy. No method visit(EitherOrMultiPattern)
was found in HierarchicalASTVisitor.`

See eclipse-jdt/eclipse.jdt.core#2011
  • Loading branch information
iloveeclipse committed Mar 5, 2024
1 parent 17f7523 commit b776827
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
20 changes: 10 additions & 10 deletions org.eclipse.jdt.core.manipulation/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ Automatic-Module-Name: org.eclipse.jdt.core.manipulation
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.jdt.core.manipulation; singleton:=true
Bundle-Version: 1.21.0.qualifier
Bundle-Version: 1.21.100.qualifier
Bundle-Vendor: %providerName
Bundle-Activator: org.eclipse.jdt.internal.core.manipulation.JavaManipulationPlugin
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.29.0,4.0.0)",
org.eclipse.core.resources;bundle-version="[3.5.0,4.0.0)",
org.eclipse.ltk.core.refactoring;bundle-version="[3.6.0,4.0.0)",
org.eclipse.jdt.core;bundle-version="[3.36.0,4.0.0)",
org.eclipse.core.expressions;bundle-version="[3.4.100,4.0.0)",
org.eclipse.text;bundle-version="[3.12.0,4.0.0)",
org.eclipse.jdt.launching;bundle-version="3.19.400",
org.eclipse.core.filesystem;bundle-version="1.7.200",
org.eclipse.core.filebuffers;bundle-version="3.6.300",
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.31.0,4.0.0)",
org.eclipse.core.resources;bundle-version="[3.20.0,4.0.0)",
org.eclipse.ltk.core.refactoring;bundle-version="[3.14.0,4.0.0)",
org.eclipse.jdt.core;bundle-version="[3.38.0,4.0.0)",
org.eclipse.core.expressions;bundle-version="[3.9.0,4.0.0)",
org.eclipse.text;bundle-version="[3.14.0,4.0.0)",
org.eclipse.jdt.launching;bundle-version="3.21.0",
org.eclipse.core.filesystem;bundle-version="1.10.0",
org.eclipse.core.filebuffers;bundle-version="3.8.0",
org.eclipse.search.core;bundle-version="3.16.0"
Bundle-ActivationPolicy: lazy
Export-Package: org.eclipse.jdt.core.manipulation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,16 @@ public void endVisit(Pattern node) {
endVisit((Expression)node);
}

@Override
public boolean visit(EitherOrMultiPattern node) {
return visit((Pattern) node);
}

@Override
public void endVisit(EitherOrMultiPattern node) {
endVisit((Pattern) node);
}

@Override
public boolean visit(ParenthesizedExpression node) {
return visit((Expression)node);
Expand Down

0 comments on commit b776827

Please sign in to comment.