CheckThread in Four Steps
STEP 1: Download and install the CheckThread Ant Task, Eclipse plug-in, or Intellij plug-in.
STEP 2: Include the checkthread-annotation.jar into your Java project. Add the CheckThread annotations to Java code
STEP 3: Build your Java code using your favorite IDE, Ant, or Javac directly.
STEP 4: Run CheckThread using the Ant Task or Eclipse Plug-in on your compiled Java class files. CheckThread will cross check annotations to ensure ThreadConfined annotations are not calling each other with different thread names.