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.

有帮助吗?

解决方案

Because you defined an inner class called EclipseUtil in FileProvider.

其他提示

You have an inner class called EclipseUtil in your FileProvider class.

As your FileProvider.java has declared EclipseUtil as inner class.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top