Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The JDK internal class JCImport has changed recently. In JDK 17, the method was defined as: public JCTree getQualifiedIdentifier() { return qualid; } and in JDK 21: public JCFieldAccess getQualifiedIdentifier() { return qualid; } One possibility to fix that would be to fix the getSimpleName() method to use an argument of type com.sun.source.tree.ImportTree and call the getQualifiedIdentifier() method which returns a com.sun.source.tree.Tree and has not changed.
- Loading branch information