WrapType (final int type) { if (type == CommonCodeStyleSettings.DO_NOT_WRAP) return WrapType.NONE; if (type == CommonCodeStyleSettings.WRAP_ALWAYS) return WrapType.ALWAYS; if (type == CommonCodeStyleSettings.WRAP_AS_NEEDED) return WrapType.NORMAL; return WrapType.CHOP_DOWN_IF_LONG; }