Created
November 15, 2013 11:21
-
-
Save christophe-dooapp/7482856 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.dooapp.template.builder; | |
import spoon.template.Local; | |
import spoon.template.Parameter; | |
import spoon.template.Template; | |
public class DefaultConstantTemplate implements Template { | |
public static final String DEFAULT__NAME__VALUE = "defaultValue._name_"; | |
@Parameter("_name_") | |
String __name_; | |
@Parameter("_NAME_") | |
String __NAME_; | |
@Local | |
public DefaultConstantTemplate(String name) { | |
__name_ = name; | |
__NAME_ = __name_.toUpperCase(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment