Checks if a description is just a primitive. @param description @return
(String description)
| 184 | * @return |
| 185 | */ |
| 186 | private static boolean isPrimitive(String description) { |
| 187 | String x = asmTrim(description); |
| 188 | if (x.length() == 0) { |
| 189 | return true; |
| 190 | } else if (x.equals("Z") || x.equals("J") || x.equals("I") || x.equals("F") || x.equals("D") || x.equals("C") || x.equals("T") || x.equals("G")) { |
| 191 | return true; |
| 192 | } |
| 193 | return false; |
| 194 | } |
| 195 | |
| 196 | /** |
| 197 | * Checks if a given string is an IP address. |
no test coverage detected