In .net there is a code command available to conditionally compile the code. .Net Directive Example.
Is there an equivalent in java or netbeans to achieve this same a