Created
August 10, 2016 15:06
-
-
Save metasim/3f0bede676c90ccd6f1ded7625fb243e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package <empty> { | |
| case class Person extends AnyRef with Product with Serializable { | |
| <caseaccessor> <paramaccessor> private[this] val name: String = _; | |
| <stable> <caseaccessor> <accessor> <paramaccessor> def name: String = Person.this.name; | |
| <caseaccessor> <paramaccessor> private[this] val age: Int = _; | |
| <stable> <caseaccessor> <accessor> <paramaccessor> def age: Int = Person.this.age; | |
| def <init>(name: String, age: Int): Person = { | |
| Person.super.<init>(); | |
| () | |
| }; | |
| <synthetic> def copy(name: String = name, age: Int = age): Person = new Person(name, age); | |
| <synthetic> def copy$default$1: String = Person.this.name; | |
| <synthetic> def copy$default$2: Int = Person.this.age; | |
| override <synthetic> def productPrefix: String = "Person"; | |
| <synthetic> def productArity: Int = 2; | |
| <synthetic> def productElement(x$1: Int): Any = x$1 match { | |
| case 0 => Person.this.name | |
| case 1 => Person.this.age | |
| case _ => throw new IndexOutOfBoundsException(x$1.toString()) | |
| }; | |
| override <synthetic> def productIterator: Iterator[Any] = runtime.this.ScalaRunTime.typedProductIterator[Any](Person.this); | |
| <synthetic> def canEqual(x$1: Any): Boolean = x$1.$isInstanceOf[Person](); | |
| override <synthetic> def hashCode(): Int = { | |
| <synthetic> var acc: Int = -889275714; | |
| acc = Statics.this.mix(acc, Statics.this.anyHash(name)); | |
| acc = Statics.this.mix(acc, age); | |
| Statics.this.finalizeHash(acc, 2) | |
| }; | |
| override <synthetic> def toString(): String = ScalaRunTime.this._toString(Person.this); | |
| override <synthetic> def equals(x$1: Any): Boolean = Person.this.eq(x$1.asInstanceOf[Object]).||(x$1 match { | |
| case (_: Person) => true | |
| case _ => false | |
| }.&&({ | |
| <synthetic> val Person$1: Person = x$1.asInstanceOf[Person]; | |
| Person.this.name.==(Person$1.name).&&(Person.this.age.==(Person$1.age)).&&(Person$1.canEqual(Person.this)) | |
| })) | |
| }; | |
| <synthetic> object Person extends scala.runtime.AbstractFunction2[String,Int,Person] with Serializable { | |
| def <init>(): Person.type = { | |
| Person.super.<init>(); | |
| () | |
| }; | |
| final override <synthetic> def toString(): String = "Person"; | |
| case <synthetic> def apply(name: String, age: Int): Person = new Person(name, age); | |
| case <synthetic> def unapply(x$0: Person): Option[(String, Int)] = if (x$0.==(null)) | |
| scala.this.None | |
| else | |
| Some.apply[(String, Int)](scala.Tuple2.apply[String, Int](x$0.name, x$0.age)); | |
| <synthetic> private def readResolve(): Object = Person | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment