You cannot say that 2500 lines of code is too much for one class.
You can say that the class that is used for 10 different actions is pretty monolithic. Some people say that each class should have only one functionality. These people read "10" as binary ...
Now, if you don’t see the possibility of splitting your class in half, perhaps start by separating the smaller functional parts instead. This way you can get a better idea of what is really important for the functionality of your classes.
Start by looking at your methods: if your class has several methods that basically relate to the same area (for example, XML-I / O or something like the Play / Pause / Stop / Reset function), you can create a subclass for them.
If all your methods are on the same level with each other (i.e., the opposite is higher), I would say that your class is not too big.
The most important thing, however, is that you do not lose orientation in your code. Try structuring your class and ordering your methods as it seems best. And do not forget to comment on this order so that you get into it again ...
source share