Quote:
1. How can I switch them off in inherited classes?
Only by commenting the annotation line.
Quote:
2. Maybe I am wrong, but can I set @Configurable somehow in an if(showThisConfig) { @Configurable ... } , so I can switch it on or off when I need it?
Unfortunately annotations don't work that way.
You might consider saving your base class' parameters into a property file:
https://www2.dukascopy.com/swiss/english ... =7&t=30090Or reading base class' parameters from inherited classes by using reflection:
viewtopic.php?f=61&t=35239&p=45495&hilit=annotation#p45495