Can you expand on what you have in mind here? Are you talking about the
Boolean.parseBoolean("true")?I'm not sure about switch statements, the tableswitch opcode doesn't work with variable values, so that would have to be resolved at compile time anyway. On Tue, Feb 11, 2014 at 10:18 AM, Jake Wharton <[email protected]>wrote: > Can we bring back final constants in the generated R for library projects > using the same technique as BuildConfig.DEBUG? This would prevent javac > from inlining while allowing the use in switch statements, annotation > values, etc. > > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
