MCPcopy Create free account
hub / github.com/Chave0v0/API-Highlighter / checkAPIItemExist

Method checkAPIItemExist

src/main/java/com/chave/utils/Util.java:28–42  ·  view source on GitHub ↗
(APIItem o)

Source from the content-addressed store, hash-verified

26 }
27
28 public static boolean checkAPIItemExist(APIItem o) {
29 boolean isExist = false;
30
31 if (APIConfig.TARGET_API.isEmpty()) {
32 return isExist;
33 }
34
35 for (APIItem apiItem : APIConfig.TARGET_API) {
36 if (apiItem.equals(o)) {
37 isExist = true;
38 break;
39 }
40 }
41 return isExist;
42 }
43
44
45 public static void setHighlightColor(Object obj, String color) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {

Callers 1

actionPerformedMethod · 0.95

Calls 1

equalsMethod · 0.80

Tested by

no test coverage detected