Skip to content

@remeniuk /gist:657953
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
case object PingObject and case class PingClass desugared
[[syntax trees at end of cleanup]]// Scala source: app.scala
package <empty> {
@serializable final case class PingObject extends java.lang.Object with ScalaObject with Product {
def productIterator(): Iterator = scala.Product$class.productIterator(PingObject.this);
@deprecated("use productIterator instead") def productElements(): Iterator = scala.Product$class.productElements(PingObject.this);
final override def toString(): java.lang.String = "PingObject";
override def productPrefix(): java.lang.String = "PingObject";
override def productArity(): Int = 0;
override def productElement(x$1: Int): java.lang.Object = {
<synthetic> val temp1: Int = x$1;
{
throw new java.lang.IndexOutOfBoundsException(scala.Int.box(x$1).toString())
}
};
override def canEqual(x$1: java.lang.Object): Boolean = x$1.$isInstanceOf[object PingObject]();
protected def readResolve(): java.lang.Object = PingObject;
def this(): object PingObject = {
PingObject.super.this();
scala.Product$class./*Product$class*/$init$(PingObject.this);
()
}
};
@serializable case class PingClass extends java.lang.Object with ScalaObject with Product {
def productIterator(): Iterator = scala.Product$class.productIterator(PingClass.this);
@deprecated("use productIterator instead") def productElements(): Iterator = scala.Product$class.productElements(PingClass.this);
override def hashCode(): Int = ScalaRunTime.this._hashCode(PingClass.this);
override def toString(): java.lang.String = ScalaRunTime.this._toString(PingClass.this);
override def equals(x$1: java.lang.Object): Boolean = PingClass.this.eq(x$1).||({
<synthetic> val temp2: java.lang.Object = x$1;
if (temp2.$isInstanceOf[PingClass]())
{
x$1.$asInstanceOf[PingClass]().canEqual(PingClass.this)
}
else
{
false
}
});
override def productPrefix(): java.lang.String = "PingClass";
override def productArity(): Int = 0;
override def productElement(x$1: Int): java.lang.Object = {
<synthetic> val temp4: Int = x$1;
{
throw new java.lang.IndexOutOfBoundsException(scala.Int.box(x$1).toString())
}
};
override def canEqual(x$1: java.lang.Object): Boolean = x$1.$isInstanceOf[PingClass]();
def this(): PingClass = {
PingClass.super.this();
scala.Product$class./*Product$class*/$init$(PingClass.this);
()
}
};
final <synthetic> class PingClass extends scala.runtime.AbstractFunction0 with ScalaObject {
case <synthetic> def unapply(x$0: PingClass): Boolean = if (x$0.==(null))
false
else
true;
case <synthetic> def apply(): PingClass = new PingClass();
case <synthetic> <bridge> def apply(): java.lang.Object = PingClass.this.apply();
def this(): object PingClass = {
PingClass.super.this();
()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.