I have a java program with hundreds of configuration constants:
public static final String C1=\"C1\"; public static final String C2=\"C2\";
Sin
try
import static mynamespace.MyClassConstants.*;
then
myMethod( C1, C2 ); should work