> Hello everyone,
>
> I was wondering if it is possible to add compiler
> switches in java code. If so, how can i do it?
Do you mean command line options?
Otherwise, the compiler is now open source, so I suppose you could get armpit-deep in Java compiler code and add your own compiler switches.
basically what i want is to have some options in the code that i can compile/ or not. Basically i m now in the process of developing the skeleton code and i want to print out each time something is called with its parameters to see if everything conforms to the design sequence diagrams. But when the product is finished, i want to be able to compile out these system outs.
Hope i made it clear....