MCPcopy Index your code
hub / github.com/clojure/clojure / getMethod

Method getMethod

src/jvm/clojure/asm/commons/Method.java:95–97  ·  view source on GitHub ↗

Creates a new Method. @param method a java.lang.reflect method descriptor @return a Method corresponding to the given Java method declaration.

(final java.lang.reflect.Method method)

Source from the content-addressed store, hash-verified

93 * @return a {@link Method} corresponding to the given Java method declaration.
94 */
95 public static Method getMethod(final java.lang.reflect.Method method) {
96 return new Method(method.getName(), Type.getMethodDescriptor(method));
97 }
98
99 /**
100 * Creates a new {@link Method}.

Callers 15

CompilerClass · 0.95
DefExprClass · 0.95
VarExprClass · 0.95
ImportExprClass · 0.95
HostExprClass · 0.95
emitBoxReturnMethod · 0.95
emitUnboxArgMethod · 0.95
InstanceFieldExprClass · 0.95
emitTypedArgsMethod · 0.95
InstanceMethodExprClass · 0.95
StaticMethodExprClass · 0.95
NewExprClass · 0.95

Calls 7

getMethodDescriptorMethod · 0.95
getDescriptorMethod · 0.95
appendMethod · 0.80
getNameMethod · 0.65
indexOfMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected