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

Method initialize

src/main/java/groovy/lang/MetaClassImpl.java:3653–3658  ·  view source on GitHub ↗

Complete the initialisation process. After this method is called no methods should be added to the metaclass. Invocation of methods or access to fields/properties is forbidden unless this method is called. This method should contain any initialisation code, taking a longer time to complete. An examp

()

Source from the content-addressed store, hash-verified

3651 * method.
3652 */
3653 @Override
3654 public synchronized void initialize() {
3655 if (!isInitialized()) {
3656 reinitialize();
3657 }
3658 }
3659
3660 /**
3661 * Rebuilds method, property and call-site state for this meta class.

Callers 4

setNewMopMethodsMethod · 0.95
addNewMopMethodsMethod · 0.95

Calls 2

isInitializedMethod · 0.95
reinitializeMethod · 0.95

Tested by 1