I want to be able to store an array of every class in my project. Is there a simple way to do it so it looks like this?
Class<?>[] classes = SomeClass.getClasses();
Thanks.
EDIT: Here's the code for the main class.
package game_engine.main;
public abstract class Main {
    public static void main(String[]args){
        //do something
    }
    protected abstract void start(GameSettings settings);
}
 
     
     
    