Skip to content

Commit

Permalink
Better variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Oct 25, 2024
1 parent 9d241b3 commit 95e60e7
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@
import com.googlecode.d2j.node.DexFieldNode;
import com.googlecode.d2j.node.DexFileNode;
import com.googlecode.d2j.node.DexMethodNode;
import com.googlecode.d2j.node.insn.*;
import com.googlecode.d2j.node.insn.ConstStmtNode;
import com.googlecode.d2j.node.insn.DexStmtNode;
import com.googlecode.d2j.node.insn.MethodStmtNode;
import com.googlecode.d2j.node.insn.Stmt1RNode;
import com.googlecode.d2j.node.insn.TypeStmtNode;
import com.googlecode.d2j.reader.Op;
import com.googlecode.d2j.visitors.DexCodeVisitor;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
Expand Down Expand Up @@ -127,7 +130,7 @@ public void visitFieldStmt(Op op, int a, int b, Field field) {
* </p>
*/
public static void fixTooLongStringConstant(final DexMethodNode methodNode) {
if ((methodNode.access & 0x100) != 0 || (methodNode.access & 0x400) != 0) {
if ((methodNode.access & DexConstants.ACC_NATIVE) != 0 || (methodNode.access & DexConstants.ACC_ABSTRACT) != 0) {
return; // in case of unimplemented method
}

Expand Down

0 comments on commit 95e60e7

Please sign in to comment.