Java solution for C++ style compiler directive
<p>I have a Java array:</p>

<pre><code>    String[] myArray = {"1", "2"};
</code></pre>

<p>Depending on a condition that is known at compile time I would like to assign different values:</p>

<pre><code>    String[] myArray = {"A", "B", "C"};
</code></pre>

<p>In C++ I would use something like </p>

<pre><code>#ifdef ABC
  // ABC stuff here
#else
  // 123 stuff here
#endif
</code></pre>

<p>but what to do in Java?</p>
