I have a problem with reflections. I have a class that extends another class called ClassModel:
package net.gd.globalwars.commands;
public class Country extends CommandModel { }
And as you can see it is in package "net.gd.globalwars.commands" Now I am using a new reflection object to find all classes that extend CommandModel and print the count, but the count is 0.
Reflections commands = new Reflections("net.gd.globalwars.commands");
System.err.println(commands.getSubTypesOf(CommandModel.class).size());
Thanks in advance!