Skip to content

Instantly share code, notes, and snippets.

Last active December 28, 2015 09:59
What would you like to do?
package com.dooapp.template.builder;
import spoon.template.Local;
import spoon.template.Parameter;
import spoon.template.Template;
public class DefaultConstantTemplate implements Template {
static String _name_;
String __NAME_;
public static final String DEFAULT__NAME__VALUE = _name_;
public DefaultConstantTemplate(String name) {
_name_ = "defaultValue." + name;
__NAME_ = name.toUpperCase();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment