code: protected void generateMethod(SourceWriter sourceWriter, TreeLogger logger, GeneratorContext context,
        JMethod method) {
  
      generateSourcePublicMethodDeclaration(sourceWriter, method);
      generateMethodBody(sourceWriter, logger, context, method);
      generateSourceCloseBlock(sourceWriter);
    }
docs: Generates an implementation of an {@link NlsBundle}-method.
  
  @param sourceWriter is the {@link SourceWriter}.
  @param logger is the {@link TreeLogger}.
  @param context is the {@link GeneratorContext}.
  @param method is the {@link NlsBundle}-method to generate an implementation for.