title: What are some ways to implement developer specific optins in JAVA?
body: <p>Our team inherited a big project in a language we aren't great at.  We're pretty good about creating feature branches, but as things grow in complexity we would like to have developer specific options to turn on or off certain features.  We are all C# / .NET shop so we're not up to speed on the best way to do this in JAVA.</p>
  
  <p>I see Application Context, POM.XML and other files, but can someone show me a simple way to do something like...</p>
  
  <pre><code>if (DeveloperConfig.useDevWidget1) {
     // do dev / non ready for release stuff
  } else {
     // do old code we're trying to replace
  }
  </code></pre>
  
  <p>I'm sure this is easy but looking for best practices where each developer could turn on or off their options in their branch and then we turn things on or delete the old code after is passes QA checks.</p>
  
  <p>Thank you.</p>