.
class
public Lcom
/
example
/
day4_variable
/
MainActivity;
.
super
Landroid
/
support
/
v7
/
app
/
AppCompatActivity;
.source
"MainActivity.java"
.method public constructor <init>()V
.
locals
0
.line
7
invoke
-
direct {p0}, Landroid
/
support
/
v7
/
app
/
AppCompatActivity;
-
><init>()V
return
-
void
.end method
.method private func1()I
.
locals
1
.line
31
const
/
4
v0,
0x1
.line
32
.local v0,
"variable1"
:I
return
v0
.end method
.method private func2()I
.
locals
1
.line
26
const
/
4
v0,
0x2
.line
27
.local v0,
"variable2"
:I
return
v0
.end method
.method private func3()Ljava
/
lang
/
String;
.
locals
3
.line
19
const
-
string v0,
"1"
.line
20
.local v0,
"Str"
:Ljava
/
lang
/
String;
const
-
string v1,
"2"
.line
21
.local v1,
"Str2"
:Ljava
/
lang
/
String;
new
-
instance v2, Ljava
/
lang
/
StringBuilder;
invoke
-
direct {v2}, Ljava
/
lang
/
StringBuilder;
-
><init>()V
invoke
-
virtual {v2, v0}, Ljava
/
lang
/
StringBuilder;
-
>append(Ljava
/
lang
/
String;)Ljava
/
lang
/
StringBuilder;
invoke
-
virtual {v2, v1}, Ljava
/
lang
/
StringBuilder;
-
>append(Ljava
/
lang
/
String;)Ljava
/
lang
/
StringBuilder;
invoke
-
virtual {v2}, Ljava
/
lang
/
StringBuilder;
-
>toString()Ljava
/
lang
/
String;
move
-
result
-
object
v2
.line
22
.local v2,
"Str3"
:Ljava
/
lang
/
String;
return
-
object
v2
.end method
.method protected onCreate(Landroid
/
os
/
Bundle;)V
.
locals
2
.param p1,
"savedInstanceState"
.line
11
invoke
-
super
{p0, p1}, Landroid
/
support
/
v7
/
app
/
AppCompatActivity;
-
>onCreate(Landroid
/
os
/
Bundle;)V
.line
12
const v0,
0x7f09001c
invoke
-
virtual {p0, v0}, Lcom
/
example
/
day4_variable
/
MainActivity;
-
>setContentView(I)V
.line
13
invoke
-
direct {p0}, Lcom
/
example
/
day4_variable
/
MainActivity;
-
>func1()I
.line
14
invoke
-
direct {p0}, Lcom
/
example
/
day4_variable
/
MainActivity;
-
>func2()I
.line
15
invoke
-
direct {p0}, Lcom
/
example
/
day4_variable
/
MainActivity;
-
>func3()Ljava
/
lang
/
String;
.line
16
invoke
-
direct {p0}, Lcom
/
example
/
day4_variable
/
MainActivity;
-
>func1()I
move
-
result v0
invoke
-
static {v0}, Ljava
/
lang
/
String;
-
>valueOf(I)Ljava
/
lang
/
String;
move
-
result
-
object
v0
const
-
string v1,
"return: "
invoke
-
static {v1, v0}, Landroid
/
util
/
Log;
-
>d(Ljava
/
lang
/
String;Ljava
/
lang
/
String;)I
invoke
-
direct {p0}, Lcom
/
example
/
day4_variable
/
MainActivity;
-
>func2()I
move
-
result v0
invoke
-
static {v0}, Ljava
/
lang
/
String;
-
>valueOf(I)Ljava
/
lang
/
String;
move
-
result
-
object
v0
const
-
string v1,
"return: "
invoke
-
static {v1, v0}, Landroid
/
util
/
Log;
-
>d(Ljava
/
lang
/
String;Ljava
/
lang
/
String;)I
invoke
-
direct {p0}, Lcom
/
example
/
day4_variable
/
MainActivity;
-
>func3()Ljava
/
lang
/
String;
move
-
result
-
object
v0
const
-
string v1,
"return: "
invoke
-
static {v1, v0}, Landroid
/
util
/
Log;
-
>d(Ljava
/
lang
/
String;Ljava
/
lang
/
String;)I
.line
17
return
-
void
.end method