code: public void reset() {
          javaByteCode = null;
          enhancedByteCode = null;
          javaSource = null;
          templateInstance = null;
          for (TemplateClass tc : embeddedClasses) {
              tc.reset();
              engine().classes().remove(tc);
          }
          embeddedClasses.clear();
          engine().classCache().deleteCache(this);
          engine().invalidate(this);
          javaClass = null;
      }
docs: Remove all java source/ byte code and cache