OSDN Git Service

コメント量を減らすパラメータを渡す処理実装
[coroid/inqubus.git] / frontend / src / saccubus / converter / filegetter / FileInstanciator.java
index b1750d3..be72e73 100644 (file)
@@ -172,11 +172,14 @@ public class FileInstanciator {
 
         private final boolean autoCommentNum;
         private final int backComment;
+        private final boolean reduceComment;
 
-        public CommentInstanciationType(InputFileSetting fileSetting, boolean autoCommentNum, int backComment) {
+        public CommentInstanciationType(InputFileSetting fileSetting, boolean autoCommentNum, int backComment,
+                boolean reduceComment) {
             super(fileSetting);
             this.autoCommentNum = autoCommentNum;
             this.backComment = backComment;
+            this.reduceComment = reduceComment;
         }
 
         public boolean isAutoCommentNum() {
@@ -186,5 +189,9 @@ public class FileInstanciator {
         public int getBackComment() {
             return backComment;
         }
+
+        boolean isReduceComment() {
+            return reduceComment;
+        }
     }
 }