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

Method reinitialize

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

Rebuilds method, property and call-site state for this meta class.

()

Source from the content-addressed store, hash-verified

3661 * Rebuilds method, property and call-site state for this meta class.
3662 */
3663 protected synchronized void reinitialize() {
3664 fillMethodIndex();
3665 try {
3666 addProperties();
3667 } catch (Throwable t) {
3668 if (!AndroidSupport.isRunningAndroid()) {
3669 UncheckedThrow.rethrow(t);
3670 }
3671 // Introspection failure...
3672 // May happen in Android
3673 }
3674 setInitialized(true);
3675 }
3676
3677 private void addProperties() {
3678 BeanInfo info;

Callers 3

initializeMethod · 0.95
initializeMethod · 0.80
loadMetaInfoMethod · 0.80

Calls 5

fillMethodIndexMethod · 0.95
addPropertiesMethod · 0.95
isRunningAndroidMethod · 0.95
rethrowMethod · 0.95
setInitializedMethod · 0.95

Tested by

no test coverage detected