MCPcopy Index your code
hub / github.com/apache/groovy / getMopName

Method getMopName

src/main/java/groovy/lang/MetaMethod.java:269–274  ·  view source on GitHub ↗

Returns the method name used by Groovy's MOP bridge methods. @return the synthetic MOP method name

()

Source from the content-addressed store, hash-verified

267 * @return the synthetic MOP method name
268 */
269 public String getMopName() {
270 if (mopName == null) {
271 mopName = (isPrivate() ? "this" : "super") + '$' + getDeclaringClass().getSuperClassDistance() + '$' + getName();
272 }
273 return mopName;
274 }
275
276 /**
277 * Invokes this method.

Callers 1

mopArrayIndexMethod · 0.80

Calls 4

getDeclaringClassMethod · 0.95
getNameMethod · 0.95
getSuperClassDistanceMethod · 0.80
isPrivateMethod · 0.65

Tested by

no test coverage detected