MCPcopy Create free account
hub / github.com/beanshell/beanshell / compare

Method compare

src/bsh/Reflect.java:64–69  ·  view source on GitHub ↗
(final Method a, final Method b)

Source from the content-addressed store, hash-verified

62 */
63 public static final Comparator<Method> METHOD_COMPARATOR = new Comparator<Method>() {
64 public int compare(final Method a, final Method b) {
65 final int scoreA = getVisibility(a);
66 final int scoreB = getVisibility(b);
67 return (scoreA < scoreB) ? -1 : ((scoreA == scoreB) ? 0 : 1);
68
69 }
70 };
71
72

Callers

nothing calls this directly

Calls 1

getVisibilityMethod · 0.95

Tested by

no test coverage detected