Inner class file?
Does anyone know if there is any way that a Java compiler ( or any Java IDE ) could have generated what appears to be an inner class file without that inner class having been defined in the original source code? For example, I have a program that has a .class file called Main$ForecastSales among its files. But there is no inner class defined inside the file Main.java, which is among the files. And when I run:
javap -c -l Main$ForecastSales
The output generated starts with:
"Compiled from "Main.java"
public class Main$ForecastSales extends java.lang.Object"
I could be wrong, but this suggests that there was an inner class called ForecastSales defined, at some point in the program's development, inside Main.java.
I was wondering if anyone had any other suggestions as to how the Main$ForecastSales.class file could have been generated?