Skip to content

Instantly share code, notes, and snippets.

@esammer
Created September 13, 2012 18:11
Show Gist options
  • Save esammer/3716323 to your computer and use it in GitHub Desktop.
Save esammer/3716323 to your computer and use it in GitHub Desktop.
Eclipse template for generating fluent (builder) methods.
public ${enclosing_type} ${name:field}(${type:elemType(name)} ${name}) {
this.${name} = ${name};
return this;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment