1 11 package org.eclipse.jdt.internal.corext.codemanipulation; 12 13 public class CodeGenerationSettings { 14 15 public boolean createComments= true; 16 public boolean useKeywordThis= false; 17 18 public String [] importOrder= new String [0]; 19 public int importThreshold= 99; 20 public int staticImportThreshold= 99; 21 public boolean importIgnoreLowercase= true; 22 public boolean overrideAnnotation= false; 23 24 public int tabWidth; 25 public int indentWidth; 26 27 28 29 public void setSettings(CodeGenerationSettings settings) { 30 settings.createComments= createComments; 31 settings.useKeywordThis= useKeywordThis; 32 settings.importOrder= importOrder; 33 settings.importThreshold= importThreshold; 34 settings.staticImportThreshold= staticImportThreshold; 35 settings.importIgnoreLowercase= importIgnoreLowercase; 36 settings.overrideAnnotation= overrideAnnotation; 37 settings.tabWidth= tabWidth; 38 settings.indentWidth= indentWidth; 39 } 40 41 42 } 43 44 | Popular Tags |