0

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.

neel
  • 8,399
  • 7
  • 36
  • 50
  • Read about the inner/nested classes http://docs.oracle.com/javase/tutorial/java/javaOO/nested.html – RP- Jul 18 '12 at 05:52

3 Answers3

4

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

Strelok
  • 50,229
  • 9
  • 102
  • 115
4

Because you defined an inner class called EclipseUtil in FileProvider.

JB Nizet
  • 678,734
  • 91
  • 1,224
  • 1,255
2

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

Pramod Kumar
  • 7,914
  • 5
  • 28
  • 37