org.webmacro
Class Flags

java.lang.Object
  |
  +--org.webmacro.Flags

public final class Flags
extends java.lang.Object

This class contains some static final settings which control the behavior of WebMacro at runtime. There are two ways you can take advantage of this class:

Note that if you insert the copy earlier in your classpath your JIT may be able to optimize out code that depends on the static final constants, but it will not be able to optimize in code that your compiler has already removed! So if you want to try the classpath trick, you probably need to compile the WebMacro sources with these constants set to "true" first.


Field Summary
static boolean DEBUG
          Use debug statements in performance critical code?
static boolean PROFILE
          Use in profiling statements in performance critical code?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
Use debug statements in performance critical code?

PROFILE

public static final boolean PROFILE
Use in profiling statements in performance critical code?