.class public LExample; .super Ljava/lang/Object; .method private static handleData(I)I .locals 3 # Data handling: const /16 v0, 0x1234 const/16 v0, 0x1234 # Data handling: sget-object v1, Ljava/lang/System;->out:Ljava/io/PrintStream; sget-object v1, Ljava/lang/System;->out:Ljava/io/PrintStream; # Data handling: const-string v2, "Data handled value: " const-string v2, "Data handled value: " # Data handling: invoke-virtual {v1, v2, v0}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V invoke-virtual {v1, v2, v0}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V return-void .end method .method private static arithmetic(I)V .locals 3 # Arithmetic and logic operations: const /16 v0, 0x5678 const/16 v0, 0x5678 # Arithmetic and logic operations: add-int/lit16 v1, v0, 0x1234 add-int/lit16 v1, v0, 0x1234 # Arithmetic and logic operations: const-string v2, "Result of addition: " const-string v2, "Result of addition: " # Arithmetic and logic operations: invoke-virtual {v1, v2}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V invoke-virtual {v1, v2}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V return-void .end method .method private static controlFlow(I)V .locals 3 # Control flow operations: const /16 v0, 0x9ABC const/16 v0, 0x9ABC # Control flow operations: if-nez v0, :cond_true if-nez v0, :cond_true goto :cond_false :cond_true const-string v1, "Condition is true" invoke-virtual {v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V goto :end :cond_false const-string v1, "Condition is false" invoke-virtual {v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V :end return-void .end method