If you find yourself wanting to write something like the following:
foo();
if ( "magic value".equals( System.getProperty( "blah" ) ) )
{
bar();
}
then you should place the metadata information here instead and rewrite your code to like this:
foo();
if ( !EnvironmentCapabilities.getInstance().isVSyncSwitchingAllowed() )
{
bar();
}