Skip to content

Instantly share code, notes, and snippets.

@mapyo
Created December 6, 2017 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mapyo/cefc38d562e292a10b81302cc6a3f761 to your computer and use it in GitHub Desktop.
Save mapyo/cefc38d562e292a10b81302cc6a3f761 to your computer and use it in GitHub Desktop.
data class Cat をデコンパイルしたもの
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) ansi
package com.mapyo.kotlindataclassproguardsample;
public final class a
{
public a(String s, int i, String s1)
{
a.a.a.a.a(s, "name");
a.a.a.a.a(s1, "memo");
super();
a = s;
b = i;
c = s1;
}
public final String a()
{
return a;
}
public boolean equals(Object obj)
{
label0:
{
boolean flag2 = false;
if(this != obj)
{
boolean flag1 = flag2;
if(!(obj instanceof a))
break label0;
obj = (a)obj;
flag1 = flag2;
if(!a.a.a.a.a(a, ((a) (obj)).a))
break label0;
boolean flag;
if(b == ((a) (obj)).b)
flag = true;
else
flag = false;
flag1 = flag2;
if(!flag)
break label0;
flag1 = flag2;
if(!a.a.a.a.a(c, ((a) (obj)).c))
break label0;
}
flag1 = true;
}
return flag1;
}
public int hashCode()
{
int j = 0;
String s = a;
int i;
int k;
if(s != null)
i = s.hashCode();
else
i = 0;
k = b;
s = c;
if(s != null)
j = s.hashCode();
return (i * 31 + k) * 31 + j;
}
public String toString()
{
return (new StringBuilder()).append("Cat(name=").append(a).append(", age=").append(b).append(", memo=").append(c).append(")").toString();
}
private final String a;
private final int b;
private final String c;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment