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 81546ec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion org.eclipse.jdt.core.manipulation/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ 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
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 81546ec

Please sign in to comment.