package jp.igapyon.jcfa;
+/* This source file is generated by JavaClassFileAnalyzer. */
+/* Do not modify this source file. */
public class JcfaVersionConstants {
- public static final String VERSION = "I201404030619";
+ public static final String VERSION = "I201404030627";
public static final String getVersion() {
return VERSION;
public static final String VERSION_FORMAT = "yyyyMMddHHmm";
+ /**
+ * Version constants updater.
+ *
+ * @param args
+ * @throws IOException
+ */
public static final void main(final String[] args) throws IOException {
- System.err.println("Update version source.");
+ System.err.println("JavaClassFileAnalyzer version constants updater.");
+ System.err
+ .println(" this program overwrite JcfaVersionConstants.java source file.");
final StringBuffer source = new StringBuffer();
- source.append("package jp.igapyon.jcfa;");
+ source.append("package jp.igapyon.jcfa;\n");
+ source.append("/* This source file is generated by JavaClassFileAnalyzer. */\n");
+ source.append("/* Do not modify this source file. */\n");
source.append("public class JcfaVersionConstants {");
source.append("public static final String VERSION = \""
+ VERSION_PREFIX
final TextEdit te = cf.format(CodeFormatter.K_COMPILATION_UNIT
| CodeFormatter.F_INCLUDE_COMMENTS, source, 0, source.length(),
0, null);
+ if (te == null) {
+ return source;
+ }
IDocument doc = new Document(source);
try {
te.apply(doc);