Skip to content

Commit

Permalink
Adjust to API change
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Stryker <[email protected]>
  • Loading branch information
Rob Stryker committed Jun 11, 2024
1 parent 0223aa7 commit 93b493b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
import org.eclipse.jdt.core.dom.JavacEnhancementPackagePrivateUtility.InternalNameEnvironmentWithProgress;
import org.eclipse.jdt.core.dom.Javadoc;
import org.eclipse.jdt.core.dom.MethodDeclaration;
import org.eclipse.jdt.core.dom.NodeSearcher;
import org.eclipse.jdt.core.dom.RecordDeclaration;
import org.eclipse.jdt.core.dom.SingleVariableDeclaration;
import org.eclipse.jdt.core.dom.TypeDeclaration;
Expand Down Expand Up @@ -366,8 +365,9 @@ private void resolveBindings(CompilationUnit unit, String[] bindingKeys, ASTRequ
@Override
public CompilationUnit toCompilationUnit(org.eclipse.jdt.internal.compiler.env.ICompilationUnit sourceUnit,
boolean initialNeedsToResolveBinding, IJavaProject project, List<Classpath> classpaths,
NodeSearcher nodeSearcher, int apiLevel, Map<String, String> compilerOptions,
int focalPosition, int apiLevel, Map<String, String> compilerOptions,
WorkingCopyOwner workingCopyOwner, WorkingCopyOwner typeRootWorkingCopyOwner, int flags, IProgressMonitor monitor) {

// TODO currently only parse
CompilationUnit res = parse(new org.eclipse.jdt.internal.compiler.env.ICompilationUnit[] { sourceUnit},
apiLevel, compilerOptions, flags, project, monitor).get(sourceUnit);
Expand Down

0 comments on commit 93b493b

Please sign in to comment.