File tree 1 file changed +3
-2
lines changed
src/main/java/com/mebigfatguy/fbcontrib/detect
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 18
18
*/
19
19
package com .mebigfatguy .fbcontrib .detect ;
20
20
21
+ import org .apache .bcel .Const ;
21
22
import org .apache .bcel .Repository ;
22
23
import org .apache .bcel .classfile .Code ;
23
24
import org .apache .bcel .classfile .JavaClass ;
@@ -93,7 +94,7 @@ public void sawOpcode(int seen) {
93
94
Integer userValue = null ;
94
95
try {
95
96
switch (seen ) {
96
- case INVOKEVIRTUAL :
97
+ case Const . INVOKEVIRTUAL :
97
98
String methodName = getNameConstantOperand ();
98
99
if ("route" .equals (methodName ) || "concat" .equals (methodName )) {
99
100
String clsName = getClassConstantOperand ();
@@ -132,7 +133,7 @@ public void sawOpcode(int seen) {
132
133
}
133
134
break ;
134
135
135
- case ANEWARRAY :
136
+ case Const . ANEWARRAY :
136
137
if (stack .getStackDepth () > 0 ) {
137
138
OpcodeStack .Item itm = stack .getStackItem (0 );
138
139
userValue = (Integer ) itm .getConstant ();
You can’t perform that action at this time.
0 commit comments