zhengruifeng commented on PR #48391:
URL: https://github.com/apache/spark/pull/48391#issuecomment-2418737719
Decompiling with `cfr-decompiler` generates:
```
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* scala.Function0
* scala.reflect.ScalaSignature
*/
package org.apache.spark.util;
import java.io.Serializable;
import scala.Function0;
import scala.reflect.ScalaSignature;
@ScalaSignature(bytes="\u0006\u0005}2Q!\u0002\u0004\u0001\u00119A\u0001b\t\u0001\u0003\u0002\u0013\u0006I\u0001\n\u0005\u0006e\u0001!\ta\r\u0005\to\u0001A)\u0019)C\u0005q!)Q\b\u0001C\u0001}\tiAK]1og&,g\u000e\u001e'bufT!a\u0002\u0005\u0002\tU$\u0018\u000e\u001c\u0006\u0003\u0013)\tQa\u001d9be.T!a\u0003\u0007\u0002\r\u0005\u0004\u0018m\u00195f\u0015\u0005i\u0011aA8sOV\u0011q\"K\n\u0004\u0001A1\u0002CA\t\u0015\u001b\u0005\u0011\"\"A\n\u0002\u000bM\u001c\u0017\r\\1\n\u0005U\u0011\"AB!osJ+g\r\u0005\u0002\u0018A9\u0011\u0001D\b\b\u00033ui\u0011A\u0007\u0006\u00037q\ta\u0001\u0010:p_Rt4\u0001A\u0005\u0002'%\u0011qDE\u0001\ba\u0006\u001c7.Y4f\u0013\t\t#E\u0001\u0007TKJL\u0017\r\\5{C\ndWM\u0003\u0002
%\u0005Y\u0011N\\5uS\u0006d\u0017N_3s!\r\tReJ\u0005\u0003MI\u0011\u0001\u0002\u00102z]\u0006lWM\u0010\t\u0003Q%b\u0001\u0001B\u0003+\u0001\t\u00071FA\u0001U#\tas\u0006\u0005\u0002\u0012[%\u0011aF\u0005\u0002\b\u001d>$\b.\u001b8h!\t\t\u0002'\u0003\u00022%\t\u0019\u0011I\\=\u0002\rqJg.\u001b;?)\
t!d\u0007E\u00026\u0001\u001dj\u0011A\u0002\u0005\u0007G\t!\t\u0019\u0001\u0013\u0002\u000bY\fG.^3\u0016\u0003\u001dB#a\u0001\u001e\u0011\u0005EY\u0014B\u0001\u001f\u0013\u0005%!(/\u00198tS\u0016tG/A\u0003baBd\u0017\u0010F\u0001(\u0001")
public class TransientLazy<T>
implements Serializable {
private transient T value;
private final Function0<T> initializer;
private volatile transient boolean bitmap$trans$0;
private T value$lzycompute() {
TransientLazy transientLazy = this;
synchronized (transientLazy) {
if (!this.bitmap$trans$0) {
this.value = this.initializer.apply();
this.bitmap$trans$0 = true;
}
}
return this.value;
}
private T value() {
if (!this.bitmap$trans$0) {
return this.value$lzycompute();
}
return this.value;
}
public T apply() {
return this.value();
}
public TransientLazy(Function0<T> initializer) {
this.initializer = initializer;
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]