code: private static String enclosingClassAndMemberNameToString(ClassTemplateSpec enclosingClass, String memberName)
    {
      final StringBuilder sb = new StringBuilder();
      if (memberName != null)
      {
        sb.append(" in ");
        sb.append(memberName);
      }
      if (enclosingClass != null)
      {
        sb.append(" in ");
        sb.append(enclosingClass.getFullName());
      }
      return sb.toString();
    }
docs: /*
  Generate human consumable representation of enclosing class and field name.