public @Nullable TemplateContextType getBaseContextType() {
    if (myBaseContextType != null) {
      try {
        return myBaseContextType.getValue();
      }
      catch (LiveTemplateContextNotFoundException e) {
        Logger.getInstance(TemplateContextType.class)
          .error("Error in liveTemplateContext with ID '" + myContextId + "', base liveTemplateContext is not registered plugin.xml", e);
        // looks like broken plugin, fallback to any context parent
        return LiveTemplateContextService.getInstance().getTemplateContextType(EverywhereContextType.class);
      }
    }

    return null;
  }
public @Nullable TemplateContextType getBaseContextType()