1 package com.puppycrawl.tools.checkstyle.checks.blocks; 20 21 import com.puppycrawl.tools.checkstyle.checks.AbstractOption; 22 import java.util.HashMap ; 23 import java.util.Map ; 24 25 31 public final class LeftCurlyOption 32 extends AbstractOption 33 { 34 35 private static final Map STR_TO_OPT = new HashMap (); 36 37 45 public static final LeftCurlyOption EOL = new LeftCurlyOption("eol"); 46 47 69 public static final LeftCurlyOption NLOW = new LeftCurlyOption("nlow"); 70 71 80 public static final LeftCurlyOption NL = new LeftCurlyOption("nl"); 81 82 86 private LeftCurlyOption(String aStrRep) 87 { 88 super(aStrRep); 89 } 90 91 92 protected Map getStrToOpt() 93 { 94 return STR_TO_OPT; 95 } 96 } 97 | Popular Tags |