Unknown class file creation by Eclipse java
-
21-06-2021 - |
Question
Hi I am working on a java project. I am using eclipse as an IDE. I have a file FileProvider.java in the package com.ibm.wala.util.io. For this file Eclipse is making two class files FileProvider.class and FileProvider$EclipseUtil.class. Can someone tell me why Eclipse is creating second class file.
Solution
Because you defined an inner class called EclipseUtil
in FileProvider
.
OTHER TIPS
You have an inner class called EclipseUtil in your FileProvider class.
As your FileProvider.java has declared EclipseUtil as inner class.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow