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

Method lock

src/main/java/org/codehaus/groovy/reflection/ClassInfo.java:498–500  ·  view source on GitHub ↗

Acquires a lock for this class information. Used to synchronize modifications to metaclass and per-instance metaclass maps.

()

Source from the content-addressed store, hash-verified

496 * Used to synchronize modifications to metaclass and per-instance metaclass maps.
497 */
498 public void lock () {
499 lock.lock();
500 }
501
502 /**
503 * Releases the lock for this class information.

Callers 15

getMetaClassMethod · 0.95
setMetaClassMethod · 0.95
iteratorMethod · 0.45
toListMethod · 0.45
streamMethod · 0.45
isReusableMethod · 0.45
makeReusableMethod · 0.45
initializeMethod · 0.45
isInitializedMethod · 0.45
checkInitalisedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected