MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / isBuiltInTool

Method isBuiltInTool

ij/src/main/java/ij/gui/Toolbar.java:1932–1942  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

1930 }
1931
1932 private boolean isBuiltInTool(String name) {
1933 for (int i=0; i<builtInTools2.length; i++) {
1934 if (name.equals(builtInTools2[i]))
1935 return true;
1936 }
1937 for (int i=0; i<builtInTools.length; i++) {
1938 if (name.startsWith(builtInTools[i]))
1939 return true;
1940 }
1941 return false;
1942 }
1943
1944 public static void removeMacroTools() {
1945 if (instance!=null) {

Callers 1

setPrefsMethod · 0.95

Calls 2

startsWithMethod · 0.80
equalsMethod · 0.45

Tested by

no test coverage detected