1 package com.puppycrawl.tools.checkstyle.checks.whitespace; 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 OperatorWrapOption 32 extends AbstractOption 33 { 34 35 private static final Map STR_TO_OPT = new HashMap (); 36 37 38 public static final OperatorWrapOption NL = new OperatorWrapOption("nl"); 39 40 public static final OperatorWrapOption EOL = new OperatorWrapOption("eol"); 41 42 47 private OperatorWrapOption(String aStrRep) 48 { 49 super(aStrRep); 50 } 51 52 53 protected Map getStrToOpt() 54 { 55 return STR_TO_OPT; 56 } 57 } 58 | Popular Tags |