import java.util.HashMap;
import java.util.Map;

public class DMC_Sample {

    private static Map<String, Boolean> STUFF = new HashMap<>();
    
    static {
        STUFF.put("this", Boolean.TRUE);
        STUFF.put("that", Boolean.FALSE);
        STUFF.put("the",  Boolean.TRUE);
        STUFF.put("other", Boolean.FALSE);
        STUFF.put("thing", Boolean.TRUE);
    }
    
    public String getInfo(boolean v) {
        
        String data = "";
        
        for (Map.Entry<String, Boolean> e : STUFF.entrySet()) {
            if (e.getValue().booleanValue() == v) {
                data += e.getKey();
            }
        }
        
        return data;
    }
}

@@ -134,20 +134,206 @@
 ap%3C%3E();%0A
+%0A
     
+private static Map%3CString, String%3E flim = new HashMap%3C%3E();%0A    private static Map%3CString, String%3E flam = new HashMap%3C%3E();%0A    private static Map%3CString, String%3E flum = new HashMap%3C%3E();%0A
 %0A    sta
@@ -445,17 +445,16 @@
 t(%22the%22,
- 
  Boolean
@@ -552,21 +552,17 @@
 ;%0A    %7D%0A
-    
 %0A
+
     publ
@@ -592,25 +592,17 @@
 an v) %7B%0A
-        
 %0A
+
         
@@ -619,25 +619,17 @@
 a = %22%22;%0A
-        
 %0A
+
         
@@ -796,24 +796,16 @@
       %7D%0A
-        
 %0A       
@@ -823,11 +823,122 @@
 a;%0A    %7D
+%0A%0A    public static Map%3CString, String%3E fpTernaryGetMapField(boolean b) %7B%0A        return b ? flim : flam;%0A    %7D
 %0A%7D%0A

add DMC fp due to findbugs handling of ternaries as seen by GitHub issue #180