(String orig, String check)
| 115 | } |
| 116 | |
| 117 | public static boolean contains(String orig, String check) { |
| 118 | if (orig.contains(check)) { |
| 119 | String regex = "([L]" + check.replace("/", "\\/") + "{1}[;])"; |
| 120 | if (orig.contains("(") && orig.contains(";")) { |
| 121 | return orig.matches(regex); |
| 122 | } else if (orig.startsWith("L") && orig.endsWith(";") && orig.substring(1, orig.length() - 1).equals(check)) { |
| 123 | return true; |
| 124 | } else if (orig.equals(check)) { |
| 125 | return true; |
| 126 | } |
| 127 | } |
| 128 | return false; |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Gets a MappedClass in renamemap from a class's description |
no test coverage detected