@@ -0,0 +1,951 @@
+package se.soy.gpg;%0A%0Apublic class GPG %7B%0A  // FIXME Remove when done%0A  static%3CT%3E void println(T arg) %7B System.out.println(arg); %7D%0A%0A  public static void main(String%5B%5D args) %7B%0A    println(%22main%22);%0A    GPG.encrypt().armor().recipient(%220xrecipient%22).output();%0A    /*%0A    GPG.encrypt().armor().recipient(%220xrecipient%22).output();%0A    GPG.decrypt().armor().local-user(%220xlocaluser%22).output(%22/tmp/a-file%22);%0A    GPG.sign().armor().();%0A    */%0A  %7D%0A  private boolean armor = false; %0A  private String recipient;%0A%0A  public void output() %7B%0A    println(%22OPTIONS:%22);%0A    println(String.format(%22armor?: %25s%22, (armor) ? %22true%22 : %22false%22));%0A    println(String.format(%22recipient?: %25s%22, recipient));%0A  %7D%0A%0A  public static GPG encrypt() %7B%0A    GPG gpg = new GPG();%0A    println(%22encrypt()%22);%0A    return gpg;%0A  %7D%0A%0A  public GPG armor() %7B%0A    this.armor = true;%0A    return this;%0A  %7D%0A%0A  public GPG recipient(String recipient) %7B%0A    this.recipient = recipient;%0A    return this;%0A  %7D%0A%7D%0A

Use a builder pattern, sort of