1 // $ANTLR 3.5.2 /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g 2023-05-04 15:21:24 2 3 package com.android.tools.smali.smali; 4 5 import com.google.common.collect.ImmutableSet; 6 import com.google.common.collect.Iterables; 7 import com.google.common.collect.Lists; 8 import com.google.common.collect.Maps; 9 import org.antlr.runtime.BitSet; 10 import org.antlr.runtime.*; 11 import org.antlr.runtime.tree.CommonTree; 12 import org.antlr.runtime.tree.TreeNodeStream; 13 import org.antlr.runtime.tree.TreeParser; 14 import org.antlr.runtime.tree.TreeRuleReturnScope; 15 import com.android.tools.smali.dexlib2.*; 16 import com.android.tools.smali.dexlib2.builder.Label; 17 import com.android.tools.smali.dexlib2.builder.MethodImplementationBuilder; 18 import com.android.tools.smali.dexlib2.builder.SwitchLabelElement; 19 import com.android.tools.smali.dexlib2.builder.instruction.*; 20 import com.android.tools.smali.dexlib2.iface.Annotation; 21 import com.android.tools.smali.dexlib2.iface.AnnotationElement; 22 import com.android.tools.smali.dexlib2.iface.ClassDef; 23 import com.android.tools.smali.dexlib2.iface.MethodImplementation; 24 import com.android.tools.smali.dexlib2.iface.reference.FieldReference; 25 import com.android.tools.smali.dexlib2.iface.reference.MethodReference; 26 import com.android.tools.smali.dexlib2.iface.value.EncodedValue; 27 import com.android.tools.smali.dexlib2.immutable.ImmutableAnnotation; 28 import com.android.tools.smali.dexlib2.immutable.ImmutableAnnotationElement; 29 import com.android.tools.smali.dexlib2.immutable.reference.ImmutableCallSiteReference; 30 import com.android.tools.smali.dexlib2.immutable.reference.ImmutableFieldReference; 31 import com.android.tools.smali.dexlib2.immutable.reference.ImmutableMethodHandleReference; 32 import com.android.tools.smali.dexlib2.immutable.reference.ImmutableMethodReference; 33 import com.android.tools.smali.dexlib2.immutable.reference.ImmutableMethodProtoReference; 34 import com.android.tools.smali.dexlib2.immutable.reference.ImmutableReference; 35 import com.android.tools.smali.dexlib2.immutable.reference.ImmutableTypeReference; 36 import com.android.tools.smali.dexlib2.immutable.value.*; 37 import com.android.tools.smali.dexlib2.util.MethodUtil; 38 import com.android.tools.smali.dexlib2.writer.InstructionFactory; 39 import com.android.tools.smali.dexlib2.writer.builder.*; 40 import com.android.tools.smali.util.LinearSearch; 41 42 import java.util.*; 43 44 45 import org.antlr.runtime.*; 46 import org.antlr.runtime.tree.*; 47 import java.util.Stack; 48 import java.util.List; 49 import java.util.ArrayList; 50 51 @SuppressWarnings("all") 52 public class smaliTreeWalker extends TreeParser { 53 public static final String[] tokenNames = new String[] { 54 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "ACCESS_SPEC", "ANNOTATION_DIRECTIVE", 55 "ANNOTATION_VISIBILITY", "ARRAY_DATA_DIRECTIVE", "ARRAY_TYPE_PREFIX", 56 "ARROW", "AT", "BOOL_LITERAL", "BYTE_LITERAL", "CATCHALL_DIRECTIVE", "CATCH_DIRECTIVE", 57 "CHAR_LITERAL", "CLASS_DESCRIPTOR", "CLASS_DIRECTIVE", "CLOSE_BRACE", 58 "CLOSE_PAREN", "COLON", "COMMA", "DOTDOT", "DOUBLE_LITERAL", "DOUBLE_LITERAL_OR_ID", 59 "END_ANNOTATION_DIRECTIVE", "END_ARRAY_DATA_DIRECTIVE", "END_FIELD_DIRECTIVE", 60 "END_LOCAL_DIRECTIVE", "END_METHOD_DIRECTIVE", "END_PACKED_SWITCH_DIRECTIVE", 61 "END_PARAMETER_DIRECTIVE", "END_SPARSE_SWITCH_DIRECTIVE", "END_SUBANNOTATION_DIRECTIVE", 62 "ENUM_DIRECTIVE", "EPILOGUE_DIRECTIVE", "EQUAL", "FIELD_DIRECTIVE", "FIELD_OFFSET", 63 "FLOAT_LITERAL", "FLOAT_LITERAL_OR_ID", "HIDDENAPI_RESTRICTION", "IMPLEMENTS_DIRECTIVE", 64 "INLINE_INDEX", "INSTRUCTION_FORMAT10t", "INSTRUCTION_FORMAT10x", "INSTRUCTION_FORMAT10x_ODEX", 65 "INSTRUCTION_FORMAT11n", "INSTRUCTION_FORMAT11x", "INSTRUCTION_FORMAT12x", 66 "INSTRUCTION_FORMAT12x_OR_ID", "INSTRUCTION_FORMAT20bc", "INSTRUCTION_FORMAT20t", 67 "INSTRUCTION_FORMAT21c_FIELD", "INSTRUCTION_FORMAT21c_FIELD_ODEX", "INSTRUCTION_FORMAT21c_METHOD_HANDLE", 68 "INSTRUCTION_FORMAT21c_METHOD_TYPE", "INSTRUCTION_FORMAT21c_STRING", "INSTRUCTION_FORMAT21c_TYPE", 69 "INSTRUCTION_FORMAT21ih", "INSTRUCTION_FORMAT21lh", "INSTRUCTION_FORMAT21s", 70 "INSTRUCTION_FORMAT21t", "INSTRUCTION_FORMAT22b", "INSTRUCTION_FORMAT22c_FIELD", 71 "INSTRUCTION_FORMAT22c_FIELD_ODEX", "INSTRUCTION_FORMAT22c_TYPE", "INSTRUCTION_FORMAT22cs_FIELD", 72 "INSTRUCTION_FORMAT22s", "INSTRUCTION_FORMAT22s_OR_ID", "INSTRUCTION_FORMAT22t", 73 "INSTRUCTION_FORMAT22x", "INSTRUCTION_FORMAT23x", "INSTRUCTION_FORMAT30t", 74 "INSTRUCTION_FORMAT31c", "INSTRUCTION_FORMAT31i", "INSTRUCTION_FORMAT31i_OR_ID", 75 "INSTRUCTION_FORMAT31t", "INSTRUCTION_FORMAT32x", "INSTRUCTION_FORMAT35c_CALL_SITE", 76 "INSTRUCTION_FORMAT35c_METHOD", "INSTRUCTION_FORMAT35c_METHOD_ODEX", "INSTRUCTION_FORMAT35c_METHOD_OR_METHOD_HANDLE_TYPE", 77 "INSTRUCTION_FORMAT35c_TYPE", "INSTRUCTION_FORMAT35mi_METHOD", "INSTRUCTION_FORMAT35ms_METHOD", 78 "INSTRUCTION_FORMAT3rc_CALL_SITE", "INSTRUCTION_FORMAT3rc_METHOD", "INSTRUCTION_FORMAT3rc_METHOD_ODEX", 79 "INSTRUCTION_FORMAT3rc_TYPE", "INSTRUCTION_FORMAT3rmi_METHOD", "INSTRUCTION_FORMAT3rms_METHOD", 80 "INSTRUCTION_FORMAT45cc_METHOD", "INSTRUCTION_FORMAT4rcc_METHOD", "INSTRUCTION_FORMAT51l", 81 "INTEGER_LITERAL", "INVALID_TOKEN", "I_ACCESS_LIST", "I_ACCESS_OR_RESTRICTION_LIST", 82 "I_ANNOTATION", "I_ANNOTATIONS", "I_ANNOTATION_ELEMENT", "I_ARRAY_ELEMENTS", 83 "I_ARRAY_ELEMENT_SIZE", "I_CALL_SITE_EXTRA_ARGUMENTS", "I_CALL_SITE_REFERENCE", 84 "I_CATCH", "I_CATCHALL", "I_CATCHES", "I_CLASS_DEF", "I_ENCODED_ARRAY", 85 "I_ENCODED_ENUM", "I_ENCODED_FIELD", "I_ENCODED_METHOD", "I_ENCODED_METHOD_HANDLE", 86 "I_END_LOCAL", "I_EPILOGUE", "I_FIELD", "I_FIELDS", "I_FIELD_INITIAL_VALUE", 87 "I_FIELD_TYPE", "I_IMPLEMENTS", "I_LABEL", "I_LINE", "I_LOCAL", "I_LOCALS", 88 "I_METHOD", "I_METHODS", "I_METHOD_PROTOTYPE", "I_METHOD_RETURN_TYPE", 89 "I_ORDERED_METHOD_ITEMS", "I_PACKED_SWITCH_ELEMENTS", "I_PACKED_SWITCH_START_KEY", 90 "I_PARAMETER", "I_PARAMETERS", "I_PARAMETER_NOT_SPECIFIED", "I_PROLOGUE", 91 "I_REGISTERS", "I_REGISTER_LIST", "I_REGISTER_RANGE", "I_RESTART_LOCAL", 92 "I_SOURCE", "I_SPARSE_SWITCH_ELEMENTS", "I_STATEMENT_ARRAY_DATA", "I_STATEMENT_FORMAT10t", 93 "I_STATEMENT_FORMAT10x", "I_STATEMENT_FORMAT11n", "I_STATEMENT_FORMAT11x", 94 "I_STATEMENT_FORMAT12x", "I_STATEMENT_FORMAT20bc", "I_STATEMENT_FORMAT20t", 95 "I_STATEMENT_FORMAT21c_FIELD", "I_STATEMENT_FORMAT21c_METHOD_HANDLE", 96 "I_STATEMENT_FORMAT21c_METHOD_TYPE", "I_STATEMENT_FORMAT21c_STRING", "I_STATEMENT_FORMAT21c_TYPE", 97 "I_STATEMENT_FORMAT21ih", "I_STATEMENT_FORMAT21lh", "I_STATEMENT_FORMAT21s", 98 "I_STATEMENT_FORMAT21t", "I_STATEMENT_FORMAT22b", "I_STATEMENT_FORMAT22c_FIELD", 99 "I_STATEMENT_FORMAT22c_TYPE", "I_STATEMENT_FORMAT22s", "I_STATEMENT_FORMAT22t", 100 "I_STATEMENT_FORMAT22x", "I_STATEMENT_FORMAT23x", "I_STATEMENT_FORMAT30t", 101 "I_STATEMENT_FORMAT31c", "I_STATEMENT_FORMAT31i", "I_STATEMENT_FORMAT31t", 102 "I_STATEMENT_FORMAT32x", "I_STATEMENT_FORMAT35c_CALL_SITE", "I_STATEMENT_FORMAT35c_METHOD", 103 "I_STATEMENT_FORMAT35c_TYPE", "I_STATEMENT_FORMAT3rc_CALL_SITE", "I_STATEMENT_FORMAT3rc_METHOD", 104 "I_STATEMENT_FORMAT3rc_TYPE", "I_STATEMENT_FORMAT45cc_METHOD", "I_STATEMENT_FORMAT4rcc_METHOD", 105 "I_STATEMENT_FORMAT51l", "I_STATEMENT_PACKED_SWITCH", "I_STATEMENT_SPARSE_SWITCH", 106 "I_SUBANNOTATION", "I_SUPER", "LINE_COMMENT", "LINE_DIRECTIVE", "LOCALS_DIRECTIVE", 107 "LOCAL_DIRECTIVE", "LONG_LITERAL", "MEMBER_NAME", "METHOD_DIRECTIVE", 108 "METHOD_HANDLE_TYPE_FIELD", "METHOD_HANDLE_TYPE_METHOD", "NEGATIVE_INTEGER_LITERAL", 109 "NULL_LITERAL", "OPEN_BRACE", "OPEN_PAREN", "PACKED_SWITCH_DIRECTIVE", 110 "PARAMETER_DIRECTIVE", "PARAM_LIST_OR_ID_PRIMITIVE_TYPE", "POSITIVE_INTEGER_LITERAL", 111 "PRIMITIVE_TYPE", "PROLOGUE_DIRECTIVE", "REGISTER", "REGISTERS_DIRECTIVE", 112 "RESTART_LOCAL_DIRECTIVE", "SHORT_LITERAL", "SIMPLE_NAME", "SOURCE_DIRECTIVE", 113 "SPARSE_SWITCH_DIRECTIVE", "STRING_LITERAL", "SUBANNOTATION_DIRECTIVE", 114 "SUPER_DIRECTIVE", "VERIFICATION_ERROR_TYPE", "VOID_TYPE", "VTABLE_INDEX", 115 "WHITE_SPACE" 116 }; 117 public static final int EOF=-1; 118 public static final int ACCESS_SPEC=4; 119 public static final int ANNOTATION_DIRECTIVE=5; 120 public static final int ANNOTATION_VISIBILITY=6; 121 public static final int ARRAY_DATA_DIRECTIVE=7; 122 public static final int ARRAY_TYPE_PREFIX=8; 123 public static final int ARROW=9; 124 public static final int AT=10; 125 public static final int BOOL_LITERAL=11; 126 public static final int BYTE_LITERAL=12; 127 public static final int CATCHALL_DIRECTIVE=13; 128 public static final int CATCH_DIRECTIVE=14; 129 public static final int CHAR_LITERAL=15; 130 public static final int CLASS_DESCRIPTOR=16; 131 public static final int CLASS_DIRECTIVE=17; 132 public static final int CLOSE_BRACE=18; 133 public static final int CLOSE_PAREN=19; 134 public static final int COLON=20; 135 public static final int COMMA=21; 136 public static final int DOTDOT=22; 137 public static final int DOUBLE_LITERAL=23; 138 public static final int DOUBLE_LITERAL_OR_ID=24; 139 public static final int END_ANNOTATION_DIRECTIVE=25; 140 public static final int END_ARRAY_DATA_DIRECTIVE=26; 141 public static final int END_FIELD_DIRECTIVE=27; 142 public static final int END_LOCAL_DIRECTIVE=28; 143 public static final int END_METHOD_DIRECTIVE=29; 144 public static final int END_PACKED_SWITCH_DIRECTIVE=30; 145 public static final int END_PARAMETER_DIRECTIVE=31; 146 public static final int END_SPARSE_SWITCH_DIRECTIVE=32; 147 public static final int END_SUBANNOTATION_DIRECTIVE=33; 148 public static final int ENUM_DIRECTIVE=34; 149 public static final int EPILOGUE_DIRECTIVE=35; 150 public static final int EQUAL=36; 151 public static final int FIELD_DIRECTIVE=37; 152 public static final int FIELD_OFFSET=38; 153 public static final int FLOAT_LITERAL=39; 154 public static final int FLOAT_LITERAL_OR_ID=40; 155 public static final int HIDDENAPI_RESTRICTION=41; 156 public static final int IMPLEMENTS_DIRECTIVE=42; 157 public static final int INLINE_INDEX=43; 158 public static final int INSTRUCTION_FORMAT10t=44; 159 public static final int INSTRUCTION_FORMAT10x=45; 160 public static final int INSTRUCTION_FORMAT10x_ODEX=46; 161 public static final int INSTRUCTION_FORMAT11n=47; 162 public static final int INSTRUCTION_FORMAT11x=48; 163 public static final int INSTRUCTION_FORMAT12x=49; 164 public static final int INSTRUCTION_FORMAT12x_OR_ID=50; 165 public static final int INSTRUCTION_FORMAT20bc=51; 166 public static final int INSTRUCTION_FORMAT20t=52; 167 public static final int INSTRUCTION_FORMAT21c_FIELD=53; 168 public static final int INSTRUCTION_FORMAT21c_FIELD_ODEX=54; 169 public static final int INSTRUCTION_FORMAT21c_METHOD_HANDLE=55; 170 public static final int INSTRUCTION_FORMAT21c_METHOD_TYPE=56; 171 public static final int INSTRUCTION_FORMAT21c_STRING=57; 172 public static final int INSTRUCTION_FORMAT21c_TYPE=58; 173 public static final int INSTRUCTION_FORMAT21ih=59; 174 public static final int INSTRUCTION_FORMAT21lh=60; 175 public static final int INSTRUCTION_FORMAT21s=61; 176 public static final int INSTRUCTION_FORMAT21t=62; 177 public static final int INSTRUCTION_FORMAT22b=63; 178 public static final int INSTRUCTION_FORMAT22c_FIELD=64; 179 public static final int INSTRUCTION_FORMAT22c_FIELD_ODEX=65; 180 public static final int INSTRUCTION_FORMAT22c_TYPE=66; 181 public static final int INSTRUCTION_FORMAT22cs_FIELD=67; 182 public static final int INSTRUCTION_FORMAT22s=68; 183 public static final int INSTRUCTION_FORMAT22s_OR_ID=69; 184 public static final int INSTRUCTION_FORMAT22t=70; 185 public static final int INSTRUCTION_FORMAT22x=71; 186 public static final int INSTRUCTION_FORMAT23x=72; 187 public static final int INSTRUCTION_FORMAT30t=73; 188 public static final int INSTRUCTION_FORMAT31c=74; 189 public static final int INSTRUCTION_FORMAT31i=75; 190 public static final int INSTRUCTION_FORMAT31i_OR_ID=76; 191 public static final int INSTRUCTION_FORMAT31t=77; 192 public static final int INSTRUCTION_FORMAT32x=78; 193 public static final int INSTRUCTION_FORMAT35c_CALL_SITE=79; 194 public static final int INSTRUCTION_FORMAT35c_METHOD=80; 195 public static final int INSTRUCTION_FORMAT35c_METHOD_ODEX=81; 196 public static final int INSTRUCTION_FORMAT35c_METHOD_OR_METHOD_HANDLE_TYPE=82; 197 public static final int INSTRUCTION_FORMAT35c_TYPE=83; 198 public static final int INSTRUCTION_FORMAT35mi_METHOD=84; 199 public static final int INSTRUCTION_FORMAT35ms_METHOD=85; 200 public static final int INSTRUCTION_FORMAT3rc_CALL_SITE=86; 201 public static final int INSTRUCTION_FORMAT3rc_METHOD=87; 202 public static final int INSTRUCTION_FORMAT3rc_METHOD_ODEX=88; 203 public static final int INSTRUCTION_FORMAT3rc_TYPE=89; 204 public static final int INSTRUCTION_FORMAT3rmi_METHOD=90; 205 public static final int INSTRUCTION_FORMAT3rms_METHOD=91; 206 public static final int INSTRUCTION_FORMAT45cc_METHOD=92; 207 public static final int INSTRUCTION_FORMAT4rcc_METHOD=93; 208 public static final int INSTRUCTION_FORMAT51l=94; 209 public static final int INTEGER_LITERAL=95; 210 public static final int INVALID_TOKEN=96; 211 public static final int I_ACCESS_LIST=97; 212 public static final int I_ACCESS_OR_RESTRICTION_LIST=98; 213 public static final int I_ANNOTATION=99; 214 public static final int I_ANNOTATIONS=100; 215 public static final int I_ANNOTATION_ELEMENT=101; 216 public static final int I_ARRAY_ELEMENTS=102; 217 public static final int I_ARRAY_ELEMENT_SIZE=103; 218 public static final int I_CALL_SITE_EXTRA_ARGUMENTS=104; 219 public static final int I_CALL_SITE_REFERENCE=105; 220 public static final int I_CATCH=106; 221 public static final int I_CATCHALL=107; 222 public static final int I_CATCHES=108; 223 public static final int I_CLASS_DEF=109; 224 public static final int I_ENCODED_ARRAY=110; 225 public static final int I_ENCODED_ENUM=111; 226 public static final int I_ENCODED_FIELD=112; 227 public static final int I_ENCODED_METHOD=113; 228 public static final int I_ENCODED_METHOD_HANDLE=114; 229 public static final int I_END_LOCAL=115; 230 public static final int I_EPILOGUE=116; 231 public static final int I_FIELD=117; 232 public static final int I_FIELDS=118; 233 public static final int I_FIELD_INITIAL_VALUE=119; 234 public static final int I_FIELD_TYPE=120; 235 public static final int I_IMPLEMENTS=121; 236 public static final int I_LABEL=122; 237 public static final int I_LINE=123; 238 public static final int I_LOCAL=124; 239 public static final int I_LOCALS=125; 240 public static final int I_METHOD=126; 241 public static final int I_METHODS=127; 242 public static final int I_METHOD_PROTOTYPE=128; 243 public static final int I_METHOD_RETURN_TYPE=129; 244 public static final int I_ORDERED_METHOD_ITEMS=130; 245 public static final int I_PACKED_SWITCH_ELEMENTS=131; 246 public static final int I_PACKED_SWITCH_START_KEY=132; 247 public static final int I_PARAMETER=133; 248 public static final int I_PARAMETERS=134; 249 public static final int I_PARAMETER_NOT_SPECIFIED=135; 250 public static final int I_PROLOGUE=136; 251 public static final int I_REGISTERS=137; 252 public static final int I_REGISTER_LIST=138; 253 public static final int I_REGISTER_RANGE=139; 254 public static final int I_RESTART_LOCAL=140; 255 public static final int I_SOURCE=141; 256 public static final int I_SPARSE_SWITCH_ELEMENTS=142; 257 public static final int I_STATEMENT_ARRAY_DATA=143; 258 public static final int I_STATEMENT_FORMAT10t=144; 259 public static final int I_STATEMENT_FORMAT10x=145; 260 public static final int I_STATEMENT_FORMAT11n=146; 261 public static final int I_STATEMENT_FORMAT11x=147; 262 public static final int I_STATEMENT_FORMAT12x=148; 263 public static final int I_STATEMENT_FORMAT20bc=149; 264 public static final int I_STATEMENT_FORMAT20t=150; 265 public static final int I_STATEMENT_FORMAT21c_FIELD=151; 266 public static final int I_STATEMENT_FORMAT21c_METHOD_HANDLE=152; 267 public static final int I_STATEMENT_FORMAT21c_METHOD_TYPE=153; 268 public static final int I_STATEMENT_FORMAT21c_STRING=154; 269 public static final int I_STATEMENT_FORMAT21c_TYPE=155; 270 public static final int I_STATEMENT_FORMAT21ih=156; 271 public static final int I_STATEMENT_FORMAT21lh=157; 272 public static final int I_STATEMENT_FORMAT21s=158; 273 public static final int I_STATEMENT_FORMAT21t=159; 274 public static final int I_STATEMENT_FORMAT22b=160; 275 public static final int I_STATEMENT_FORMAT22c_FIELD=161; 276 public static final int I_STATEMENT_FORMAT22c_TYPE=162; 277 public static final int I_STATEMENT_FORMAT22s=163; 278 public static final int I_STATEMENT_FORMAT22t=164; 279 public static final int I_STATEMENT_FORMAT22x=165; 280 public static final int I_STATEMENT_FORMAT23x=166; 281 public static final int I_STATEMENT_FORMAT30t=167; 282 public static final int I_STATEMENT_FORMAT31c=168; 283 public static final int I_STATEMENT_FORMAT31i=169; 284 public static final int I_STATEMENT_FORMAT31t=170; 285 public static final int I_STATEMENT_FORMAT32x=171; 286 public static final int I_STATEMENT_FORMAT35c_CALL_SITE=172; 287 public static final int I_STATEMENT_FORMAT35c_METHOD=173; 288 public static final int I_STATEMENT_FORMAT35c_TYPE=174; 289 public static final int I_STATEMENT_FORMAT3rc_CALL_SITE=175; 290 public static final int I_STATEMENT_FORMAT3rc_METHOD=176; 291 public static final int I_STATEMENT_FORMAT3rc_TYPE=177; 292 public static final int I_STATEMENT_FORMAT45cc_METHOD=178; 293 public static final int I_STATEMENT_FORMAT4rcc_METHOD=179; 294 public static final int I_STATEMENT_FORMAT51l=180; 295 public static final int I_STATEMENT_PACKED_SWITCH=181; 296 public static final int I_STATEMENT_SPARSE_SWITCH=182; 297 public static final int I_SUBANNOTATION=183; 298 public static final int I_SUPER=184; 299 public static final int LINE_COMMENT=185; 300 public static final int LINE_DIRECTIVE=186; 301 public static final int LOCALS_DIRECTIVE=187; 302 public static final int LOCAL_DIRECTIVE=188; 303 public static final int LONG_LITERAL=189; 304 public static final int MEMBER_NAME=190; 305 public static final int METHOD_DIRECTIVE=191; 306 public static final int METHOD_HANDLE_TYPE_FIELD=192; 307 public static final int METHOD_HANDLE_TYPE_METHOD=193; 308 public static final int NEGATIVE_INTEGER_LITERAL=194; 309 public static final int NULL_LITERAL=195; 310 public static final int OPEN_BRACE=196; 311 public static final int OPEN_PAREN=197; 312 public static final int PACKED_SWITCH_DIRECTIVE=198; 313 public static final int PARAMETER_DIRECTIVE=199; 314 public static final int PARAM_LIST_OR_ID_PRIMITIVE_TYPE=200; 315 public static final int POSITIVE_INTEGER_LITERAL=201; 316 public static final int PRIMITIVE_TYPE=202; 317 public static final int PROLOGUE_DIRECTIVE=203; 318 public static final int REGISTER=204; 319 public static final int REGISTERS_DIRECTIVE=205; 320 public static final int RESTART_LOCAL_DIRECTIVE=206; 321 public static final int SHORT_LITERAL=207; 322 public static final int SIMPLE_NAME=208; 323 public static final int SOURCE_DIRECTIVE=209; 324 public static final int SPARSE_SWITCH_DIRECTIVE=210; 325 public static final int STRING_LITERAL=211; 326 public static final int SUBANNOTATION_DIRECTIVE=212; 327 public static final int SUPER_DIRECTIVE=213; 328 public static final int VERIFICATION_ERROR_TYPE=214; 329 public static final int VOID_TYPE=215; 330 public static final int VTABLE_INDEX=216; 331 public static final int WHITE_SPACE=217; 332 333 // delegates getDelegates()334 public TreeParser[] getDelegates() { 335 return new TreeParser[] {}; 336 } 337 338 // delegators 339 340 smaliTreeWalker(TreeNodeStream input)341 public smaliTreeWalker(TreeNodeStream input) { 342 this(input, new RecognizerSharedState()); 343 } smaliTreeWalker(TreeNodeStream input, RecognizerSharedState state)344 public smaliTreeWalker(TreeNodeStream input, RecognizerSharedState state) { 345 super(input, state); 346 } 347 getTokenNames()348 @Override public String[] getTokenNames() { return smaliTreeWalker.tokenNames; } getGrammarFileName()349 @Override public String getGrammarFileName() { return "/usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g"; } 350 351 352 public String classType; 353 private boolean verboseErrors = false; 354 private int apiLevel = 15; 355 private Opcodes opcodes = Opcodes.forApi(apiLevel); 356 private DexBuilder dexBuilder; 357 private int callSiteNameIndex = 0; 358 setDexBuilder(DexBuilder dexBuilder)359 public void setDexBuilder(DexBuilder dexBuilder) { 360 this.dexBuilder = dexBuilder; 361 } 362 setApiLevel(int apiLevel)363 public void setApiLevel(int apiLevel) { 364 this.opcodes = Opcodes.forApi(apiLevel); 365 this.apiLevel = apiLevel; 366 } 367 setVerboseErrors(boolean verboseErrors)368 public void setVerboseErrors(boolean verboseErrors) { 369 this.verboseErrors = verboseErrors; 370 } 371 parseRegister_nibble(String register)372 private byte parseRegister_nibble(String register) 373 throws SemanticException { 374 int totalMethodRegisters = method_stack.peek().totalMethodRegisters; 375 int methodParameterRegisters = method_stack.peek().methodParameterRegisters; 376 377 //register should be in the format "v12" 378 int val = Byte.parseByte(register.substring(1)); 379 if (register.charAt(0) == 'p') { 380 val = totalMethodRegisters - methodParameterRegisters + val; 381 } 382 if (val >= 2<<4) { 383 throw new SemanticException(input, "The maximum allowed register in this context is list of registers is v15"); 384 } 385 //the parser wouldn't have accepted a negative register, i.e. v-1, so we don't have to check for val<0; 386 return (byte)val; 387 } 388 389 //return a short, because java's byte is signed parseRegister_byte(String register)390 private short parseRegister_byte(String register) 391 throws SemanticException { 392 int totalMethodRegisters = method_stack.peek().totalMethodRegisters; 393 int methodParameterRegisters = method_stack.peek().methodParameterRegisters; 394 //register should be in the format "v123" 395 int val = Short.parseShort(register.substring(1)); 396 if (register.charAt(0) == 'p') { 397 val = totalMethodRegisters - methodParameterRegisters + val; 398 } 399 if (val >= 2<<8) { 400 throw new SemanticException(input, "The maximum allowed register in this context is v255"); 401 } 402 return (short)val; 403 } 404 405 //return an int because java's short is signed parseRegister_short(String register)406 private int parseRegister_short(String register) 407 throws SemanticException { 408 int totalMethodRegisters = method_stack.peek().totalMethodRegisters; 409 int methodParameterRegisters = method_stack.peek().methodParameterRegisters; 410 //register should be in the format "v12345" 411 int val = Integer.parseInt(register.substring(1)); 412 if (register.charAt(0) == 'p') { 413 val = totalMethodRegisters - methodParameterRegisters + val; 414 } 415 if (val >= 2<<16) { 416 throw new SemanticException(input, "The maximum allowed register in this context is v65535"); 417 } 418 //the parser wouldn't accept a negative register, i.e. v-1, so we don't have to check for val<0; 419 return val; 420 } 421 getErrorMessage(RecognitionException e, String[] tokenNames)422 public String getErrorMessage(RecognitionException e, String[] tokenNames) { 423 if ( e instanceof SemanticException ) { 424 return e.getMessage(); 425 } else { 426 return super.getErrorMessage(e, tokenNames); 427 } 428 } 429 getErrorHeader(RecognitionException e)430 public String getErrorHeader(RecognitionException e) { 431 return getSourceName()+"["+ e.line+","+e.charPositionInLine+"]"; 432 } 433 434 435 436 // $ANTLR start "smali_file" 437 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:162:1: smali_file returns [ClassDef classDef] : ^( I_CLASS_DEF header methods fields annotations ) ; smali_file()438 public final ClassDef smali_file() throws RecognitionException { 439 ClassDef classDef = null; 440 441 442 TreeRuleReturnScope header1 =null; 443 Set<Annotation> annotations2 =null; 444 List<BuilderField> fields3 =null; 445 List<BuilderMethod> methods4 =null; 446 447 try { 448 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:163:3: ( ^( I_CLASS_DEF header methods fields annotations ) ) 449 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:163:5: ^( I_CLASS_DEF header methods fields annotations ) 450 { 451 match(input,I_CLASS_DEF,FOLLOW_I_CLASS_DEF_in_smali_file52); 452 match(input, Token.DOWN, null); 453 pushFollow(FOLLOW_header_in_smali_file54); 454 header1=header(); 455 state._fsp--; 456 457 pushFollow(FOLLOW_methods_in_smali_file56); 458 methods4=methods(); 459 state._fsp--; 460 461 pushFollow(FOLLOW_fields_in_smali_file58); 462 fields3=fields(); 463 state._fsp--; 464 465 pushFollow(FOLLOW_annotations_in_smali_file60); 466 annotations2=annotations(); 467 state._fsp--; 468 469 match(input, Token.UP, null); 470 471 472 classDef = dexBuilder.internClassDef((header1!=null?((smaliTreeWalker.header_return)header1).classType:null), (header1!=null?((smaliTreeWalker.header_return)header1).accessFlags:0), (header1!=null?((smaliTreeWalker.header_return)header1).superType:null), 473 (header1!=null?((smaliTreeWalker.header_return)header1).implementsList:null), (header1!=null?((smaliTreeWalker.header_return)header1).sourceSpec:null), annotations2, fields3, methods4); 474 475 } 476 477 } 478 catch (Exception ex) { 479 480 if (verboseErrors) { 481 ex.printStackTrace(System.err); 482 } 483 reportError(new SemanticException(input, ex)); 484 485 } 486 487 finally { 488 // do for sure before leaving 489 } 490 return classDef; 491 } 492 // $ANTLR end "smali_file" 493 494 495 public static class header_return extends TreeRuleReturnScope { 496 public String classType; 497 public int accessFlags; 498 public String superType; 499 public List<String> implementsList; 500 public String sourceSpec; 501 }; 502 503 504 // $ANTLR start "header" 505 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:176:1: header returns [String classType, int accessFlags, String superType, List<String> implementsList, String sourceSpec] : class_spec ( super_spec )? implements_list source_spec ; header()506 public final smaliTreeWalker.header_return header() throws RecognitionException { 507 smaliTreeWalker.header_return retval = new smaliTreeWalker.header_return(); 508 retval.start = input.LT(1); 509 510 TreeRuleReturnScope class_spec5 =null; 511 String super_spec6 =null; 512 List<String> implements_list7 =null; 513 String source_spec8 =null; 514 515 try { 516 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:177:3: ( class_spec ( super_spec )? implements_list source_spec ) 517 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:177:3: class_spec ( super_spec )? implements_list source_spec 518 { 519 pushFollow(FOLLOW_class_spec_in_header85); 520 class_spec5=class_spec(); 521 state._fsp--; 522 523 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:177:14: ( super_spec )? 524 int alt1=2; 525 int LA1_0 = input.LA(1); 526 if ( (LA1_0==I_SUPER) ) { 527 alt1=1; 528 } 529 switch (alt1) { 530 case 1 : 531 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:177:14: super_spec 532 { 533 pushFollow(FOLLOW_super_spec_in_header87); 534 super_spec6=super_spec(); 535 state._fsp--; 536 537 } 538 break; 539 540 } 541 542 pushFollow(FOLLOW_implements_list_in_header90); 543 implements_list7=implements_list(); 544 state._fsp--; 545 546 pushFollow(FOLLOW_source_spec_in_header92); 547 source_spec8=source_spec(); 548 state._fsp--; 549 550 551 classType = (class_spec5!=null?((smaliTreeWalker.class_spec_return)class_spec5).type:null); 552 retval.classType = classType; 553 retval.accessFlags = (class_spec5!=null?((smaliTreeWalker.class_spec_return)class_spec5).accessFlags:0); 554 retval.superType = super_spec6; 555 retval.implementsList = implements_list7; 556 retval.sourceSpec = source_spec8; 557 558 } 559 560 } 561 catch (RecognitionException re) { 562 reportError(re); 563 recover(input,re); 564 } 565 finally { 566 // do for sure before leaving 567 } 568 return retval; 569 } 570 // $ANTLR end "header" 571 572 573 public static class class_spec_return extends TreeRuleReturnScope { 574 public String type; 575 public int accessFlags; 576 }; 577 578 579 // $ANTLR start "class_spec" 580 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:188:1: class_spec returns [String type, int accessFlags] : CLASS_DESCRIPTOR access_list ; class_spec()581 public final smaliTreeWalker.class_spec_return class_spec() throws RecognitionException { 582 smaliTreeWalker.class_spec_return retval = new smaliTreeWalker.class_spec_return(); 583 retval.start = input.LT(1); 584 585 CommonTree CLASS_DESCRIPTOR9=null; 586 int access_list10 =0; 587 588 try { 589 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:189:3: ( CLASS_DESCRIPTOR access_list ) 590 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:189:5: CLASS_DESCRIPTOR access_list 591 { 592 CLASS_DESCRIPTOR9=(CommonTree)match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_class_spec110); 593 pushFollow(FOLLOW_access_list_in_class_spec112); 594 access_list10=access_list(); 595 state._fsp--; 596 597 598 retval.type = (CLASS_DESCRIPTOR9!=null?CLASS_DESCRIPTOR9.getText():null); 599 retval.accessFlags = access_list10; 600 601 } 602 603 } 604 catch (RecognitionException re) { 605 reportError(re); 606 recover(input,re); 607 } 608 finally { 609 // do for sure before leaving 610 } 611 return retval; 612 } 613 // $ANTLR end "class_spec" 614 615 616 617 // $ANTLR start "super_spec" 618 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:195:1: super_spec returns [String type] : ^( I_SUPER CLASS_DESCRIPTOR ) ; super_spec()619 public final String super_spec() throws RecognitionException { 620 String type = null; 621 622 623 CommonTree CLASS_DESCRIPTOR11=null; 624 625 try { 626 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:196:3: ( ^( I_SUPER CLASS_DESCRIPTOR ) ) 627 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:196:5: ^( I_SUPER CLASS_DESCRIPTOR ) 628 { 629 match(input,I_SUPER,FOLLOW_I_SUPER_in_super_spec130); 630 match(input, Token.DOWN, null); 631 CLASS_DESCRIPTOR11=(CommonTree)match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_super_spec132); 632 match(input, Token.UP, null); 633 634 635 type = (CLASS_DESCRIPTOR11!=null?CLASS_DESCRIPTOR11.getText():null); 636 637 } 638 639 } 640 catch (RecognitionException re) { 641 reportError(re); 642 recover(input,re); 643 } 644 finally { 645 // do for sure before leaving 646 } 647 return type; 648 } 649 // $ANTLR end "super_spec" 650 651 652 653 // $ANTLR start "implements_spec" 654 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:202:1: implements_spec returns [String type] : ^( I_IMPLEMENTS CLASS_DESCRIPTOR ) ; implements_spec()655 public final String implements_spec() throws RecognitionException { 656 String type = null; 657 658 659 CommonTree CLASS_DESCRIPTOR12=null; 660 661 try { 662 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:203:3: ( ^( I_IMPLEMENTS CLASS_DESCRIPTOR ) ) 663 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:203:5: ^( I_IMPLEMENTS CLASS_DESCRIPTOR ) 664 { 665 match(input,I_IMPLEMENTS,FOLLOW_I_IMPLEMENTS_in_implements_spec152); 666 match(input, Token.DOWN, null); 667 CLASS_DESCRIPTOR12=(CommonTree)match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_implements_spec154); 668 match(input, Token.UP, null); 669 670 671 type = (CLASS_DESCRIPTOR12!=null?CLASS_DESCRIPTOR12.getText():null); 672 673 } 674 675 } 676 catch (RecognitionException re) { 677 reportError(re); 678 recover(input,re); 679 } 680 finally { 681 // do for sure before leaving 682 } 683 return type; 684 } 685 // $ANTLR end "implements_spec" 686 687 688 689 // $ANTLR start "implements_list" 690 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:208:1: implements_list returns [List<String> implementsList] : ( implements_spec )* ; implements_list()691 public final List<String> implements_list() throws RecognitionException { 692 List<String> implementsList = null; 693 694 695 String implements_spec13 =null; 696 697 List<String> typeList; 698 try { 699 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:210:3: ( ( implements_spec )* ) 700 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:210:5: ( implements_spec )* 701 { 702 typeList = Lists.newArrayList(); 703 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:211:5: ( implements_spec )* 704 loop2: 705 while (true) { 706 int alt2=2; 707 int LA2_0 = input.LA(1); 708 if ( (LA2_0==I_IMPLEMENTS) ) { 709 alt2=1; 710 } 711 712 switch (alt2) { 713 case 1 : 714 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:211:6: implements_spec 715 { 716 pushFollow(FOLLOW_implements_spec_in_implements_list184); 717 implements_spec13=implements_spec(); 718 state._fsp--; 719 720 typeList.add(implements_spec13); 721 } 722 break; 723 724 default : 725 break loop2; 726 } 727 } 728 729 730 if (typeList.size() > 0) { 731 implementsList = typeList; 732 } else { 733 implementsList = null; 734 } 735 736 } 737 738 } 739 catch (RecognitionException re) { 740 reportError(re); 741 recover(input,re); 742 } 743 finally { 744 // do for sure before leaving 745 } 746 return implementsList; 747 } 748 // $ANTLR end "implements_list" 749 750 751 752 // $ANTLR start "source_spec" 753 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:220:1: source_spec returns [String source] : ( ^( I_SOURCE string_literal ) |); source_spec()754 public final String source_spec() throws RecognitionException { 755 String source = null; 756 757 758 String string_literal14 =null; 759 760 try { 761 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:221:3: ( ^( I_SOURCE string_literal ) |) 762 int alt3=2; 763 int LA3_0 = input.LA(1); 764 if ( (LA3_0==I_SOURCE) ) { 765 alt3=1; 766 } 767 else if ( (LA3_0==I_METHODS) ) { 768 alt3=2; 769 } 770 771 else { 772 NoViableAltException nvae = 773 new NoViableAltException("", 3, 0, input); 774 throw nvae; 775 } 776 777 switch (alt3) { 778 case 1 : 779 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:221:5: ^( I_SOURCE string_literal ) 780 { 781 source = null; 782 match(input,I_SOURCE,FOLLOW_I_SOURCE_in_source_spec213); 783 match(input, Token.DOWN, null); 784 pushFollow(FOLLOW_string_literal_in_source_spec215); 785 string_literal14=string_literal(); 786 state._fsp--; 787 788 source = string_literal14; 789 match(input, Token.UP, null); 790 791 } 792 break; 793 case 2 : 794 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:223:16: 795 { 796 } 797 break; 798 799 } 800 } 801 catch (RecognitionException re) { 802 reportError(re); 803 recover(input,re); 804 } 805 finally { 806 // do for sure before leaving 807 } 808 return source; 809 } 810 // $ANTLR end "source_spec" 811 812 813 814 // $ANTLR start "access_list" 815 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:225:1: access_list returns [int value] : ^( I_ACCESS_LIST ( ACCESS_SPEC )* ) ; access_list()816 public final int access_list() throws RecognitionException { 817 int value = 0; 818 819 820 CommonTree ACCESS_SPEC15=null; 821 822 823 value = 0; 824 825 try { 826 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:230:3: ( ^( I_ACCESS_LIST ( ACCESS_SPEC )* ) ) 827 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:230:5: ^( I_ACCESS_LIST ( ACCESS_SPEC )* ) 828 { 829 match(input,I_ACCESS_LIST,FOLLOW_I_ACCESS_LIST_in_access_list247); 830 if ( input.LA(1)==Token.DOWN ) { 831 match(input, Token.DOWN, null); 832 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:231:7: ( ACCESS_SPEC )* 833 loop4: 834 while (true) { 835 int alt4=2; 836 int LA4_0 = input.LA(1); 837 if ( (LA4_0==ACCESS_SPEC) ) { 838 alt4=1; 839 } 840 841 switch (alt4) { 842 case 1 : 843 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:232:9: ACCESS_SPEC 844 { 845 ACCESS_SPEC15=(CommonTree)match(input,ACCESS_SPEC,FOLLOW_ACCESS_SPEC_in_access_list265); 846 847 value |= AccessFlags.getAccessFlag(ACCESS_SPEC15.getText()).getValue(); 848 849 } 850 break; 851 852 default : 853 break loop4; 854 } 855 } 856 857 match(input, Token.UP, null); 858 } 859 860 } 861 862 } 863 catch (RecognitionException re) { 864 reportError(re); 865 recover(input,re); 866 } 867 finally { 868 // do for sure before leaving 869 } 870 return value; 871 } 872 // $ANTLR end "access_list" 873 874 875 public static class access_or_restriction_list_return extends TreeRuleReturnScope { 876 public int value; 877 public Set<HiddenApiRestriction> hiddenApiRestrictions; 878 }; 879 880 881 // $ANTLR start "access_or_restriction_list" 882 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:238:1: access_or_restriction_list returns [int value, Set<HiddenApiRestriction> hiddenApiRestrictions] : ^( I_ACCESS_OR_RESTRICTION_LIST ( ACCESS_SPEC | HIDDENAPI_RESTRICTION )* ) ; access_or_restriction_list()883 public final smaliTreeWalker.access_or_restriction_list_return access_or_restriction_list() throws RecognitionException { 884 smaliTreeWalker.access_or_restriction_list_return retval = new smaliTreeWalker.access_or_restriction_list_return(); 885 retval.start = input.LT(1); 886 887 CommonTree ACCESS_SPEC16=null; 888 CommonTree HIDDENAPI_RESTRICTION17=null; 889 890 891 retval.value = 0; 892 HiddenApiRestriction hiddenApiRestriction = null; 893 List<HiddenApiRestriction> domainSpecificApiRestrictions = new ArrayList<>(); 894 895 try { 896 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:245:3: ( ^( I_ACCESS_OR_RESTRICTION_LIST ( ACCESS_SPEC | HIDDENAPI_RESTRICTION )* ) ) 897 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:245:5: ^( I_ACCESS_OR_RESTRICTION_LIST ( ACCESS_SPEC | HIDDENAPI_RESTRICTION )* ) 898 { 899 match(input,I_ACCESS_OR_RESTRICTION_LIST,FOLLOW_I_ACCESS_OR_RESTRICTION_LIST_in_access_or_restriction_list308); 900 if ( input.LA(1)==Token.DOWN ) { 901 match(input, Token.DOWN, null); 902 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:246:7: ( ACCESS_SPEC | HIDDENAPI_RESTRICTION )* 903 loop5: 904 while (true) { 905 int alt5=3; 906 int LA5_0 = input.LA(1); 907 if ( (LA5_0==ACCESS_SPEC) ) { 908 alt5=1; 909 } 910 else if ( (LA5_0==HIDDENAPI_RESTRICTION) ) { 911 alt5=2; 912 } 913 914 switch (alt5) { 915 case 1 : 916 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:247:9: ACCESS_SPEC 917 { 918 ACCESS_SPEC16=(CommonTree)match(input,ACCESS_SPEC,FOLLOW_ACCESS_SPEC_in_access_or_restriction_list326); 919 920 retval.value |= AccessFlags.getAccessFlag(ACCESS_SPEC16.getText()).getValue(); 921 922 } 923 break; 924 case 2 : 925 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:252:9: HIDDENAPI_RESTRICTION 926 { 927 HIDDENAPI_RESTRICTION17=(CommonTree)match(input,HIDDENAPI_RESTRICTION,FOLLOW_HIDDENAPI_RESTRICTION_in_access_or_restriction_list356); 928 929 if (opcodes.api < 29) { 930 throw new SemanticException(input, HIDDENAPI_RESTRICTION17, "Hidden API restrictions are only supported on api 29 and above."); 931 } 932 933 HiddenApiRestriction restriction = HiddenApiRestriction.forName(HIDDENAPI_RESTRICTION17.getText()); 934 if (restriction.isDomainSpecificApiFlag()) { 935 domainSpecificApiRestrictions.add(restriction); 936 } else { 937 if (hiddenApiRestriction != null) { 938 throw new SemanticException(input, HIDDENAPI_RESTRICTION17, "Only one hidden api restriction may be specified."); 939 } 940 hiddenApiRestriction = restriction; 941 } 942 943 } 944 break; 945 946 default : 947 break loop5; 948 } 949 } 950 951 match(input, Token.UP, null); 952 } 953 954 955 ImmutableSet.Builder builder = ImmutableSet.builder(); 956 if (hiddenApiRestriction != null) { 957 builder.add(hiddenApiRestriction); 958 } 959 builder.addAll(domainSpecificApiRestrictions); 960 retval.hiddenApiRestrictions = builder.build(); 961 962 } 963 964 } 965 catch (RecognitionException re) { 966 reportError(re); 967 recover(input,re); 968 } 969 finally { 970 // do for sure before leaving 971 } 972 return retval; 973 } 974 // $ANTLR end "access_or_restriction_list" 975 976 977 978 // $ANTLR start "fields" 979 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:278:1: fields returns [List<BuilderField> fields] : ^( I_FIELDS ( field )* ) ; fields()980 public final List<BuilderField> fields() throws RecognitionException { 981 List<BuilderField> fields = null; 982 983 984 BuilderField field18 =null; 985 986 fields = Lists.newArrayList(); 987 try { 988 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:280:3: ( ^( I_FIELDS ( field )* ) ) 989 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:280:5: ^( I_FIELDS ( field )* ) 990 { 991 match(input,I_FIELDS,FOLLOW_I_FIELDS_in_fields405); 992 if ( input.LA(1)==Token.DOWN ) { 993 match(input, Token.DOWN, null); 994 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:281:7: ( field )* 995 loop6: 996 while (true) { 997 int alt6=2; 998 int LA6_0 = input.LA(1); 999 if ( (LA6_0==I_FIELD) ) { 1000 alt6=1; 1001 } 1002 1003 switch (alt6) { 1004 case 1 : 1005 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:281:8: field 1006 { 1007 pushFollow(FOLLOW_field_in_fields414); 1008 field18=field(); 1009 state._fsp--; 1010 1011 1012 fields.add(field18); 1013 1014 } 1015 break; 1016 1017 default : 1018 break loop6; 1019 } 1020 } 1021 1022 match(input, Token.UP, null); 1023 } 1024 1025 } 1026 1027 } 1028 catch (RecognitionException re) { 1029 reportError(re); 1030 recover(input,re); 1031 } 1032 finally { 1033 // do for sure before leaving 1034 } 1035 return fields; 1036 } 1037 // $ANTLR end "fields" 1038 1039 1040 1041 // $ANTLR start "methods" 1042 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:286:1: methods returns [List<BuilderMethod> methods] : ^( I_METHODS ( method )* ) ; methods()1043 public final List<BuilderMethod> methods() throws RecognitionException { 1044 List<BuilderMethod> methods = null; 1045 1046 1047 BuilderMethod method19 =null; 1048 1049 methods = Lists.newArrayList(); 1050 try { 1051 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:288:3: ( ^( I_METHODS ( method )* ) ) 1052 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:288:5: ^( I_METHODS ( method )* ) 1053 { 1054 match(input,I_METHODS,FOLLOW_I_METHODS_in_methods446); 1055 if ( input.LA(1)==Token.DOWN ) { 1056 match(input, Token.DOWN, null); 1057 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:289:7: ( method )* 1058 loop7: 1059 while (true) { 1060 int alt7=2; 1061 int LA7_0 = input.LA(1); 1062 if ( (LA7_0==I_METHOD) ) { 1063 alt7=1; 1064 } 1065 1066 switch (alt7) { 1067 case 1 : 1068 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:289:8: method 1069 { 1070 pushFollow(FOLLOW_method_in_methods455); 1071 method19=method(); 1072 state._fsp--; 1073 1074 1075 methods.add(method19); 1076 1077 } 1078 break; 1079 1080 default : 1081 break loop7; 1082 } 1083 } 1084 1085 match(input, Token.UP, null); 1086 } 1087 1088 } 1089 1090 } 1091 catch (RecognitionException re) { 1092 reportError(re); 1093 recover(input,re); 1094 } 1095 finally { 1096 // do for sure before leaving 1097 } 1098 return methods; 1099 } 1100 // $ANTLR end "methods" 1101 1102 1103 1104 // $ANTLR start "field" 1105 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:294:1: field returns [BuilderField field] : ^( I_FIELD SIMPLE_NAME access_or_restriction_list ^( I_FIELD_TYPE nonvoid_type_descriptor ) field_initial_value ( annotations )? ) ; field()1106 public final BuilderField field() throws RecognitionException { 1107 BuilderField field = null; 1108 1109 1110 CommonTree SIMPLE_NAME22=null; 1111 TreeRuleReturnScope access_or_restriction_list20 =null; 1112 EncodedValue field_initial_value21 =null; 1113 TreeRuleReturnScope nonvoid_type_descriptor23 =null; 1114 Set<Annotation> annotations24 =null; 1115 1116 try { 1117 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:295:3: ( ^( I_FIELD SIMPLE_NAME access_or_restriction_list ^( I_FIELD_TYPE nonvoid_type_descriptor ) field_initial_value ( annotations )? ) ) 1118 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:295:4: ^( I_FIELD SIMPLE_NAME access_or_restriction_list ^( I_FIELD_TYPE nonvoid_type_descriptor ) field_initial_value ( annotations )? ) 1119 { 1120 match(input,I_FIELD,FOLLOW_I_FIELD_in_field480); 1121 match(input, Token.DOWN, null); 1122 SIMPLE_NAME22=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_field482); 1123 pushFollow(FOLLOW_access_or_restriction_list_in_field484); 1124 access_or_restriction_list20=access_or_restriction_list(); 1125 state._fsp--; 1126 1127 match(input,I_FIELD_TYPE,FOLLOW_I_FIELD_TYPE_in_field487); 1128 match(input, Token.DOWN, null); 1129 pushFollow(FOLLOW_nonvoid_type_descriptor_in_field489); 1130 nonvoid_type_descriptor23=nonvoid_type_descriptor(); 1131 state._fsp--; 1132 1133 match(input, Token.UP, null); 1134 1135 pushFollow(FOLLOW_field_initial_value_in_field492); 1136 field_initial_value21=field_initial_value(); 1137 state._fsp--; 1138 1139 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:295:113: ( annotations )? 1140 int alt8=2; 1141 int LA8_0 = input.LA(1); 1142 if ( (LA8_0==I_ANNOTATIONS) ) { 1143 alt8=1; 1144 } 1145 switch (alt8) { 1146 case 1 : 1147 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:295:113: annotations 1148 { 1149 pushFollow(FOLLOW_annotations_in_field494); 1150 annotations24=annotations(); 1151 state._fsp--; 1152 1153 } 1154 break; 1155 1156 } 1157 1158 match(input, Token.UP, null); 1159 1160 1161 int accessFlags = (access_or_restriction_list20!=null?((smaliTreeWalker.access_or_restriction_list_return)access_or_restriction_list20).value:0); 1162 Set<HiddenApiRestriction> hiddenApiRestrictions = (access_or_restriction_list20!=null?((smaliTreeWalker.access_or_restriction_list_return)access_or_restriction_list20).hiddenApiRestrictions:null); 1163 1164 if (!AccessFlags.STATIC.isSet(accessFlags) && field_initial_value21 != null) { 1165 throw new SemanticException(input, "Initial field values can only be specified for static fields."); 1166 } 1167 1168 field = dexBuilder.internField(classType, (SIMPLE_NAME22!=null?SIMPLE_NAME22.getText():null), (nonvoid_type_descriptor23!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor23).type:null), accessFlags, 1169 field_initial_value21, annotations24, hiddenApiRestrictions); 1170 1171 } 1172 1173 } 1174 catch (RecognitionException re) { 1175 reportError(re); 1176 recover(input,re); 1177 } 1178 finally { 1179 // do for sure before leaving 1180 } 1181 return field; 1182 } 1183 // $ANTLR end "field" 1184 1185 1186 1187 // $ANTLR start "field_initial_value" 1188 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:309:1: field_initial_value returns [EncodedValue encodedValue] : ( ^( I_FIELD_INITIAL_VALUE literal ) |); field_initial_value()1189 public final EncodedValue field_initial_value() throws RecognitionException { 1190 EncodedValue encodedValue = null; 1191 1192 1193 ImmutableEncodedValue literal25 =null; 1194 1195 try { 1196 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:310:3: ( ^( I_FIELD_INITIAL_VALUE literal ) |) 1197 int alt9=2; 1198 int LA9_0 = input.LA(1); 1199 if ( (LA9_0==I_FIELD_INITIAL_VALUE) ) { 1200 alt9=1; 1201 } 1202 else if ( (LA9_0==UP||LA9_0==I_ANNOTATIONS) ) { 1203 alt9=2; 1204 } 1205 1206 else { 1207 NoViableAltException nvae = 1208 new NoViableAltException("", 9, 0, input); 1209 throw nvae; 1210 } 1211 1212 switch (alt9) { 1213 case 1 : 1214 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:310:5: ^( I_FIELD_INITIAL_VALUE literal ) 1215 { 1216 match(input,I_FIELD_INITIAL_VALUE,FOLLOW_I_FIELD_INITIAL_VALUE_in_field_initial_value515); 1217 match(input, Token.DOWN, null); 1218 pushFollow(FOLLOW_literal_in_field_initial_value517); 1219 literal25=literal(); 1220 state._fsp--; 1221 1222 match(input, Token.UP, null); 1223 1224 encodedValue = literal25; 1225 } 1226 break; 1227 case 2 : 1228 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:311:16: 1229 { 1230 } 1231 break; 1232 1233 } 1234 } 1235 catch (RecognitionException re) { 1236 reportError(re); 1237 recover(input,re); 1238 } 1239 finally { 1240 // do for sure before leaving 1241 } 1242 return encodedValue; 1243 } 1244 // $ANTLR end "field_initial_value" 1245 1246 1247 1248 // $ANTLR start "literal" 1249 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:313:1: literal returns [ImmutableEncodedValue encodedValue] : ( integer_literal | long_literal | short_literal | byte_literal | float_literal | double_literal | char_literal | string_literal | bool_literal | NULL_LITERAL | type_descriptor | array_literal | subannotation | field_literal | method_literal | enum_literal | method_handle_literal | method_prototype ); literal()1250 public final ImmutableEncodedValue literal() throws RecognitionException { 1251 ImmutableEncodedValue encodedValue = null; 1252 1253 1254 int integer_literal26 =0; 1255 long long_literal27 =0; 1256 short short_literal28 =0; 1257 byte byte_literal29 =0; 1258 float float_literal30 =0.0f; 1259 double double_literal31 =0.0; 1260 char char_literal32 =0; 1261 String string_literal33 =null; 1262 boolean bool_literal34 =false; 1263 String type_descriptor35 =null; 1264 List<EncodedValue> array_literal36 =null; 1265 TreeRuleReturnScope subannotation37 =null; 1266 ImmutableFieldReference field_literal38 =null; 1267 ImmutableMethodReference method_literal39 =null; 1268 ImmutableFieldReference enum_literal40 =null; 1269 ImmutableMethodHandleReference method_handle_literal41 =null; 1270 ImmutableMethodProtoReference method_prototype42 =null; 1271 1272 try { 1273 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:314:3: ( integer_literal | long_literal | short_literal | byte_literal | float_literal | double_literal | char_literal | string_literal | bool_literal | NULL_LITERAL | type_descriptor | array_literal | subannotation | field_literal | method_literal | enum_literal | method_handle_literal | method_prototype ) 1274 int alt10=18; 1275 switch ( input.LA(1) ) { 1276 case INTEGER_LITERAL: 1277 { 1278 alt10=1; 1279 } 1280 break; 1281 case LONG_LITERAL: 1282 { 1283 alt10=2; 1284 } 1285 break; 1286 case SHORT_LITERAL: 1287 { 1288 alt10=3; 1289 } 1290 break; 1291 case BYTE_LITERAL: 1292 { 1293 alt10=4; 1294 } 1295 break; 1296 case FLOAT_LITERAL: 1297 { 1298 alt10=5; 1299 } 1300 break; 1301 case DOUBLE_LITERAL: 1302 { 1303 alt10=6; 1304 } 1305 break; 1306 case CHAR_LITERAL: 1307 { 1308 alt10=7; 1309 } 1310 break; 1311 case STRING_LITERAL: 1312 { 1313 alt10=8; 1314 } 1315 break; 1316 case BOOL_LITERAL: 1317 { 1318 alt10=9; 1319 } 1320 break; 1321 case NULL_LITERAL: 1322 { 1323 alt10=10; 1324 } 1325 break; 1326 case ARRAY_TYPE_PREFIX: 1327 case CLASS_DESCRIPTOR: 1328 case PRIMITIVE_TYPE: 1329 case VOID_TYPE: 1330 { 1331 alt10=11; 1332 } 1333 break; 1334 case I_ENCODED_ARRAY: 1335 { 1336 alt10=12; 1337 } 1338 break; 1339 case I_SUBANNOTATION: 1340 { 1341 alt10=13; 1342 } 1343 break; 1344 case I_ENCODED_FIELD: 1345 { 1346 alt10=14; 1347 } 1348 break; 1349 case I_ENCODED_METHOD: 1350 { 1351 alt10=15; 1352 } 1353 break; 1354 case I_ENCODED_ENUM: 1355 { 1356 alt10=16; 1357 } 1358 break; 1359 case I_ENCODED_METHOD_HANDLE: 1360 { 1361 alt10=17; 1362 } 1363 break; 1364 case I_METHOD_PROTOTYPE: 1365 { 1366 alt10=18; 1367 } 1368 break; 1369 default: 1370 NoViableAltException nvae = 1371 new NoViableAltException("", 10, 0, input); 1372 throw nvae; 1373 } 1374 switch (alt10) { 1375 case 1 : 1376 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:314:5: integer_literal 1377 { 1378 pushFollow(FOLLOW_integer_literal_in_literal539); 1379 integer_literal26=integer_literal(); 1380 state._fsp--; 1381 1382 encodedValue = new ImmutableIntEncodedValue(integer_literal26); 1383 } 1384 break; 1385 case 2 : 1386 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:315:5: long_literal 1387 { 1388 pushFollow(FOLLOW_long_literal_in_literal547); 1389 long_literal27=long_literal(); 1390 state._fsp--; 1391 1392 encodedValue = new ImmutableLongEncodedValue(long_literal27); 1393 } 1394 break; 1395 case 3 : 1396 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:316:5: short_literal 1397 { 1398 pushFollow(FOLLOW_short_literal_in_literal555); 1399 short_literal28=short_literal(); 1400 state._fsp--; 1401 1402 encodedValue = new ImmutableShortEncodedValue(short_literal28); 1403 } 1404 break; 1405 case 4 : 1406 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:317:5: byte_literal 1407 { 1408 pushFollow(FOLLOW_byte_literal_in_literal563); 1409 byte_literal29=byte_literal(); 1410 state._fsp--; 1411 1412 encodedValue = new ImmutableByteEncodedValue(byte_literal29); 1413 } 1414 break; 1415 case 5 : 1416 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:318:5: float_literal 1417 { 1418 pushFollow(FOLLOW_float_literal_in_literal571); 1419 float_literal30=float_literal(); 1420 state._fsp--; 1421 1422 encodedValue = new ImmutableFloatEncodedValue(float_literal30); 1423 } 1424 break; 1425 case 6 : 1426 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:319:5: double_literal 1427 { 1428 pushFollow(FOLLOW_double_literal_in_literal579); 1429 double_literal31=double_literal(); 1430 state._fsp--; 1431 1432 encodedValue = new ImmutableDoubleEncodedValue(double_literal31); 1433 } 1434 break; 1435 case 7 : 1436 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:320:5: char_literal 1437 { 1438 pushFollow(FOLLOW_char_literal_in_literal587); 1439 char_literal32=char_literal(); 1440 state._fsp--; 1441 1442 encodedValue = new ImmutableCharEncodedValue(char_literal32); 1443 } 1444 break; 1445 case 8 : 1446 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:321:5: string_literal 1447 { 1448 pushFollow(FOLLOW_string_literal_in_literal595); 1449 string_literal33=string_literal(); 1450 state._fsp--; 1451 1452 encodedValue = new ImmutableStringEncodedValue(string_literal33); 1453 } 1454 break; 1455 case 9 : 1456 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:322:5: bool_literal 1457 { 1458 pushFollow(FOLLOW_bool_literal_in_literal603); 1459 bool_literal34=bool_literal(); 1460 state._fsp--; 1461 1462 encodedValue = ImmutableBooleanEncodedValue.forBoolean(bool_literal34); 1463 } 1464 break; 1465 case 10 : 1466 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:323:5: NULL_LITERAL 1467 { 1468 match(input,NULL_LITERAL,FOLLOW_NULL_LITERAL_in_literal611); 1469 encodedValue = ImmutableNullEncodedValue.INSTANCE; 1470 } 1471 break; 1472 case 11 : 1473 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:324:5: type_descriptor 1474 { 1475 pushFollow(FOLLOW_type_descriptor_in_literal619); 1476 type_descriptor35=type_descriptor(); 1477 state._fsp--; 1478 1479 encodedValue = new ImmutableTypeEncodedValue(type_descriptor35); 1480 } 1481 break; 1482 case 12 : 1483 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:325:5: array_literal 1484 { 1485 pushFollow(FOLLOW_array_literal_in_literal627); 1486 array_literal36=array_literal(); 1487 state._fsp--; 1488 1489 encodedValue = new ImmutableArrayEncodedValue(array_literal36); 1490 } 1491 break; 1492 case 13 : 1493 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:326:5: subannotation 1494 { 1495 pushFollow(FOLLOW_subannotation_in_literal635); 1496 subannotation37=subannotation(); 1497 state._fsp--; 1498 1499 encodedValue = new ImmutableAnnotationEncodedValue((subannotation37!=null?((smaliTreeWalker.subannotation_return)subannotation37).annotationType:null), (subannotation37!=null?((smaliTreeWalker.subannotation_return)subannotation37).elements:null)); 1500 } 1501 break; 1502 case 14 : 1503 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:327:5: field_literal 1504 { 1505 pushFollow(FOLLOW_field_literal_in_literal643); 1506 field_literal38=field_literal(); 1507 state._fsp--; 1508 1509 encodedValue = new ImmutableFieldEncodedValue(field_literal38); 1510 } 1511 break; 1512 case 15 : 1513 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:328:5: method_literal 1514 { 1515 pushFollow(FOLLOW_method_literal_in_literal651); 1516 method_literal39=method_literal(); 1517 state._fsp--; 1518 1519 encodedValue = new ImmutableMethodEncodedValue(method_literal39); 1520 } 1521 break; 1522 case 16 : 1523 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:329:5: enum_literal 1524 { 1525 pushFollow(FOLLOW_enum_literal_in_literal659); 1526 enum_literal40=enum_literal(); 1527 state._fsp--; 1528 1529 encodedValue = new ImmutableEnumEncodedValue(enum_literal40); 1530 } 1531 break; 1532 case 17 : 1533 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:330:5: method_handle_literal 1534 { 1535 pushFollow(FOLLOW_method_handle_literal_in_literal667); 1536 method_handle_literal41=method_handle_literal(); 1537 state._fsp--; 1538 1539 encodedValue = new ImmutableMethodHandleEncodedValue(method_handle_literal41); 1540 } 1541 break; 1542 case 18 : 1543 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:331:5: method_prototype 1544 { 1545 pushFollow(FOLLOW_method_prototype_in_literal675); 1546 method_prototype42=method_prototype(); 1547 state._fsp--; 1548 1549 encodedValue = new ImmutableMethodTypeEncodedValue(method_prototype42); 1550 } 1551 break; 1552 1553 } 1554 } 1555 catch (RecognitionException re) { 1556 reportError(re); 1557 recover(input,re); 1558 } 1559 finally { 1560 // do for sure before leaving 1561 } 1562 return encodedValue; 1563 } 1564 // $ANTLR end "literal" 1565 1566 1567 1568 // $ANTLR start "fixed_64bit_literal_number" 1569 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:334:1: fixed_64bit_literal_number returns [Number value] : ( integer_literal | long_literal | short_literal | byte_literal | float_literal | double_literal | char_literal | bool_literal ); fixed_64bit_literal_number()1570 public final Number fixed_64bit_literal_number() throws RecognitionException { 1571 Number value = null; 1572 1573 1574 int integer_literal43 =0; 1575 long long_literal44 =0; 1576 short short_literal45 =0; 1577 byte byte_literal46 =0; 1578 float float_literal47 =0.0f; 1579 double double_literal48 =0.0; 1580 char char_literal49 =0; 1581 boolean bool_literal50 =false; 1582 1583 try { 1584 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:335:3: ( integer_literal | long_literal | short_literal | byte_literal | float_literal | double_literal | char_literal | bool_literal ) 1585 int alt11=8; 1586 switch ( input.LA(1) ) { 1587 case INTEGER_LITERAL: 1588 { 1589 alt11=1; 1590 } 1591 break; 1592 case LONG_LITERAL: 1593 { 1594 alt11=2; 1595 } 1596 break; 1597 case SHORT_LITERAL: 1598 { 1599 alt11=3; 1600 } 1601 break; 1602 case BYTE_LITERAL: 1603 { 1604 alt11=4; 1605 } 1606 break; 1607 case FLOAT_LITERAL: 1608 { 1609 alt11=5; 1610 } 1611 break; 1612 case DOUBLE_LITERAL: 1613 { 1614 alt11=6; 1615 } 1616 break; 1617 case CHAR_LITERAL: 1618 { 1619 alt11=7; 1620 } 1621 break; 1622 case BOOL_LITERAL: 1623 { 1624 alt11=8; 1625 } 1626 break; 1627 default: 1628 NoViableAltException nvae = 1629 new NoViableAltException("", 11, 0, input); 1630 throw nvae; 1631 } 1632 switch (alt11) { 1633 case 1 : 1634 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:335:5: integer_literal 1635 { 1636 pushFollow(FOLLOW_integer_literal_in_fixed_64bit_literal_number691); 1637 integer_literal43=integer_literal(); 1638 state._fsp--; 1639 1640 value = integer_literal43; 1641 } 1642 break; 1643 case 2 : 1644 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:336:5: long_literal 1645 { 1646 pushFollow(FOLLOW_long_literal_in_fixed_64bit_literal_number699); 1647 long_literal44=long_literal(); 1648 state._fsp--; 1649 1650 value = long_literal44; 1651 } 1652 break; 1653 case 3 : 1654 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:337:5: short_literal 1655 { 1656 pushFollow(FOLLOW_short_literal_in_fixed_64bit_literal_number707); 1657 short_literal45=short_literal(); 1658 state._fsp--; 1659 1660 value = short_literal45; 1661 } 1662 break; 1663 case 4 : 1664 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:338:5: byte_literal 1665 { 1666 pushFollow(FOLLOW_byte_literal_in_fixed_64bit_literal_number715); 1667 byte_literal46=byte_literal(); 1668 state._fsp--; 1669 1670 value = byte_literal46; 1671 } 1672 break; 1673 case 5 : 1674 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:339:5: float_literal 1675 { 1676 pushFollow(FOLLOW_float_literal_in_fixed_64bit_literal_number723); 1677 float_literal47=float_literal(); 1678 state._fsp--; 1679 1680 value = Float.floatToRawIntBits(float_literal47); 1681 } 1682 break; 1683 case 6 : 1684 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:340:5: double_literal 1685 { 1686 pushFollow(FOLLOW_double_literal_in_fixed_64bit_literal_number731); 1687 double_literal48=double_literal(); 1688 state._fsp--; 1689 1690 value = Double.doubleToRawLongBits(double_literal48); 1691 } 1692 break; 1693 case 7 : 1694 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:341:5: char_literal 1695 { 1696 pushFollow(FOLLOW_char_literal_in_fixed_64bit_literal_number739); 1697 char_literal49=char_literal(); 1698 state._fsp--; 1699 1700 value = (int)char_literal49; 1701 } 1702 break; 1703 case 8 : 1704 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:342:5: bool_literal 1705 { 1706 pushFollow(FOLLOW_bool_literal_in_fixed_64bit_literal_number747); 1707 bool_literal50=bool_literal(); 1708 state._fsp--; 1709 1710 value = bool_literal50?1:0; 1711 } 1712 break; 1713 1714 } 1715 } 1716 catch (RecognitionException re) { 1717 reportError(re); 1718 recover(input,re); 1719 } 1720 finally { 1721 // do for sure before leaving 1722 } 1723 return value; 1724 } 1725 // $ANTLR end "fixed_64bit_literal_number" 1726 1727 1728 1729 // $ANTLR start "fixed_64bit_literal" 1730 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:344:1: fixed_64bit_literal returns [long value] : ( integer_literal | long_literal | short_literal | byte_literal | float_literal | double_literal | char_literal | bool_literal ); fixed_64bit_literal()1731 public final long fixed_64bit_literal() throws RecognitionException { 1732 long value = 0; 1733 1734 1735 int integer_literal51 =0; 1736 long long_literal52 =0; 1737 short short_literal53 =0; 1738 byte byte_literal54 =0; 1739 float float_literal55 =0.0f; 1740 double double_literal56 =0.0; 1741 char char_literal57 =0; 1742 boolean bool_literal58 =false; 1743 1744 try { 1745 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:345:3: ( integer_literal | long_literal | short_literal | byte_literal | float_literal | double_literal | char_literal | bool_literal ) 1746 int alt12=8; 1747 switch ( input.LA(1) ) { 1748 case INTEGER_LITERAL: 1749 { 1750 alt12=1; 1751 } 1752 break; 1753 case LONG_LITERAL: 1754 { 1755 alt12=2; 1756 } 1757 break; 1758 case SHORT_LITERAL: 1759 { 1760 alt12=3; 1761 } 1762 break; 1763 case BYTE_LITERAL: 1764 { 1765 alt12=4; 1766 } 1767 break; 1768 case FLOAT_LITERAL: 1769 { 1770 alt12=5; 1771 } 1772 break; 1773 case DOUBLE_LITERAL: 1774 { 1775 alt12=6; 1776 } 1777 break; 1778 case CHAR_LITERAL: 1779 { 1780 alt12=7; 1781 } 1782 break; 1783 case BOOL_LITERAL: 1784 { 1785 alt12=8; 1786 } 1787 break; 1788 default: 1789 NoViableAltException nvae = 1790 new NoViableAltException("", 12, 0, input); 1791 throw nvae; 1792 } 1793 switch (alt12) { 1794 case 1 : 1795 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:345:5: integer_literal 1796 { 1797 pushFollow(FOLLOW_integer_literal_in_fixed_64bit_literal762); 1798 integer_literal51=integer_literal(); 1799 state._fsp--; 1800 1801 value = integer_literal51; 1802 } 1803 break; 1804 case 2 : 1805 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:346:5: long_literal 1806 { 1807 pushFollow(FOLLOW_long_literal_in_fixed_64bit_literal770); 1808 long_literal52=long_literal(); 1809 state._fsp--; 1810 1811 value = long_literal52; 1812 } 1813 break; 1814 case 3 : 1815 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:347:5: short_literal 1816 { 1817 pushFollow(FOLLOW_short_literal_in_fixed_64bit_literal778); 1818 short_literal53=short_literal(); 1819 state._fsp--; 1820 1821 value = short_literal53; 1822 } 1823 break; 1824 case 4 : 1825 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:348:5: byte_literal 1826 { 1827 pushFollow(FOLLOW_byte_literal_in_fixed_64bit_literal786); 1828 byte_literal54=byte_literal(); 1829 state._fsp--; 1830 1831 value = byte_literal54; 1832 } 1833 break; 1834 case 5 : 1835 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:349:5: float_literal 1836 { 1837 pushFollow(FOLLOW_float_literal_in_fixed_64bit_literal794); 1838 float_literal55=float_literal(); 1839 state._fsp--; 1840 1841 value = Float.floatToRawIntBits(float_literal55); 1842 } 1843 break; 1844 case 6 : 1845 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:350:5: double_literal 1846 { 1847 pushFollow(FOLLOW_double_literal_in_fixed_64bit_literal802); 1848 double_literal56=double_literal(); 1849 state._fsp--; 1850 1851 value = Double.doubleToRawLongBits(double_literal56); 1852 } 1853 break; 1854 case 7 : 1855 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:351:5: char_literal 1856 { 1857 pushFollow(FOLLOW_char_literal_in_fixed_64bit_literal810); 1858 char_literal57=char_literal(); 1859 state._fsp--; 1860 1861 value = char_literal57; 1862 } 1863 break; 1864 case 8 : 1865 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:352:5: bool_literal 1866 { 1867 pushFollow(FOLLOW_bool_literal_in_fixed_64bit_literal818); 1868 bool_literal58=bool_literal(); 1869 state._fsp--; 1870 1871 value = bool_literal58?1:0; 1872 } 1873 break; 1874 1875 } 1876 } 1877 catch (RecognitionException re) { 1878 reportError(re); 1879 recover(input,re); 1880 } 1881 finally { 1882 // do for sure before leaving 1883 } 1884 return value; 1885 } 1886 // $ANTLR end "fixed_64bit_literal" 1887 1888 1889 1890 // $ANTLR start "fixed_32bit_literal" 1891 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:356:1: fixed_32bit_literal returns [int value] : ( integer_literal | long_literal | short_literal | byte_literal | float_literal | char_literal | bool_literal ); fixed_32bit_literal()1892 public final int fixed_32bit_literal() throws RecognitionException { 1893 int value = 0; 1894 1895 1896 int integer_literal59 =0; 1897 long long_literal60 =0; 1898 short short_literal61 =0; 1899 byte byte_literal62 =0; 1900 float float_literal63 =0.0f; 1901 char char_literal64 =0; 1902 boolean bool_literal65 =false; 1903 1904 try { 1905 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:357:3: ( integer_literal | long_literal | short_literal | byte_literal | float_literal | char_literal | bool_literal ) 1906 int alt13=7; 1907 switch ( input.LA(1) ) { 1908 case INTEGER_LITERAL: 1909 { 1910 alt13=1; 1911 } 1912 break; 1913 case LONG_LITERAL: 1914 { 1915 alt13=2; 1916 } 1917 break; 1918 case SHORT_LITERAL: 1919 { 1920 alt13=3; 1921 } 1922 break; 1923 case BYTE_LITERAL: 1924 { 1925 alt13=4; 1926 } 1927 break; 1928 case FLOAT_LITERAL: 1929 { 1930 alt13=5; 1931 } 1932 break; 1933 case CHAR_LITERAL: 1934 { 1935 alt13=6; 1936 } 1937 break; 1938 case BOOL_LITERAL: 1939 { 1940 alt13=7; 1941 } 1942 break; 1943 default: 1944 NoViableAltException nvae = 1945 new NoViableAltException("", 13, 0, input); 1946 throw nvae; 1947 } 1948 switch (alt13) { 1949 case 1 : 1950 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:357:5: integer_literal 1951 { 1952 pushFollow(FOLLOW_integer_literal_in_fixed_32bit_literal835); 1953 integer_literal59=integer_literal(); 1954 state._fsp--; 1955 1956 value = integer_literal59; 1957 } 1958 break; 1959 case 2 : 1960 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:358:5: long_literal 1961 { 1962 pushFollow(FOLLOW_long_literal_in_fixed_32bit_literal843); 1963 long_literal60=long_literal(); 1964 state._fsp--; 1965 1966 LiteralTools.checkInt(long_literal60); value = (int)long_literal60; 1967 } 1968 break; 1969 case 3 : 1970 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:359:5: short_literal 1971 { 1972 pushFollow(FOLLOW_short_literal_in_fixed_32bit_literal851); 1973 short_literal61=short_literal(); 1974 state._fsp--; 1975 1976 value = short_literal61; 1977 } 1978 break; 1979 case 4 : 1980 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:360:5: byte_literal 1981 { 1982 pushFollow(FOLLOW_byte_literal_in_fixed_32bit_literal859); 1983 byte_literal62=byte_literal(); 1984 state._fsp--; 1985 1986 value = byte_literal62; 1987 } 1988 break; 1989 case 5 : 1990 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:361:5: float_literal 1991 { 1992 pushFollow(FOLLOW_float_literal_in_fixed_32bit_literal867); 1993 float_literal63=float_literal(); 1994 state._fsp--; 1995 1996 value = Float.floatToRawIntBits(float_literal63); 1997 } 1998 break; 1999 case 6 : 2000 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:362:5: char_literal 2001 { 2002 pushFollow(FOLLOW_char_literal_in_fixed_32bit_literal875); 2003 char_literal64=char_literal(); 2004 state._fsp--; 2005 2006 value = char_literal64; 2007 } 2008 break; 2009 case 7 : 2010 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:363:5: bool_literal 2011 { 2012 pushFollow(FOLLOW_bool_literal_in_fixed_32bit_literal883); 2013 bool_literal65=bool_literal(); 2014 state._fsp--; 2015 2016 value = bool_literal65?1:0; 2017 } 2018 break; 2019 2020 } 2021 } 2022 catch (RecognitionException re) { 2023 reportError(re); 2024 recover(input,re); 2025 } 2026 finally { 2027 // do for sure before leaving 2028 } 2029 return value; 2030 } 2031 // $ANTLR end "fixed_32bit_literal" 2032 2033 2034 2035 // $ANTLR start "array_elements" 2036 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:365:1: array_elements returns [List<Number> elements] : ^( I_ARRAY_ELEMENTS ( fixed_64bit_literal_number )* ) ; array_elements()2037 public final List<Number> array_elements() throws RecognitionException { 2038 List<Number> elements = null; 2039 2040 2041 Number fixed_64bit_literal_number66 =null; 2042 2043 try { 2044 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:366:3: ( ^( I_ARRAY_ELEMENTS ( fixed_64bit_literal_number )* ) ) 2045 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:366:5: ^( I_ARRAY_ELEMENTS ( fixed_64bit_literal_number )* ) 2046 { 2047 elements = Lists.newArrayList(); 2048 match(input,I_ARRAY_ELEMENTS,FOLLOW_I_ARRAY_ELEMENTS_in_array_elements905); 2049 if ( input.LA(1)==Token.DOWN ) { 2050 match(input, Token.DOWN, null); 2051 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:368:7: ( fixed_64bit_literal_number )* 2052 loop14: 2053 while (true) { 2054 int alt14=2; 2055 int LA14_0 = input.LA(1); 2056 if ( ((LA14_0 >= BOOL_LITERAL && LA14_0 <= BYTE_LITERAL)||LA14_0==CHAR_LITERAL||LA14_0==DOUBLE_LITERAL||LA14_0==FLOAT_LITERAL||LA14_0==INTEGER_LITERAL||LA14_0==LONG_LITERAL||LA14_0==SHORT_LITERAL) ) { 2057 alt14=1; 2058 } 2059 2060 switch (alt14) { 2061 case 1 : 2062 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:368:8: fixed_64bit_literal_number 2063 { 2064 pushFollow(FOLLOW_fixed_64bit_literal_number_in_array_elements914); 2065 fixed_64bit_literal_number66=fixed_64bit_literal_number(); 2066 state._fsp--; 2067 2068 2069 elements.add(fixed_64bit_literal_number66); 2070 2071 } 2072 break; 2073 2074 default : 2075 break loop14; 2076 } 2077 } 2078 2079 match(input, Token.UP, null); 2080 } 2081 2082 } 2083 2084 } 2085 catch (RecognitionException re) { 2086 reportError(re); 2087 recover(input,re); 2088 } 2089 finally { 2090 // do for sure before leaving 2091 } 2092 return elements; 2093 } 2094 // $ANTLR end "array_elements" 2095 2096 2097 2098 // $ANTLR start "packed_switch_elements" 2099 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:373:1: packed_switch_elements returns [List<Label> elements] : ^( I_PACKED_SWITCH_ELEMENTS ( label_ref )* ) ; packed_switch_elements()2100 public final List<Label> packed_switch_elements() throws RecognitionException { 2101 List<Label> elements = null; 2102 2103 2104 Label label_ref67 =null; 2105 2106 elements = Lists.newArrayList(); 2107 try { 2108 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:375:3: ( ^( I_PACKED_SWITCH_ELEMENTS ( label_ref )* ) ) 2109 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:376:5: ^( I_PACKED_SWITCH_ELEMENTS ( label_ref )* ) 2110 { 2111 match(input,I_PACKED_SWITCH_ELEMENTS,FOLLOW_I_PACKED_SWITCH_ELEMENTS_in_packed_switch_elements950); 2112 if ( input.LA(1)==Token.DOWN ) { 2113 match(input, Token.DOWN, null); 2114 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:377:7: ( label_ref )* 2115 loop15: 2116 while (true) { 2117 int alt15=2; 2118 int LA15_0 = input.LA(1); 2119 if ( (LA15_0==SIMPLE_NAME) ) { 2120 alt15=1; 2121 } 2122 2123 switch (alt15) { 2124 case 1 : 2125 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:377:8: label_ref 2126 { 2127 pushFollow(FOLLOW_label_ref_in_packed_switch_elements959); 2128 label_ref67=label_ref(); 2129 state._fsp--; 2130 2131 elements.add(label_ref67); 2132 } 2133 break; 2134 2135 default : 2136 break loop15; 2137 } 2138 } 2139 2140 match(input, Token.UP, null); 2141 } 2142 2143 } 2144 2145 } 2146 catch (RecognitionException re) { 2147 reportError(re); 2148 recover(input,re); 2149 } 2150 finally { 2151 // do for sure before leaving 2152 } 2153 return elements; 2154 } 2155 // $ANTLR end "packed_switch_elements" 2156 2157 2158 2159 // $ANTLR start "sparse_switch_elements" 2160 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:380:1: sparse_switch_elements returns [List<SwitchLabelElement> elements] : ^( I_SPARSE_SWITCH_ELEMENTS ( fixed_32bit_literal label_ref )* ) ; sparse_switch_elements()2161 public final List<SwitchLabelElement> sparse_switch_elements() throws RecognitionException { 2162 List<SwitchLabelElement> elements = null; 2163 2164 2165 int fixed_32bit_literal68 =0; 2166 Label label_ref69 =null; 2167 2168 elements = Lists.newArrayList(); 2169 try { 2170 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:382:3: ( ^( I_SPARSE_SWITCH_ELEMENTS ( fixed_32bit_literal label_ref )* ) ) 2171 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:383:5: ^( I_SPARSE_SWITCH_ELEMENTS ( fixed_32bit_literal label_ref )* ) 2172 { 2173 match(input,I_SPARSE_SWITCH_ELEMENTS,FOLLOW_I_SPARSE_SWITCH_ELEMENTS_in_sparse_switch_elements994); 2174 if ( input.LA(1)==Token.DOWN ) { 2175 match(input, Token.DOWN, null); 2176 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:384:8: ( fixed_32bit_literal label_ref )* 2177 loop16: 2178 while (true) { 2179 int alt16=2; 2180 int LA16_0 = input.LA(1); 2181 if ( ((LA16_0 >= BOOL_LITERAL && LA16_0 <= BYTE_LITERAL)||LA16_0==CHAR_LITERAL||LA16_0==FLOAT_LITERAL||LA16_0==INTEGER_LITERAL||LA16_0==LONG_LITERAL||LA16_0==SHORT_LITERAL) ) { 2182 alt16=1; 2183 } 2184 2185 switch (alt16) { 2186 case 1 : 2187 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:384:9: fixed_32bit_literal label_ref 2188 { 2189 pushFollow(FOLLOW_fixed_32bit_literal_in_sparse_switch_elements1004); 2190 fixed_32bit_literal68=fixed_32bit_literal(); 2191 state._fsp--; 2192 2193 pushFollow(FOLLOW_label_ref_in_sparse_switch_elements1006); 2194 label_ref69=label_ref(); 2195 state._fsp--; 2196 2197 2198 elements.add(new SwitchLabelElement(fixed_32bit_literal68, label_ref69)); 2199 2200 } 2201 break; 2202 2203 default : 2204 break loop16; 2205 } 2206 } 2207 2208 match(input, Token.UP, null); 2209 } 2210 2211 } 2212 2213 } 2214 catch (RecognitionException re) { 2215 reportError(re); 2216 recover(input,re); 2217 } 2218 finally { 2219 // do for sure before leaving 2220 } 2221 return elements; 2222 } 2223 // $ANTLR end "sparse_switch_elements" 2224 2225 2226 protected static class method_scope { 2227 boolean isStatic; 2228 int totalMethodRegisters; 2229 int methodParameterRegisters; 2230 MethodImplementationBuilder methodBuilder; 2231 } 2232 protected Stack<method_scope> method_stack = new Stack<method_scope>(); 2233 2234 2235 // $ANTLR start "method" 2236 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:390:1: method returns [BuilderMethod ret] : ^( I_METHOD method_name_and_prototype access_or_restriction_list ( ( registers_directive ) |) ordered_method_items catches parameters[$method_name_and_prototype.parameters] annotations ) ; method()2237 public final BuilderMethod method() throws RecognitionException { 2238 method_stack.push(new method_scope()); 2239 BuilderMethod ret = null; 2240 2241 2242 CommonTree I_METHOD74=null; 2243 TreeRuleReturnScope access_or_restriction_list70 =null; 2244 TreeRuleReturnScope method_name_and_prototype71 =null; 2245 TreeRuleReturnScope registers_directive72 =null; 2246 List<BuilderTryBlock> catches73 =null; 2247 Set<Annotation> annotations75 =null; 2248 2249 2250 method_stack.peek().totalMethodRegisters = 0; 2251 method_stack.peek().methodParameterRegisters = 0; 2252 int accessFlags = 0; 2253 method_stack.peek().isStatic = false; 2254 Set<HiddenApiRestriction> hiddenApiRestrictions = null; 2255 2256 try { 2257 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:406:3: ( ^( I_METHOD method_name_and_prototype access_or_restriction_list ( ( registers_directive ) |) ordered_method_items catches parameters[$method_name_and_prototype.parameters] annotations ) ) 2258 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:407:5: ^( I_METHOD method_name_and_prototype access_or_restriction_list ( ( registers_directive ) |) ordered_method_items catches parameters[$method_name_and_prototype.parameters] annotations ) 2259 { 2260 I_METHOD74=(CommonTree)match(input,I_METHOD,FOLLOW_I_METHOD_in_method1058); 2261 match(input, Token.DOWN, null); 2262 pushFollow(FOLLOW_method_name_and_prototype_in_method1066); 2263 method_name_and_prototype71=method_name_and_prototype(); 2264 state._fsp--; 2265 2266 pushFollow(FOLLOW_access_or_restriction_list_in_method1074); 2267 access_or_restriction_list70=access_or_restriction_list(); 2268 state._fsp--; 2269 2270 2271 accessFlags = (access_or_restriction_list70!=null?((smaliTreeWalker.access_or_restriction_list_return)access_or_restriction_list70).value:0); 2272 hiddenApiRestrictions = (access_or_restriction_list70!=null?((smaliTreeWalker.access_or_restriction_list_return)access_or_restriction_list70).hiddenApiRestrictions:null); 2273 method_stack.peek().isStatic = AccessFlags.STATIC.isSet(accessFlags); 2274 method_stack.peek().methodParameterRegisters = 2275 MethodUtil.getParameterRegisterCount((method_name_and_prototype71!=null?((smaliTreeWalker.method_name_and_prototype_return)method_name_and_prototype71).parameters:null), method_stack.peek().isStatic); 2276 2277 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:417:7: ( ( registers_directive ) |) 2278 int alt17=2; 2279 int LA17_0 = input.LA(1); 2280 if ( (LA17_0==I_LOCALS||LA17_0==I_REGISTERS) ) { 2281 alt17=1; 2282 } 2283 else if ( (LA17_0==I_ORDERED_METHOD_ITEMS) ) { 2284 alt17=2; 2285 } 2286 2287 else { 2288 NoViableAltException nvae = 2289 new NoViableAltException("", 17, 0, input); 2290 throw nvae; 2291 } 2292 2293 switch (alt17) { 2294 case 1 : 2295 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:418:9: ( registers_directive ) 2296 { 2297 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:418:9: ( registers_directive ) 2298 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:418:10: registers_directive 2299 { 2300 pushFollow(FOLLOW_registers_directive_in_method1101); 2301 registers_directive72=registers_directive(); 2302 state._fsp--; 2303 2304 2305 if ((registers_directive72!=null?((smaliTreeWalker.registers_directive_return)registers_directive72).isLocalsDirective:false)) { 2306 method_stack.peek().totalMethodRegisters = (registers_directive72!=null?((smaliTreeWalker.registers_directive_return)registers_directive72).registers:0) + method_stack.peek().methodParameterRegisters; 2307 } else { 2308 method_stack.peek().totalMethodRegisters = (registers_directive72!=null?((smaliTreeWalker.registers_directive_return)registers_directive72).registers:0); 2309 } 2310 2311 method_stack.peek().methodBuilder = new MethodImplementationBuilder(method_stack.peek().totalMethodRegisters); 2312 2313 2314 } 2315 2316 } 2317 break; 2318 case 2 : 2319 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:431:9: 2320 { 2321 2322 method_stack.peek().methodBuilder = new MethodImplementationBuilder(0); 2323 2324 } 2325 break; 2326 2327 } 2328 2329 pushFollow(FOLLOW_ordered_method_items_in_method1158); 2330 ordered_method_items(); 2331 state._fsp--; 2332 2333 pushFollow(FOLLOW_catches_in_method1166); 2334 catches73=catches(); 2335 state._fsp--; 2336 2337 pushFollow(FOLLOW_parameters_in_method1174); 2338 parameters((method_name_and_prototype71!=null?((smaliTreeWalker.method_name_and_prototype_return)method_name_and_prototype71).parameters:null)); 2339 state._fsp--; 2340 2341 pushFollow(FOLLOW_annotations_in_method1183); 2342 annotations75=annotations(); 2343 state._fsp--; 2344 2345 match(input, Token.UP, null); 2346 2347 2348 MethodImplementation methodImplementation = null; 2349 List<BuilderTryBlock> tryBlocks = catches73; 2350 2351 boolean isAbstract = false; 2352 boolean isNative = false; 2353 2354 if ((accessFlags & AccessFlags.ABSTRACT.getValue()) != 0) { 2355 isAbstract = true; 2356 } else if ((accessFlags & AccessFlags.NATIVE.getValue()) != 0) { 2357 isNative = true; 2358 } 2359 2360 methodImplementation = method_stack.peek().methodBuilder.getMethodImplementation(); 2361 2362 if (Iterables.isEmpty(methodImplementation.getInstructions())) { 2363 if (!isAbstract && !isNative) { 2364 throw new SemanticException(input, I_METHOD74, "A non-abstract/non-native method must have at least 1 instruction"); 2365 } 2366 2367 String methodType; 2368 if (isAbstract) { 2369 methodType = "an abstract"; 2370 } else { 2371 methodType = "a native"; 2372 } 2373 2374 if ((registers_directive72!=null?((CommonTree)registers_directive72.start):null) != null) { 2375 if ((registers_directive72!=null?((smaliTreeWalker.registers_directive_return)registers_directive72).isLocalsDirective:false)) { 2376 throw new SemanticException(input, (registers_directive72!=null?((CommonTree)registers_directive72.start):null), "A .locals directive is not valid in %s method", methodType); 2377 } else { 2378 throw new SemanticException(input, (registers_directive72!=null?((CommonTree)registers_directive72.start):null), "A .registers directive is not valid in %s method", methodType); 2379 } 2380 } 2381 2382 if (methodImplementation.getTryBlocks().size() > 0) { 2383 throw new SemanticException(input, I_METHOD74, "try/catch blocks cannot be present in %s method", methodType); 2384 } 2385 2386 if (!Iterables.isEmpty(methodImplementation.getDebugItems())) { 2387 throw new SemanticException(input, I_METHOD74, "debug directives cannot be present in %s method", methodType); 2388 } 2389 2390 methodImplementation = null; 2391 } else { 2392 if (isAbstract) { 2393 throw new SemanticException(input, I_METHOD74, "An abstract method cannot have any instructions"); 2394 } 2395 if (isNative) { 2396 throw new SemanticException(input, I_METHOD74, "A native method cannot have any instructions"); 2397 } 2398 2399 if ((registers_directive72!=null?((CommonTree)registers_directive72.start):null) == null) { 2400 throw new SemanticException(input, I_METHOD74, "A .registers or .locals directive must be present for a non-abstract/non-final method"); 2401 } 2402 2403 if (method_stack.peek().totalMethodRegisters < method_stack.peek().methodParameterRegisters) { 2404 throw new SemanticException(input, (registers_directive72!=null?((CommonTree)registers_directive72.start):null), "This method requires at least " + 2405 Integer.toString(method_stack.peek().methodParameterRegisters) + 2406 " registers, for the method parameters"); 2407 } 2408 } 2409 2410 ret = dexBuilder.internMethod( 2411 classType, 2412 (method_name_and_prototype71!=null?((smaliTreeWalker.method_name_and_prototype_return)method_name_and_prototype71).name:null), 2413 (method_name_and_prototype71!=null?((smaliTreeWalker.method_name_and_prototype_return)method_name_and_prototype71).parameters:null), 2414 (method_name_and_prototype71!=null?((smaliTreeWalker.method_name_and_prototype_return)method_name_and_prototype71).returnType:null), 2415 accessFlags, 2416 annotations75, 2417 hiddenApiRestrictions, 2418 methodImplementation); 2419 2420 } 2421 2422 } 2423 catch (RecognitionException re) { 2424 reportError(re); 2425 recover(input,re); 2426 } 2427 finally { 2428 // do for sure before leaving 2429 method_stack.pop(); 2430 } 2431 return ret; 2432 } 2433 // $ANTLR end "method" 2434 2435 2436 2437 // $ANTLR start "method_prototype" 2438 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:514:1: method_prototype returns [ImmutableMethodProtoReference proto] : ^( I_METHOD_PROTOTYPE ^( I_METHOD_RETURN_TYPE type_descriptor ) method_type_list ) ; method_prototype()2439 public final ImmutableMethodProtoReference method_prototype() throws RecognitionException { 2440 ImmutableMethodProtoReference proto = null; 2441 2442 2443 String type_descriptor76 =null; 2444 List<String> method_type_list77 =null; 2445 2446 try { 2447 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:515:3: ( ^( I_METHOD_PROTOTYPE ^( I_METHOD_RETURN_TYPE type_descriptor ) method_type_list ) ) 2448 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:515:5: ^( I_METHOD_PROTOTYPE ^( I_METHOD_RETURN_TYPE type_descriptor ) method_type_list ) 2449 { 2450 match(input,I_METHOD_PROTOTYPE,FOLLOW_I_METHOD_PROTOTYPE_in_method_prototype1207); 2451 match(input, Token.DOWN, null); 2452 match(input,I_METHOD_RETURN_TYPE,FOLLOW_I_METHOD_RETURN_TYPE_in_method_prototype1210); 2453 match(input, Token.DOWN, null); 2454 pushFollow(FOLLOW_type_descriptor_in_method_prototype1212); 2455 type_descriptor76=type_descriptor(); 2456 state._fsp--; 2457 2458 match(input, Token.UP, null); 2459 2460 pushFollow(FOLLOW_method_type_list_in_method_prototype1215); 2461 method_type_list77=method_type_list(); 2462 state._fsp--; 2463 2464 match(input, Token.UP, null); 2465 2466 2467 String returnType = type_descriptor76; 2468 List<String> parameters = method_type_list77; 2469 proto = new ImmutableMethodProtoReference(parameters, returnType); 2470 2471 } 2472 2473 } 2474 catch (RecognitionException re) { 2475 reportError(re); 2476 recover(input,re); 2477 } 2478 finally { 2479 // do for sure before leaving 2480 } 2481 return proto; 2482 } 2483 // $ANTLR end "method_prototype" 2484 2485 2486 public static class method_name_and_prototype_return extends TreeRuleReturnScope { 2487 public String name; 2488 public List<SmaliMethodParameter> parameters; 2489 public String returnType; 2490 }; 2491 2492 2493 // $ANTLR start "method_name_and_prototype" 2494 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:522:1: method_name_and_prototype returns [String name, List<SmaliMethodParameter> parameters, String returnType] : SIMPLE_NAME method_prototype ; method_name_and_prototype()2495 public final smaliTreeWalker.method_name_and_prototype_return method_name_and_prototype() throws RecognitionException { 2496 smaliTreeWalker.method_name_and_prototype_return retval = new smaliTreeWalker.method_name_and_prototype_return(); 2497 retval.start = input.LT(1); 2498 2499 CommonTree SIMPLE_NAME78=null; 2500 ImmutableMethodProtoReference method_prototype79 =null; 2501 2502 try { 2503 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:523:3: ( SIMPLE_NAME method_prototype ) 2504 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:523:5: SIMPLE_NAME method_prototype 2505 { 2506 SIMPLE_NAME78=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_method_name_and_prototype1233); 2507 pushFollow(FOLLOW_method_prototype_in_method_name_and_prototype1235); 2508 method_prototype79=method_prototype(); 2509 state._fsp--; 2510 2511 2512 retval.name = (SIMPLE_NAME78!=null?SIMPLE_NAME78.getText():null); 2513 retval.parameters = Lists.newArrayList(); 2514 2515 int paramRegister = 0; 2516 for (CharSequence type: method_prototype79.getParameterTypes()) { 2517 retval.parameters.add(new SmaliMethodParameter(paramRegister++, type.toString())); 2518 char c = type.charAt(0); 2519 if (c == 'D' || c == 'J') { 2520 paramRegister++; 2521 } 2522 } 2523 retval.returnType = method_prototype79.getReturnType(); 2524 2525 } 2526 2527 } 2528 catch (RecognitionException re) { 2529 reportError(re); 2530 recover(input,re); 2531 } 2532 finally { 2533 // do for sure before leaving 2534 } 2535 return retval; 2536 } 2537 // $ANTLR end "method_name_and_prototype" 2538 2539 2540 2541 // $ANTLR start "method_type_list" 2542 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:539:1: method_type_list returns [List<String> types] : ( nonvoid_type_descriptor )* ; method_type_list()2543 public final List<String> method_type_list() throws RecognitionException { 2544 List<String> types = null; 2545 2546 2547 TreeRuleReturnScope nonvoid_type_descriptor80 =null; 2548 2549 2550 types = Lists.newArrayList(); 2551 2552 try { 2553 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:544:3: ( ( nonvoid_type_descriptor )* ) 2554 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:544:5: ( nonvoid_type_descriptor )* 2555 { 2556 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:544:5: ( nonvoid_type_descriptor )* 2557 loop18: 2558 while (true) { 2559 int alt18=2; 2560 int LA18_0 = input.LA(1); 2561 if ( (LA18_0==ARRAY_TYPE_PREFIX||LA18_0==CLASS_DESCRIPTOR||LA18_0==PRIMITIVE_TYPE) ) { 2562 alt18=1; 2563 } 2564 2565 switch (alt18) { 2566 case 1 : 2567 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:545:7: nonvoid_type_descriptor 2568 { 2569 pushFollow(FOLLOW_nonvoid_type_descriptor_in_method_type_list1269); 2570 nonvoid_type_descriptor80=nonvoid_type_descriptor(); 2571 state._fsp--; 2572 2573 2574 types.add((nonvoid_type_descriptor80!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor80).type:null)); 2575 2576 } 2577 break; 2578 2579 default : 2580 break loop18; 2581 } 2582 } 2583 2584 } 2585 2586 } 2587 catch (RecognitionException re) { 2588 reportError(re); 2589 recover(input,re); 2590 } 2591 finally { 2592 // do for sure before leaving 2593 } 2594 return types; 2595 } 2596 // $ANTLR end "method_type_list" 2597 2598 2599 2600 // $ANTLR start "call_site_reference" 2601 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:551:1: call_site_reference returns [ImmutableCallSiteReference callSiteReference] : ^( I_CALL_SITE_REFERENCE call_site_name= SIMPLE_NAME method_name= string_literal method_prototype call_site_extra_arguments method_reference ) ; call_site_reference()2602 public final ImmutableCallSiteReference call_site_reference() throws RecognitionException { 2603 ImmutableCallSiteReference callSiteReference = null; 2604 2605 2606 CommonTree call_site_name=null; 2607 String method_name =null; 2608 ImmutableMethodReference method_reference81 =null; 2609 ImmutableMethodProtoReference method_prototype82 =null; 2610 List<ImmutableEncodedValue> call_site_extra_arguments83 =null; 2611 2612 try { 2613 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:552:3: ( ^( I_CALL_SITE_REFERENCE call_site_name= SIMPLE_NAME method_name= string_literal method_prototype call_site_extra_arguments method_reference ) ) 2614 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:553:3: ^( I_CALL_SITE_REFERENCE call_site_name= SIMPLE_NAME method_name= string_literal method_prototype call_site_extra_arguments method_reference ) 2615 { 2616 match(input,I_CALL_SITE_REFERENCE,FOLLOW_I_CALL_SITE_REFERENCE_in_call_site_reference1300); 2617 match(input, Token.DOWN, null); 2618 call_site_name=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_call_site_reference1304); 2619 pushFollow(FOLLOW_string_literal_in_call_site_reference1308); 2620 method_name=string_literal(); 2621 state._fsp--; 2622 2623 pushFollow(FOLLOW_method_prototype_in_call_site_reference1310); 2624 method_prototype82=method_prototype(); 2625 state._fsp--; 2626 2627 pushFollow(FOLLOW_call_site_extra_arguments_in_call_site_reference1320); 2628 call_site_extra_arguments83=call_site_extra_arguments(); 2629 state._fsp--; 2630 2631 pushFollow(FOLLOW_method_reference_in_call_site_reference1322); 2632 method_reference81=method_reference(); 2633 state._fsp--; 2634 2635 match(input, Token.UP, null); 2636 2637 2638 String callSiteName = (call_site_name!=null?call_site_name.getText():null); 2639 ImmutableMethodHandleReference methodHandleReference = 2640 new ImmutableMethodHandleReference(MethodHandleType.INVOKE_STATIC, 2641 method_reference81); 2642 callSiteReference = new ImmutableCallSiteReference( 2643 callSiteName, methodHandleReference, method_name, method_prototype82, 2644 call_site_extra_arguments83); 2645 2646 } 2647 2648 } 2649 catch (RecognitionException re) { 2650 reportError(re); 2651 recover(input,re); 2652 } 2653 finally { 2654 // do for sure before leaving 2655 } 2656 return callSiteReference; 2657 } 2658 // $ANTLR end "call_site_reference" 2659 2660 2661 public static class method_handle_type_return extends TreeRuleReturnScope { 2662 public int methodHandleType; 2663 }; 2664 2665 2666 // $ANTLR start "method_handle_type" 2667 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:565:1: method_handle_type returns [int methodHandleType] : ( METHOD_HANDLE_TYPE_FIELD | METHOD_HANDLE_TYPE_METHOD | INSTRUCTION_FORMAT35c_METHOD_OR_METHOD_HANDLE_TYPE ) ; method_handle_type()2668 public final smaliTreeWalker.method_handle_type_return method_handle_type() throws RecognitionException { 2669 smaliTreeWalker.method_handle_type_return retval = new smaliTreeWalker.method_handle_type_return(); 2670 retval.start = input.LT(1); 2671 2672 try { 2673 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:566:3: ( ( METHOD_HANDLE_TYPE_FIELD | METHOD_HANDLE_TYPE_METHOD | INSTRUCTION_FORMAT35c_METHOD_OR_METHOD_HANDLE_TYPE ) ) 2674 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:566:5: ( METHOD_HANDLE_TYPE_FIELD | METHOD_HANDLE_TYPE_METHOD | INSTRUCTION_FORMAT35c_METHOD_OR_METHOD_HANDLE_TYPE ) 2675 { 2676 if ( input.LA(1)==INSTRUCTION_FORMAT35c_METHOD_OR_METHOD_HANDLE_TYPE||(input.LA(1) >= METHOD_HANDLE_TYPE_FIELD && input.LA(1) <= METHOD_HANDLE_TYPE_METHOD) ) { 2677 input.consume(); 2678 state.errorRecovery=false; 2679 } 2680 else { 2681 MismatchedSetException mse = new MismatchedSetException(null,input); 2682 throw mse; 2683 } 2684 2685 retval.methodHandleType = MethodHandleType.getMethodHandleType(input.getTokenStream().toString(input.getTreeAdaptor().getTokenStartIndex(retval.start),input.getTreeAdaptor().getTokenStopIndex(retval.start))); 2686 2687 } 2688 2689 } 2690 catch (RecognitionException re) { 2691 reportError(re); 2692 recover(input,re); 2693 } 2694 finally { 2695 // do for sure before leaving 2696 } 2697 return retval; 2698 } 2699 // $ANTLR end "method_handle_type" 2700 2701 2702 2703 // $ANTLR start "method_handle_reference" 2704 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:570:1: method_handle_reference returns [ImmutableMethodHandleReference methodHandle] : method_handle_type ( field_reference | method_reference ) ; method_handle_reference()2705 public final ImmutableMethodHandleReference method_handle_reference() throws RecognitionException { 2706 ImmutableMethodHandleReference methodHandle = null; 2707 2708 2709 TreeRuleReturnScope field_reference84 =null; 2710 ImmutableMethodReference method_reference85 =null; 2711 TreeRuleReturnScope method_handle_type86 =null; 2712 2713 try { 2714 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:571:3: ( method_handle_type ( field_reference | method_reference ) ) 2715 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:571:5: method_handle_type ( field_reference | method_reference ) 2716 { 2717 pushFollow(FOLLOW_method_handle_type_in_method_handle_reference1367); 2718 method_handle_type86=method_handle_type(); 2719 state._fsp--; 2720 2721 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:571:24: ( field_reference | method_reference ) 2722 int alt19=2; 2723 switch ( input.LA(1) ) { 2724 case CLASS_DESCRIPTOR: 2725 { 2726 int LA19_1 = input.LA(2); 2727 if ( (LA19_1==SIMPLE_NAME) ) { 2728 int LA19_3 = input.LA(3); 2729 if ( (LA19_3==ARRAY_TYPE_PREFIX||LA19_3==CLASS_DESCRIPTOR||LA19_3==PRIMITIVE_TYPE) ) { 2730 alt19=1; 2731 } 2732 else if ( (LA19_3==I_METHOD_PROTOTYPE) ) { 2733 alt19=2; 2734 } 2735 2736 else { 2737 int nvaeMark = input.mark(); 2738 try { 2739 for (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) { 2740 input.consume(); 2741 } 2742 NoViableAltException nvae = 2743 new NoViableAltException("", 19, 3, input); 2744 throw nvae; 2745 } finally { 2746 input.rewind(nvaeMark); 2747 } 2748 } 2749 2750 } 2751 2752 else { 2753 int nvaeMark = input.mark(); 2754 try { 2755 input.consume(); 2756 NoViableAltException nvae = 2757 new NoViableAltException("", 19, 1, input); 2758 throw nvae; 2759 } finally { 2760 input.rewind(nvaeMark); 2761 } 2762 } 2763 2764 } 2765 break; 2766 case ARRAY_TYPE_PREFIX: 2767 { 2768 int LA19_2 = input.LA(2); 2769 if ( (LA19_2==PRIMITIVE_TYPE) ) { 2770 int LA19_4 = input.LA(3); 2771 if ( (LA19_4==SIMPLE_NAME) ) { 2772 int LA19_3 = input.LA(4); 2773 if ( (LA19_3==ARRAY_TYPE_PREFIX||LA19_3==CLASS_DESCRIPTOR||LA19_3==PRIMITIVE_TYPE) ) { 2774 alt19=1; 2775 } 2776 else if ( (LA19_3==I_METHOD_PROTOTYPE) ) { 2777 alt19=2; 2778 } 2779 2780 else { 2781 int nvaeMark = input.mark(); 2782 try { 2783 for (int nvaeConsume = 0; nvaeConsume < 4 - 1; nvaeConsume++) { 2784 input.consume(); 2785 } 2786 NoViableAltException nvae = 2787 new NoViableAltException("", 19, 3, input); 2788 throw nvae; 2789 } finally { 2790 input.rewind(nvaeMark); 2791 } 2792 } 2793 2794 } 2795 2796 else { 2797 int nvaeMark = input.mark(); 2798 try { 2799 for (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) { 2800 input.consume(); 2801 } 2802 NoViableAltException nvae = 2803 new NoViableAltException("", 19, 4, input); 2804 throw nvae; 2805 } finally { 2806 input.rewind(nvaeMark); 2807 } 2808 } 2809 2810 } 2811 else if ( (LA19_2==CLASS_DESCRIPTOR) ) { 2812 int LA19_5 = input.LA(3); 2813 if ( (LA19_5==SIMPLE_NAME) ) { 2814 int LA19_3 = input.LA(4); 2815 if ( (LA19_3==ARRAY_TYPE_PREFIX||LA19_3==CLASS_DESCRIPTOR||LA19_3==PRIMITIVE_TYPE) ) { 2816 alt19=1; 2817 } 2818 else if ( (LA19_3==I_METHOD_PROTOTYPE) ) { 2819 alt19=2; 2820 } 2821 2822 else { 2823 int nvaeMark = input.mark(); 2824 try { 2825 for (int nvaeConsume = 0; nvaeConsume < 4 - 1; nvaeConsume++) { 2826 input.consume(); 2827 } 2828 NoViableAltException nvae = 2829 new NoViableAltException("", 19, 3, input); 2830 throw nvae; 2831 } finally { 2832 input.rewind(nvaeMark); 2833 } 2834 } 2835 2836 } 2837 2838 else { 2839 int nvaeMark = input.mark(); 2840 try { 2841 for (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) { 2842 input.consume(); 2843 } 2844 NoViableAltException nvae = 2845 new NoViableAltException("", 19, 5, input); 2846 throw nvae; 2847 } finally { 2848 input.rewind(nvaeMark); 2849 } 2850 } 2851 2852 } 2853 2854 else { 2855 int nvaeMark = input.mark(); 2856 try { 2857 input.consume(); 2858 NoViableAltException nvae = 2859 new NoViableAltException("", 19, 2, input); 2860 throw nvae; 2861 } finally { 2862 input.rewind(nvaeMark); 2863 } 2864 } 2865 2866 } 2867 break; 2868 case SIMPLE_NAME: 2869 { 2870 int LA19_3 = input.LA(2); 2871 if ( (LA19_3==ARRAY_TYPE_PREFIX||LA19_3==CLASS_DESCRIPTOR||LA19_3==PRIMITIVE_TYPE) ) { 2872 alt19=1; 2873 } 2874 else if ( (LA19_3==I_METHOD_PROTOTYPE) ) { 2875 alt19=2; 2876 } 2877 2878 else { 2879 int nvaeMark = input.mark(); 2880 try { 2881 input.consume(); 2882 NoViableAltException nvae = 2883 new NoViableAltException("", 19, 3, input); 2884 throw nvae; 2885 } finally { 2886 input.rewind(nvaeMark); 2887 } 2888 } 2889 2890 } 2891 break; 2892 default: 2893 NoViableAltException nvae = 2894 new NoViableAltException("", 19, 0, input); 2895 throw nvae; 2896 } 2897 switch (alt19) { 2898 case 1 : 2899 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:571:25: field_reference 2900 { 2901 pushFollow(FOLLOW_field_reference_in_method_handle_reference1370); 2902 field_reference84=field_reference(); 2903 state._fsp--; 2904 2905 } 2906 break; 2907 case 2 : 2908 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:571:43: method_reference 2909 { 2910 pushFollow(FOLLOW_method_reference_in_method_handle_reference1374); 2911 method_reference85=method_reference(); 2912 state._fsp--; 2913 2914 } 2915 break; 2916 2917 } 2918 2919 2920 ImmutableReference reference; 2921 if ((field_reference84!=null?(input.getTokenStream().toString(input.getTreeAdaptor().getTokenStartIndex(field_reference84.start),input.getTreeAdaptor().getTokenStopIndex(field_reference84.start))):null) != null) { 2922 reference = (field_reference84!=null?((smaliTreeWalker.field_reference_return)field_reference84).fieldReference:null); 2923 } else { 2924 reference = method_reference85; 2925 } 2926 methodHandle = new ImmutableMethodHandleReference((method_handle_type86!=null?((smaliTreeWalker.method_handle_type_return)method_handle_type86).methodHandleType:0), reference); 2927 2928 } 2929 2930 } 2931 catch (RecognitionException re) { 2932 reportError(re); 2933 recover(input,re); 2934 } 2935 finally { 2936 // do for sure before leaving 2937 } 2938 return methodHandle; 2939 } 2940 // $ANTLR end "method_handle_reference" 2941 2942 2943 2944 // $ANTLR start "method_handle_literal" 2945 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:581:1: method_handle_literal returns [ImmutableMethodHandleReference value] : ^( I_ENCODED_METHOD_HANDLE method_handle_reference ) ; method_handle_literal()2946 public final ImmutableMethodHandleReference method_handle_literal() throws RecognitionException { 2947 ImmutableMethodHandleReference value = null; 2948 2949 2950 ImmutableMethodHandleReference method_handle_reference87 =null; 2951 2952 try { 2953 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:582:3: ( ^( I_ENCODED_METHOD_HANDLE method_handle_reference ) ) 2954 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:582:5: ^( I_ENCODED_METHOD_HANDLE method_handle_reference ) 2955 { 2956 match(input,I_ENCODED_METHOD_HANDLE,FOLLOW_I_ENCODED_METHOD_HANDLE_in_method_handle_literal1391); 2957 match(input, Token.DOWN, null); 2958 pushFollow(FOLLOW_method_handle_reference_in_method_handle_literal1393); 2959 method_handle_reference87=method_handle_reference(); 2960 state._fsp--; 2961 2962 match(input, Token.UP, null); 2963 2964 2965 value = method_handle_reference87; 2966 2967 } 2968 2969 } 2970 catch (RecognitionException re) { 2971 reportError(re); 2972 recover(input,re); 2973 } 2974 finally { 2975 // do for sure before leaving 2976 } 2977 return value; 2978 } 2979 // $ANTLR end "method_handle_literal" 2980 2981 2982 2983 // $ANTLR start "method_reference" 2984 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:586:1: method_reference returns [ImmutableMethodReference methodReference] : ( reference_type_descriptor )? SIMPLE_NAME method_prototype ; method_reference()2985 public final ImmutableMethodReference method_reference() throws RecognitionException { 2986 ImmutableMethodReference methodReference = null; 2987 2988 2989 CommonTree SIMPLE_NAME89=null; 2990 TreeRuleReturnScope reference_type_descriptor88 =null; 2991 ImmutableMethodProtoReference method_prototype90 =null; 2992 2993 try { 2994 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:587:3: ( ( reference_type_descriptor )? SIMPLE_NAME method_prototype ) 2995 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:587:5: ( reference_type_descriptor )? SIMPLE_NAME method_prototype 2996 { 2997 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:587:5: ( reference_type_descriptor )? 2998 int alt20=2; 2999 int LA20_0 = input.LA(1); 3000 if ( (LA20_0==ARRAY_TYPE_PREFIX||LA20_0==CLASS_DESCRIPTOR) ) { 3001 alt20=1; 3002 } 3003 switch (alt20) { 3004 case 1 : 3005 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:587:5: reference_type_descriptor 3006 { 3007 pushFollow(FOLLOW_reference_type_descriptor_in_method_reference1409); 3008 reference_type_descriptor88=reference_type_descriptor(); 3009 state._fsp--; 3010 3011 } 3012 break; 3013 3014 } 3015 3016 SIMPLE_NAME89=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_method_reference1412); 3017 pushFollow(FOLLOW_method_prototype_in_method_reference1414); 3018 method_prototype90=method_prototype(); 3019 state._fsp--; 3020 3021 3022 String type; 3023 if ((reference_type_descriptor88!=null?((smaliTreeWalker.reference_type_descriptor_return)reference_type_descriptor88).type:null) == null) { 3024 type = classType; 3025 } else { 3026 type = (reference_type_descriptor88!=null?((smaliTreeWalker.reference_type_descriptor_return)reference_type_descriptor88).type:null); 3027 } 3028 methodReference = new ImmutableMethodReference(type, (SIMPLE_NAME89!=null?SIMPLE_NAME89.getText():null), 3029 method_prototype90.getParameterTypes(), method_prototype90.getReturnType()); 3030 3031 } 3032 3033 } 3034 catch (RecognitionException re) { 3035 reportError(re); 3036 recover(input,re); 3037 } 3038 finally { 3039 // do for sure before leaving 3040 } 3041 return methodReference; 3042 } 3043 // $ANTLR end "method_reference" 3044 3045 3046 public static class field_reference_return extends TreeRuleReturnScope { 3047 public ImmutableFieldReference fieldReference; 3048 }; 3049 3050 3051 // $ANTLR start "field_reference" 3052 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:599:1: field_reference returns [ImmutableFieldReference fieldReference] : ( reference_type_descriptor )? SIMPLE_NAME nonvoid_type_descriptor ; field_reference()3053 public final smaliTreeWalker.field_reference_return field_reference() throws RecognitionException { 3054 smaliTreeWalker.field_reference_return retval = new smaliTreeWalker.field_reference_return(); 3055 retval.start = input.LT(1); 3056 3057 CommonTree SIMPLE_NAME92=null; 3058 TreeRuleReturnScope reference_type_descriptor91 =null; 3059 TreeRuleReturnScope nonvoid_type_descriptor93 =null; 3060 3061 try { 3062 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:600:3: ( ( reference_type_descriptor )? SIMPLE_NAME nonvoid_type_descriptor ) 3063 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:600:5: ( reference_type_descriptor )? SIMPLE_NAME nonvoid_type_descriptor 3064 { 3065 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:600:5: ( reference_type_descriptor )? 3066 int alt21=2; 3067 int LA21_0 = input.LA(1); 3068 if ( (LA21_0==ARRAY_TYPE_PREFIX||LA21_0==CLASS_DESCRIPTOR) ) { 3069 alt21=1; 3070 } 3071 switch (alt21) { 3072 case 1 : 3073 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:600:5: reference_type_descriptor 3074 { 3075 pushFollow(FOLLOW_reference_type_descriptor_in_field_reference1431); 3076 reference_type_descriptor91=reference_type_descriptor(); 3077 state._fsp--; 3078 3079 } 3080 break; 3081 3082 } 3083 3084 SIMPLE_NAME92=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_field_reference1434); 3085 pushFollow(FOLLOW_nonvoid_type_descriptor_in_field_reference1436); 3086 nonvoid_type_descriptor93=nonvoid_type_descriptor(); 3087 state._fsp--; 3088 3089 3090 String type; 3091 if ((reference_type_descriptor91!=null?((smaliTreeWalker.reference_type_descriptor_return)reference_type_descriptor91).type:null) == null) { 3092 type = classType; 3093 } else { 3094 type = (reference_type_descriptor91!=null?((smaliTreeWalker.reference_type_descriptor_return)reference_type_descriptor91).type:null); 3095 } 3096 retval.fieldReference = new ImmutableFieldReference(type, (SIMPLE_NAME92!=null?SIMPLE_NAME92.getText():null), 3097 (nonvoid_type_descriptor93!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor93).type:null)); 3098 3099 } 3100 3101 } 3102 catch (RecognitionException re) { 3103 reportError(re); 3104 recover(input,re); 3105 } 3106 finally { 3107 // do for sure before leaving 3108 } 3109 return retval; 3110 } 3111 // $ANTLR end "field_reference" 3112 3113 3114 public static class registers_directive_return extends TreeRuleReturnScope { 3115 public boolean isLocalsDirective; 3116 public int registers; 3117 }; 3118 3119 3120 // $ANTLR start "registers_directive" 3121 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:612:1: registers_directive returns [boolean isLocalsDirective, int registers] : ^( ( I_REGISTERS | I_LOCALS ) short_integral_literal ) ; registers_directive()3122 public final smaliTreeWalker.registers_directive_return registers_directive() throws RecognitionException { 3123 smaliTreeWalker.registers_directive_return retval = new smaliTreeWalker.registers_directive_return(); 3124 retval.start = input.LT(1); 3125 3126 short short_integral_literal94 =0; 3127 3128 try { 3129 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:613:3: ( ^( ( I_REGISTERS | I_LOCALS ) short_integral_literal ) ) 3130 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:613:5: ^( ( I_REGISTERS | I_LOCALS ) short_integral_literal ) 3131 { 3132 retval.registers = 0; 3133 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:614:7: ( I_REGISTERS | I_LOCALS ) 3134 int alt22=2; 3135 int LA22_0 = input.LA(1); 3136 if ( (LA22_0==I_REGISTERS) ) { 3137 alt22=1; 3138 } 3139 else if ( (LA22_0==I_LOCALS) ) { 3140 alt22=2; 3141 } 3142 3143 else { 3144 NoViableAltException nvae = 3145 new NoViableAltException("", 22, 0, input); 3146 throw nvae; 3147 } 3148 3149 switch (alt22) { 3150 case 1 : 3151 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:614:9: I_REGISTERS 3152 { 3153 match(input,I_REGISTERS,FOLLOW_I_REGISTERS_in_registers_directive1462); 3154 retval.isLocalsDirective = false; 3155 } 3156 break; 3157 case 2 : 3158 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:615:9: I_LOCALS 3159 { 3160 match(input,I_LOCALS,FOLLOW_I_LOCALS_in_registers_directive1474); 3161 retval.isLocalsDirective = true; 3162 } 3163 break; 3164 3165 } 3166 3167 match(input, Token.DOWN, null); 3168 pushFollow(FOLLOW_short_integral_literal_in_registers_directive1492); 3169 short_integral_literal94=short_integral_literal(); 3170 state._fsp--; 3171 3172 retval.registers = short_integral_literal94 & 0xFFFF; 3173 match(input, Token.UP, null); 3174 3175 } 3176 3177 } 3178 catch (RecognitionException re) { 3179 reportError(re); 3180 recover(input,re); 3181 } 3182 finally { 3183 // do for sure before leaving 3184 } 3185 return retval; 3186 } 3187 // $ANTLR end "registers_directive" 3188 3189 3190 3191 // $ANTLR start "label_def" 3192 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:620:1: label_def : ^( I_LABEL SIMPLE_NAME ) ; label_def()3193 public final void label_def() throws RecognitionException { 3194 CommonTree SIMPLE_NAME95=null; 3195 3196 try { 3197 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:621:3: ( ^( I_LABEL SIMPLE_NAME ) ) 3198 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:621:5: ^( I_LABEL SIMPLE_NAME ) 3199 { 3200 match(input,I_LABEL,FOLLOW_I_LABEL_in_label_def1512); 3201 match(input, Token.DOWN, null); 3202 SIMPLE_NAME95=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_label_def1514); 3203 match(input, Token.UP, null); 3204 3205 3206 method_stack.peek().methodBuilder.addLabel((SIMPLE_NAME95!=null?SIMPLE_NAME95.getText():null)); 3207 3208 } 3209 3210 } 3211 catch (RecognitionException re) { 3212 reportError(re); 3213 recover(input,re); 3214 } 3215 finally { 3216 // do for sure before leaving 3217 } 3218 } 3219 // $ANTLR end "label_def" 3220 3221 3222 3223 // $ANTLR start "catches" 3224 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:626:1: catches returns [List<BuilderTryBlock> tryBlocks] : ^( I_CATCHES ( catch_directive )* ( catchall_directive )* ) ; catches()3225 public final List<BuilderTryBlock> catches() throws RecognitionException { 3226 List<BuilderTryBlock> tryBlocks = null; 3227 3228 3229 tryBlocks = Lists.newArrayList(); 3230 try { 3231 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:628:3: ( ^( I_CATCHES ( catch_directive )* ( catchall_directive )* ) ) 3232 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:628:5: ^( I_CATCHES ( catch_directive )* ( catchall_directive )* ) 3233 { 3234 match(input,I_CATCHES,FOLLOW_I_CATCHES_in_catches1540); 3235 if ( input.LA(1)==Token.DOWN ) { 3236 match(input, Token.DOWN, null); 3237 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:628:17: ( catch_directive )* 3238 loop23: 3239 while (true) { 3240 int alt23=2; 3241 int LA23_0 = input.LA(1); 3242 if ( (LA23_0==I_CATCH) ) { 3243 alt23=1; 3244 } 3245 3246 switch (alt23) { 3247 case 1 : 3248 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:628:17: catch_directive 3249 { 3250 pushFollow(FOLLOW_catch_directive_in_catches1542); 3251 catch_directive(); 3252 state._fsp--; 3253 3254 } 3255 break; 3256 3257 default : 3258 break loop23; 3259 } 3260 } 3261 3262 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:628:34: ( catchall_directive )* 3263 loop24: 3264 while (true) { 3265 int alt24=2; 3266 int LA24_0 = input.LA(1); 3267 if ( (LA24_0==I_CATCHALL) ) { 3268 alt24=1; 3269 } 3270 3271 switch (alt24) { 3272 case 1 : 3273 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:628:34: catchall_directive 3274 { 3275 pushFollow(FOLLOW_catchall_directive_in_catches1545); 3276 catchall_directive(); 3277 state._fsp--; 3278 3279 } 3280 break; 3281 3282 default : 3283 break loop24; 3284 } 3285 } 3286 3287 match(input, Token.UP, null); 3288 } 3289 3290 } 3291 3292 } 3293 catch (RecognitionException re) { 3294 reportError(re); 3295 recover(input,re); 3296 } 3297 finally { 3298 // do for sure before leaving 3299 } 3300 return tryBlocks; 3301 } 3302 // $ANTLR end "catches" 3303 3304 3305 3306 // $ANTLR start "catch_directive" 3307 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:630:1: catch_directive : ^( I_CATCH nonvoid_type_descriptor from= label_ref to= label_ref using= label_ref ) ; catch_directive()3308 public final void catch_directive() throws RecognitionException { 3309 Label from =null; 3310 Label to =null; 3311 Label using =null; 3312 TreeRuleReturnScope nonvoid_type_descriptor96 =null; 3313 3314 try { 3315 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:631:3: ( ^( I_CATCH nonvoid_type_descriptor from= label_ref to= label_ref using= label_ref ) ) 3316 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:631:5: ^( I_CATCH nonvoid_type_descriptor from= label_ref to= label_ref using= label_ref ) 3317 { 3318 match(input,I_CATCH,FOLLOW_I_CATCH_in_catch_directive1558); 3319 match(input, Token.DOWN, null); 3320 pushFollow(FOLLOW_nonvoid_type_descriptor_in_catch_directive1560); 3321 nonvoid_type_descriptor96=nonvoid_type_descriptor(); 3322 state._fsp--; 3323 3324 pushFollow(FOLLOW_label_ref_in_catch_directive1564); 3325 from=label_ref(); 3326 state._fsp--; 3327 3328 pushFollow(FOLLOW_label_ref_in_catch_directive1568); 3329 to=label_ref(); 3330 state._fsp--; 3331 3332 pushFollow(FOLLOW_label_ref_in_catch_directive1572); 3333 using=label_ref(); 3334 state._fsp--; 3335 3336 match(input, Token.UP, null); 3337 3338 3339 method_stack.peek().methodBuilder.addCatch(dexBuilder.internTypeReference((nonvoid_type_descriptor96!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor96).type:null)), 3340 from, to, using); 3341 3342 } 3343 3344 } 3345 catch (RecognitionException re) { 3346 reportError(re); 3347 recover(input,re); 3348 } 3349 finally { 3350 // do for sure before leaving 3351 } 3352 } 3353 // $ANTLR end "catch_directive" 3354 3355 3356 3357 // $ANTLR start "catchall_directive" 3358 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:637:1: catchall_directive : ^( I_CATCHALL from= label_ref to= label_ref using= label_ref ) ; catchall_directive()3359 public final void catchall_directive() throws RecognitionException { 3360 Label from =null; 3361 Label to =null; 3362 Label using =null; 3363 3364 try { 3365 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:638:3: ( ^( I_CATCHALL from= label_ref to= label_ref using= label_ref ) ) 3366 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:638:5: ^( I_CATCHALL from= label_ref to= label_ref using= label_ref ) 3367 { 3368 match(input,I_CATCHALL,FOLLOW_I_CATCHALL_in_catchall_directive1588); 3369 match(input, Token.DOWN, null); 3370 pushFollow(FOLLOW_label_ref_in_catchall_directive1592); 3371 from=label_ref(); 3372 state._fsp--; 3373 3374 pushFollow(FOLLOW_label_ref_in_catchall_directive1596); 3375 to=label_ref(); 3376 state._fsp--; 3377 3378 pushFollow(FOLLOW_label_ref_in_catchall_directive1600); 3379 using=label_ref(); 3380 state._fsp--; 3381 3382 match(input, Token.UP, null); 3383 3384 3385 method_stack.peek().methodBuilder.addCatch(from, to, using); 3386 3387 } 3388 3389 } 3390 catch (RecognitionException re) { 3391 reportError(re); 3392 recover(input,re); 3393 } 3394 finally { 3395 // do for sure before leaving 3396 } 3397 } 3398 // $ANTLR end "catchall_directive" 3399 3400 3401 3402 // $ANTLR start "parameters" 3403 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:643:1: parameters[List<SmaliMethodParameter> parameters] : ^( I_PARAMETERS ( parameter[parameters] )* ) ; parameters(List<SmaliMethodParameter> parameters)3404 public final void parameters(List<SmaliMethodParameter> parameters) throws RecognitionException { 3405 try { 3406 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:644:3: ( ^( I_PARAMETERS ( parameter[parameters] )* ) ) 3407 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:644:5: ^( I_PARAMETERS ( parameter[parameters] )* ) 3408 { 3409 match(input,I_PARAMETERS,FOLLOW_I_PARAMETERS_in_parameters1617); 3410 if ( input.LA(1)==Token.DOWN ) { 3411 match(input, Token.DOWN, null); 3412 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:644:20: ( parameter[parameters] )* 3413 loop25: 3414 while (true) { 3415 int alt25=2; 3416 int LA25_0 = input.LA(1); 3417 if ( (LA25_0==I_PARAMETER) ) { 3418 alt25=1; 3419 } 3420 3421 switch (alt25) { 3422 case 1 : 3423 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:644:21: parameter[parameters] 3424 { 3425 pushFollow(FOLLOW_parameter_in_parameters1620); 3426 parameter(parameters); 3427 state._fsp--; 3428 3429 } 3430 break; 3431 3432 default : 3433 break loop25; 3434 } 3435 } 3436 3437 match(input, Token.UP, null); 3438 } 3439 3440 } 3441 3442 } 3443 catch (RecognitionException re) { 3444 reportError(re); 3445 recover(input,re); 3446 } 3447 finally { 3448 // do for sure before leaving 3449 } 3450 } 3451 // $ANTLR end "parameters" 3452 3453 3454 3455 // $ANTLR start "parameter" 3456 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:646:1: parameter[List<SmaliMethodParameter> parameters] : ^( I_PARAMETER REGISTER ( string_literal )? annotations ) ; parameter(List<SmaliMethodParameter> parameters)3457 public final void parameter(List<SmaliMethodParameter> parameters) throws RecognitionException { 3458 CommonTree REGISTER97=null; 3459 CommonTree I_PARAMETER98=null; 3460 String string_literal99 =null; 3461 Set<Annotation> annotations100 =null; 3462 3463 try { 3464 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:647:3: ( ^( I_PARAMETER REGISTER ( string_literal )? annotations ) ) 3465 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:647:5: ^( I_PARAMETER REGISTER ( string_literal )? annotations ) 3466 { 3467 I_PARAMETER98=(CommonTree)match(input,I_PARAMETER,FOLLOW_I_PARAMETER_in_parameter1636); 3468 match(input, Token.DOWN, null); 3469 REGISTER97=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_parameter1638); 3470 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:647:28: ( string_literal )? 3471 int alt26=2; 3472 int LA26_0 = input.LA(1); 3473 if ( (LA26_0==STRING_LITERAL) ) { 3474 alt26=1; 3475 } 3476 switch (alt26) { 3477 case 1 : 3478 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:647:28: string_literal 3479 { 3480 pushFollow(FOLLOW_string_literal_in_parameter1640); 3481 string_literal99=string_literal(); 3482 state._fsp--; 3483 3484 } 3485 break; 3486 3487 } 3488 3489 pushFollow(FOLLOW_annotations_in_parameter1643); 3490 annotations100=annotations(); 3491 state._fsp--; 3492 3493 match(input, Token.UP, null); 3494 3495 3496 final int registerNumber = parseRegister_short((REGISTER97!=null?REGISTER97.getText():null)); 3497 int totalMethodRegisters = method_stack.peek().totalMethodRegisters; 3498 int methodParameterRegisters = method_stack.peek().methodParameterRegisters; 3499 3500 if (registerNumber >= totalMethodRegisters) { 3501 throw new SemanticException(input, I_PARAMETER98, "Register %s is larger than the maximum register v%d " + 3502 "for this method", (REGISTER97!=null?REGISTER97.getText():null), totalMethodRegisters-1); 3503 } 3504 final int indexGuess = registerNumber - (totalMethodRegisters - methodParameterRegisters) - (method_stack.peek().isStatic?0:1); 3505 3506 if (indexGuess < 0) { 3507 throw new SemanticException(input, I_PARAMETER98, "Register %s is not a parameter register.", 3508 (REGISTER97!=null?REGISTER97.getText():null)); 3509 } 3510 3511 int parameterIndex = LinearSearch.linearSearch(parameters, SmaliMethodParameter.COMPARATOR, 3512 new WithRegister() { public int getRegister() { return indexGuess; } }, 3513 indexGuess); 3514 3515 if (parameterIndex < 0) { 3516 throw new SemanticException(input, I_PARAMETER98, "Register %s is the second half of a wide parameter.", 3517 (REGISTER97!=null?REGISTER97.getText():null)); 3518 } 3519 3520 SmaliMethodParameter methodParameter = parameters.get(parameterIndex); 3521 methodParameter.name = string_literal99; 3522 if (annotations100 != null && annotations100.size() > 0) { 3523 methodParameter.annotations = annotations100; 3524 } 3525 3526 } 3527 3528 } 3529 catch (RecognitionException re) { 3530 reportError(re); 3531 recover(input,re); 3532 } 3533 finally { 3534 // do for sure before leaving 3535 } 3536 } 3537 // $ANTLR end "parameter" 3538 3539 3540 3541 // $ANTLR start "debug_directive" 3542 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:680:1: debug_directive : ( line | local | end_local | restart_local | prologue | epilogue | source ); debug_directive()3543 public final void debug_directive() throws RecognitionException { 3544 try { 3545 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:681:3: ( line | local | end_local | restart_local | prologue | epilogue | source ) 3546 int alt27=7; 3547 switch ( input.LA(1) ) { 3548 case I_LINE: 3549 { 3550 alt27=1; 3551 } 3552 break; 3553 case I_LOCAL: 3554 { 3555 alt27=2; 3556 } 3557 break; 3558 case I_END_LOCAL: 3559 { 3560 alt27=3; 3561 } 3562 break; 3563 case I_RESTART_LOCAL: 3564 { 3565 alt27=4; 3566 } 3567 break; 3568 case I_PROLOGUE: 3569 { 3570 alt27=5; 3571 } 3572 break; 3573 case I_EPILOGUE: 3574 { 3575 alt27=6; 3576 } 3577 break; 3578 case I_SOURCE: 3579 { 3580 alt27=7; 3581 } 3582 break; 3583 default: 3584 NoViableAltException nvae = 3585 new NoViableAltException("", 27, 0, input); 3586 throw nvae; 3587 } 3588 switch (alt27) { 3589 case 1 : 3590 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:681:5: line 3591 { 3592 pushFollow(FOLLOW_line_in_debug_directive1660); 3593 line(); 3594 state._fsp--; 3595 3596 } 3597 break; 3598 case 2 : 3599 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:682:5: local 3600 { 3601 pushFollow(FOLLOW_local_in_debug_directive1666); 3602 local(); 3603 state._fsp--; 3604 3605 } 3606 break; 3607 case 3 : 3608 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:683:5: end_local 3609 { 3610 pushFollow(FOLLOW_end_local_in_debug_directive1672); 3611 end_local(); 3612 state._fsp--; 3613 3614 } 3615 break; 3616 case 4 : 3617 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:684:5: restart_local 3618 { 3619 pushFollow(FOLLOW_restart_local_in_debug_directive1678); 3620 restart_local(); 3621 state._fsp--; 3622 3623 } 3624 break; 3625 case 5 : 3626 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:685:5: prologue 3627 { 3628 pushFollow(FOLLOW_prologue_in_debug_directive1684); 3629 prologue(); 3630 state._fsp--; 3631 3632 } 3633 break; 3634 case 6 : 3635 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:686:5: epilogue 3636 { 3637 pushFollow(FOLLOW_epilogue_in_debug_directive1690); 3638 epilogue(); 3639 state._fsp--; 3640 3641 } 3642 break; 3643 case 7 : 3644 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:687:5: source 3645 { 3646 pushFollow(FOLLOW_source_in_debug_directive1696); 3647 source(); 3648 state._fsp--; 3649 3650 } 3651 break; 3652 3653 } 3654 } 3655 catch (RecognitionException re) { 3656 reportError(re); 3657 recover(input,re); 3658 } 3659 finally { 3660 // do for sure before leaving 3661 } 3662 } 3663 // $ANTLR end "debug_directive" 3664 3665 3666 3667 // $ANTLR start "line" 3668 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:689:1: line : ^( I_LINE integral_literal ) ; line()3669 public final void line() throws RecognitionException { 3670 int integral_literal101 =0; 3671 3672 try { 3673 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:690:3: ( ^( I_LINE integral_literal ) ) 3674 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:690:5: ^( I_LINE integral_literal ) 3675 { 3676 match(input,I_LINE,FOLLOW_I_LINE_in_line1707); 3677 match(input, Token.DOWN, null); 3678 pushFollow(FOLLOW_integral_literal_in_line1709); 3679 integral_literal101=integral_literal(); 3680 state._fsp--; 3681 3682 match(input, Token.UP, null); 3683 3684 3685 method_stack.peek().methodBuilder.addLineNumber(integral_literal101); 3686 3687 } 3688 3689 } 3690 catch (RecognitionException re) { 3691 reportError(re); 3692 recover(input,re); 3693 } 3694 finally { 3695 // do for sure before leaving 3696 } 3697 } 3698 // $ANTLR end "line" 3699 3700 3701 3702 // $ANTLR start "local" 3703 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:695:1: local : ^( I_LOCAL REGISTER ( ( NULL_LITERAL |name= string_literal ) ( nonvoid_type_descriptor )? (signature= string_literal )? )? ) ; local()3704 public final void local() throws RecognitionException { 3705 CommonTree REGISTER102=null; 3706 String name =null; 3707 String signature =null; 3708 TreeRuleReturnScope nonvoid_type_descriptor103 =null; 3709 3710 try { 3711 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:3: ( ^( I_LOCAL REGISTER ( ( NULL_LITERAL |name= string_literal ) ( nonvoid_type_descriptor )? (signature= string_literal )? )? ) ) 3712 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:5: ^( I_LOCAL REGISTER ( ( NULL_LITERAL |name= string_literal ) ( nonvoid_type_descriptor )? (signature= string_literal )? )? ) 3713 { 3714 match(input,I_LOCAL,FOLLOW_I_LOCAL_in_local1727); 3715 match(input, Token.DOWN, null); 3716 REGISTER102=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_local1729); 3717 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:24: ( ( NULL_LITERAL |name= string_literal ) ( nonvoid_type_descriptor )? (signature= string_literal )? )? 3718 int alt31=2; 3719 int LA31_0 = input.LA(1); 3720 if ( (LA31_0==NULL_LITERAL||LA31_0==STRING_LITERAL) ) { 3721 alt31=1; 3722 } 3723 switch (alt31) { 3724 case 1 : 3725 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:25: ( NULL_LITERAL |name= string_literal ) ( nonvoid_type_descriptor )? (signature= string_literal )? 3726 { 3727 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:25: ( NULL_LITERAL |name= string_literal ) 3728 int alt28=2; 3729 int LA28_0 = input.LA(1); 3730 if ( (LA28_0==NULL_LITERAL) ) { 3731 alt28=1; 3732 } 3733 else if ( (LA28_0==STRING_LITERAL) ) { 3734 alt28=2; 3735 } 3736 3737 else { 3738 NoViableAltException nvae = 3739 new NoViableAltException("", 28, 0, input); 3740 throw nvae; 3741 } 3742 3743 switch (alt28) { 3744 case 1 : 3745 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:26: NULL_LITERAL 3746 { 3747 match(input,NULL_LITERAL,FOLLOW_NULL_LITERAL_in_local1733); 3748 } 3749 break; 3750 case 2 : 3751 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:41: name= string_literal 3752 { 3753 pushFollow(FOLLOW_string_literal_in_local1739); 3754 name=string_literal(); 3755 state._fsp--; 3756 3757 } 3758 break; 3759 3760 } 3761 3762 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:62: ( nonvoid_type_descriptor )? 3763 int alt29=2; 3764 int LA29_0 = input.LA(1); 3765 if ( (LA29_0==ARRAY_TYPE_PREFIX||LA29_0==CLASS_DESCRIPTOR||LA29_0==PRIMITIVE_TYPE) ) { 3766 alt29=1; 3767 } 3768 switch (alt29) { 3769 case 1 : 3770 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:62: nonvoid_type_descriptor 3771 { 3772 pushFollow(FOLLOW_nonvoid_type_descriptor_in_local1742); 3773 nonvoid_type_descriptor103=nonvoid_type_descriptor(); 3774 state._fsp--; 3775 3776 } 3777 break; 3778 3779 } 3780 3781 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:96: (signature= string_literal )? 3782 int alt30=2; 3783 int LA30_0 = input.LA(1); 3784 if ( (LA30_0==STRING_LITERAL) ) { 3785 alt30=1; 3786 } 3787 switch (alt30) { 3788 case 1 : 3789 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:696:96: signature= string_literal 3790 { 3791 pushFollow(FOLLOW_string_literal_in_local1747); 3792 signature=string_literal(); 3793 state._fsp--; 3794 3795 } 3796 break; 3797 3798 } 3799 3800 } 3801 break; 3802 3803 } 3804 3805 match(input, Token.UP, null); 3806 3807 3808 int registerNumber = parseRegister_short((REGISTER102!=null?REGISTER102.getText():null)); 3809 method_stack.peek().methodBuilder.addStartLocal(registerNumber, 3810 dexBuilder.internNullableStringReference(name), 3811 dexBuilder.internNullableTypeReference((nonvoid_type_descriptor103!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor103).type:null)), 3812 dexBuilder.internNullableStringReference(signature)); 3813 3814 } 3815 3816 } 3817 catch (RecognitionException re) { 3818 reportError(re); 3819 recover(input,re); 3820 } 3821 finally { 3822 // do for sure before leaving 3823 } 3824 } 3825 // $ANTLR end "local" 3826 3827 3828 3829 // $ANTLR start "end_local" 3830 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:705:1: end_local : ^( I_END_LOCAL REGISTER ) ; end_local()3831 public final void end_local() throws RecognitionException { 3832 CommonTree REGISTER104=null; 3833 3834 try { 3835 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:706:3: ( ^( I_END_LOCAL REGISTER ) ) 3836 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:706:5: ^( I_END_LOCAL REGISTER ) 3837 { 3838 match(input,I_END_LOCAL,FOLLOW_I_END_LOCAL_in_end_local1768); 3839 match(input, Token.DOWN, null); 3840 REGISTER104=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_end_local1770); 3841 match(input, Token.UP, null); 3842 3843 3844 int registerNumber = parseRegister_short((REGISTER104!=null?REGISTER104.getText():null)); 3845 method_stack.peek().methodBuilder.addEndLocal(registerNumber); 3846 3847 } 3848 3849 } 3850 catch (RecognitionException re) { 3851 reportError(re); 3852 recover(input,re); 3853 } 3854 finally { 3855 // do for sure before leaving 3856 } 3857 } 3858 // $ANTLR end "end_local" 3859 3860 3861 3862 // $ANTLR start "restart_local" 3863 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:712:1: restart_local : ^( I_RESTART_LOCAL REGISTER ) ; restart_local()3864 public final void restart_local() throws RecognitionException { 3865 CommonTree REGISTER105=null; 3866 3867 try { 3868 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:713:3: ( ^( I_RESTART_LOCAL REGISTER ) ) 3869 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:713:5: ^( I_RESTART_LOCAL REGISTER ) 3870 { 3871 match(input,I_RESTART_LOCAL,FOLLOW_I_RESTART_LOCAL_in_restart_local1788); 3872 match(input, Token.DOWN, null); 3873 REGISTER105=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_restart_local1790); 3874 match(input, Token.UP, null); 3875 3876 3877 int registerNumber = parseRegister_short((REGISTER105!=null?REGISTER105.getText():null)); 3878 method_stack.peek().methodBuilder.addRestartLocal(registerNumber); 3879 3880 } 3881 3882 } 3883 catch (RecognitionException re) { 3884 reportError(re); 3885 recover(input,re); 3886 } 3887 finally { 3888 // do for sure before leaving 3889 } 3890 } 3891 // $ANTLR end "restart_local" 3892 3893 3894 3895 // $ANTLR start "prologue" 3896 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:719:1: prologue : I_PROLOGUE ; prologue()3897 public final void prologue() throws RecognitionException { 3898 try { 3899 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:720:3: ( I_PROLOGUE ) 3900 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:720:5: I_PROLOGUE 3901 { 3902 match(input,I_PROLOGUE,FOLLOW_I_PROLOGUE_in_prologue1807); 3903 3904 method_stack.peek().methodBuilder.addPrologue(); 3905 3906 } 3907 3908 } 3909 catch (RecognitionException re) { 3910 reportError(re); 3911 recover(input,re); 3912 } 3913 finally { 3914 // do for sure before leaving 3915 } 3916 } 3917 // $ANTLR end "prologue" 3918 3919 3920 3921 // $ANTLR start "epilogue" 3922 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:725:1: epilogue : I_EPILOGUE ; epilogue()3923 public final void epilogue() throws RecognitionException { 3924 try { 3925 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:726:3: ( I_EPILOGUE ) 3926 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:726:5: I_EPILOGUE 3927 { 3928 match(input,I_EPILOGUE,FOLLOW_I_EPILOGUE_in_epilogue1823); 3929 3930 method_stack.peek().methodBuilder.addEpilogue(); 3931 3932 } 3933 3934 } 3935 catch (RecognitionException re) { 3936 reportError(re); 3937 recover(input,re); 3938 } 3939 finally { 3940 // do for sure before leaving 3941 } 3942 } 3943 // $ANTLR end "epilogue" 3944 3945 3946 3947 // $ANTLR start "source" 3948 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:731:1: source : ^( I_SOURCE ( string_literal )? ) ; source()3949 public final void source() throws RecognitionException { 3950 String string_literal106 =null; 3951 3952 try { 3953 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:732:3: ( ^( I_SOURCE ( string_literal )? ) ) 3954 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:732:5: ^( I_SOURCE ( string_literal )? ) 3955 { 3956 match(input,I_SOURCE,FOLLOW_I_SOURCE_in_source1840); 3957 if ( input.LA(1)==Token.DOWN ) { 3958 match(input, Token.DOWN, null); 3959 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:732:16: ( string_literal )? 3960 int alt32=2; 3961 int LA32_0 = input.LA(1); 3962 if ( (LA32_0==STRING_LITERAL) ) { 3963 alt32=1; 3964 } 3965 switch (alt32) { 3966 case 1 : 3967 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:732:16: string_literal 3968 { 3969 pushFollow(FOLLOW_string_literal_in_source1842); 3970 string_literal106=string_literal(); 3971 state._fsp--; 3972 3973 } 3974 break; 3975 3976 } 3977 3978 match(input, Token.UP, null); 3979 } 3980 3981 3982 method_stack.peek().methodBuilder.addSetSourceFile(dexBuilder.internNullableStringReference(string_literal106)); 3983 3984 } 3985 3986 } 3987 catch (RecognitionException re) { 3988 reportError(re); 3989 recover(input,re); 3990 } 3991 finally { 3992 // do for sure before leaving 3993 } 3994 } 3995 // $ANTLR end "source" 3996 3997 3998 3999 // $ANTLR start "call_site_extra_arguments" 4000 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:737:1: call_site_extra_arguments returns [List<ImmutableEncodedValue> extraArguments] : ^( I_CALL_SITE_EXTRA_ARGUMENTS ( literal )* ) ; call_site_extra_arguments()4001 public final List<ImmutableEncodedValue> call_site_extra_arguments() throws RecognitionException { 4002 List<ImmutableEncodedValue> extraArguments = null; 4003 4004 4005 ImmutableEncodedValue literal107 =null; 4006 4007 try { 4008 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:738:3: ( ^( I_CALL_SITE_EXTRA_ARGUMENTS ( literal )* ) ) 4009 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:738:5: ^( I_CALL_SITE_EXTRA_ARGUMENTS ( literal )* ) 4010 { 4011 extraArguments = Lists.newArrayList(); 4012 match(input,I_CALL_SITE_EXTRA_ARGUMENTS,FOLLOW_I_CALL_SITE_EXTRA_ARGUMENTS_in_call_site_extra_arguments1868); 4013 if ( input.LA(1)==Token.DOWN ) { 4014 match(input, Token.DOWN, null); 4015 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:739:33: ( literal )* 4016 loop33: 4017 while (true) { 4018 int alt33=2; 4019 int LA33_0 = input.LA(1); 4020 if ( (LA33_0==ARRAY_TYPE_PREFIX||(LA33_0 >= BOOL_LITERAL && LA33_0 <= BYTE_LITERAL)||(LA33_0 >= CHAR_LITERAL && LA33_0 <= CLASS_DESCRIPTOR)||LA33_0==DOUBLE_LITERAL||LA33_0==FLOAT_LITERAL||LA33_0==INTEGER_LITERAL||(LA33_0 >= I_ENCODED_ARRAY && LA33_0 <= I_ENCODED_METHOD_HANDLE)||LA33_0==I_METHOD_PROTOTYPE||LA33_0==I_SUBANNOTATION||LA33_0==LONG_LITERAL||LA33_0==NULL_LITERAL||LA33_0==PRIMITIVE_TYPE||LA33_0==SHORT_LITERAL||LA33_0==STRING_LITERAL||LA33_0==VOID_TYPE) ) { 4021 alt33=1; 4022 } 4023 4024 switch (alt33) { 4025 case 1 : 4026 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:739:34: literal 4027 { 4028 pushFollow(FOLLOW_literal_in_call_site_extra_arguments1871); 4029 literal107=literal(); 4030 state._fsp--; 4031 4032 extraArguments.add(literal107); 4033 } 4034 break; 4035 4036 default : 4037 break loop33; 4038 } 4039 } 4040 4041 match(input, Token.UP, null); 4042 } 4043 4044 } 4045 4046 } 4047 catch (RecognitionException re) { 4048 reportError(re); 4049 recover(input,re); 4050 } 4051 finally { 4052 // do for sure before leaving 4053 } 4054 return extraArguments; 4055 } 4056 // $ANTLR end "call_site_extra_arguments" 4057 4058 4059 4060 // $ANTLR start "ordered_method_items" 4061 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:741:1: ordered_method_items : ^( I_ORDERED_METHOD_ITEMS ( label_def | instruction | debug_directive )* ) ; ordered_method_items()4062 public final void ordered_method_items() throws RecognitionException { 4063 try { 4064 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:742:3: ( ^( I_ORDERED_METHOD_ITEMS ( label_def | instruction | debug_directive )* ) ) 4065 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:742:5: ^( I_ORDERED_METHOD_ITEMS ( label_def | instruction | debug_directive )* ) 4066 { 4067 match(input,I_ORDERED_METHOD_ITEMS,FOLLOW_I_ORDERED_METHOD_ITEMS_in_ordered_method_items1887); 4068 if ( input.LA(1)==Token.DOWN ) { 4069 match(input, Token.DOWN, null); 4070 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:742:30: ( label_def | instruction | debug_directive )* 4071 loop34: 4072 while (true) { 4073 int alt34=4; 4074 switch ( input.LA(1) ) { 4075 case I_LABEL: 4076 { 4077 alt34=1; 4078 } 4079 break; 4080 case I_STATEMENT_ARRAY_DATA: 4081 case I_STATEMENT_FORMAT10t: 4082 case I_STATEMENT_FORMAT10x: 4083 case I_STATEMENT_FORMAT11n: 4084 case I_STATEMENT_FORMAT11x: 4085 case I_STATEMENT_FORMAT12x: 4086 case I_STATEMENT_FORMAT20bc: 4087 case I_STATEMENT_FORMAT20t: 4088 case I_STATEMENT_FORMAT21c_FIELD: 4089 case I_STATEMENT_FORMAT21c_METHOD_HANDLE: 4090 case I_STATEMENT_FORMAT21c_METHOD_TYPE: 4091 case I_STATEMENT_FORMAT21c_STRING: 4092 case I_STATEMENT_FORMAT21c_TYPE: 4093 case I_STATEMENT_FORMAT21ih: 4094 case I_STATEMENT_FORMAT21lh: 4095 case I_STATEMENT_FORMAT21s: 4096 case I_STATEMENT_FORMAT21t: 4097 case I_STATEMENT_FORMAT22b: 4098 case I_STATEMENT_FORMAT22c_FIELD: 4099 case I_STATEMENT_FORMAT22c_TYPE: 4100 case I_STATEMENT_FORMAT22s: 4101 case I_STATEMENT_FORMAT22t: 4102 case I_STATEMENT_FORMAT22x: 4103 case I_STATEMENT_FORMAT23x: 4104 case I_STATEMENT_FORMAT30t: 4105 case I_STATEMENT_FORMAT31c: 4106 case I_STATEMENT_FORMAT31i: 4107 case I_STATEMENT_FORMAT31t: 4108 case I_STATEMENT_FORMAT32x: 4109 case I_STATEMENT_FORMAT35c_CALL_SITE: 4110 case I_STATEMENT_FORMAT35c_METHOD: 4111 case I_STATEMENT_FORMAT35c_TYPE: 4112 case I_STATEMENT_FORMAT3rc_CALL_SITE: 4113 case I_STATEMENT_FORMAT3rc_METHOD: 4114 case I_STATEMENT_FORMAT3rc_TYPE: 4115 case I_STATEMENT_FORMAT45cc_METHOD: 4116 case I_STATEMENT_FORMAT4rcc_METHOD: 4117 case I_STATEMENT_FORMAT51l: 4118 case I_STATEMENT_PACKED_SWITCH: 4119 case I_STATEMENT_SPARSE_SWITCH: 4120 { 4121 alt34=2; 4122 } 4123 break; 4124 case I_END_LOCAL: 4125 case I_EPILOGUE: 4126 case I_LINE: 4127 case I_LOCAL: 4128 case I_PROLOGUE: 4129 case I_RESTART_LOCAL: 4130 case I_SOURCE: 4131 { 4132 alt34=3; 4133 } 4134 break; 4135 } 4136 switch (alt34) { 4137 case 1 : 4138 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:742:31: label_def 4139 { 4140 pushFollow(FOLLOW_label_def_in_ordered_method_items1890); 4141 label_def(); 4142 state._fsp--; 4143 4144 } 4145 break; 4146 case 2 : 4147 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:742:43: instruction 4148 { 4149 pushFollow(FOLLOW_instruction_in_ordered_method_items1894); 4150 instruction(); 4151 state._fsp--; 4152 4153 } 4154 break; 4155 case 3 : 4156 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:742:57: debug_directive 4157 { 4158 pushFollow(FOLLOW_debug_directive_in_ordered_method_items1898); 4159 debug_directive(); 4160 state._fsp--; 4161 4162 } 4163 break; 4164 4165 default : 4166 break loop34; 4167 } 4168 } 4169 4170 match(input, Token.UP, null); 4171 } 4172 4173 } 4174 4175 } 4176 catch (RecognitionException re) { 4177 reportError(re); 4178 recover(input,re); 4179 } 4180 finally { 4181 // do for sure before leaving 4182 } 4183 } 4184 // $ANTLR end "ordered_method_items" 4185 4186 4187 4188 // $ANTLR start "label_ref" 4189 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:744:1: label_ref returns [Label label] : SIMPLE_NAME ; label_ref()4190 public final Label label_ref() throws RecognitionException { 4191 Label label = null; 4192 4193 4194 CommonTree SIMPLE_NAME108=null; 4195 4196 try { 4197 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:745:3: ( SIMPLE_NAME ) 4198 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:745:5: SIMPLE_NAME 4199 { 4200 SIMPLE_NAME108=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_label_ref1914); 4201 label = method_stack.peek().methodBuilder.getLabel((SIMPLE_NAME108!=null?SIMPLE_NAME108.getText():null)); 4202 } 4203 4204 } 4205 catch (RecognitionException re) { 4206 reportError(re); 4207 recover(input,re); 4208 } 4209 finally { 4210 // do for sure before leaving 4211 } 4212 return label; 4213 } 4214 // $ANTLR end "label_ref" 4215 4216 4217 public static class register_list_return extends TreeRuleReturnScope { 4218 public byte[] registers; 4219 public byte registerCount; 4220 }; 4221 4222 4223 // $ANTLR start "register_list" 4224 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:747:1: register_list returns [byte[] registers, byte registerCount] : ^( I_REGISTER_LIST ( REGISTER )* ) ; register_list()4225 public final smaliTreeWalker.register_list_return register_list() throws RecognitionException { 4226 smaliTreeWalker.register_list_return retval = new smaliTreeWalker.register_list_return(); 4227 retval.start = input.LT(1); 4228 4229 CommonTree I_REGISTER_LIST109=null; 4230 CommonTree REGISTER110=null; 4231 4232 4233 retval.registers = new byte[5]; 4234 retval.registerCount = 0; 4235 4236 try { 4237 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:753:3: ( ^( I_REGISTER_LIST ( REGISTER )* ) ) 4238 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:753:5: ^( I_REGISTER_LIST ( REGISTER )* ) 4239 { 4240 I_REGISTER_LIST109=(CommonTree)match(input,I_REGISTER_LIST,FOLLOW_I_REGISTER_LIST_in_register_list1939); 4241 if ( input.LA(1)==Token.DOWN ) { 4242 match(input, Token.DOWN, null); 4243 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:754:7: ( REGISTER )* 4244 loop35: 4245 while (true) { 4246 int alt35=2; 4247 int LA35_0 = input.LA(1); 4248 if ( (LA35_0==REGISTER) ) { 4249 alt35=1; 4250 } 4251 4252 switch (alt35) { 4253 case 1 : 4254 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:754:8: REGISTER 4255 { 4256 REGISTER110=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_register_list1948); 4257 4258 if (retval.registerCount == 5) { 4259 throw new SemanticException(input, I_REGISTER_LIST109, "A list of registers can only have a maximum of 5 " + 4260 "registers. Use the <op>/range alternate opcode instead."); 4261 } 4262 retval.registers[retval.registerCount++] = parseRegister_nibble((REGISTER110!=null?REGISTER110.getText():null)); 4263 4264 } 4265 break; 4266 4267 default : 4268 break loop35; 4269 } 4270 } 4271 4272 match(input, Token.UP, null); 4273 } 4274 4275 } 4276 4277 } 4278 catch (RecognitionException re) { 4279 reportError(re); 4280 recover(input,re); 4281 } 4282 finally { 4283 // do for sure before leaving 4284 } 4285 return retval; 4286 } 4287 // $ANTLR end "register_list" 4288 4289 4290 public static class register_range_return extends TreeRuleReturnScope { 4291 public int startRegister; 4292 public int endRegister; 4293 }; 4294 4295 4296 // $ANTLR start "register_range" 4297 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:763:1: register_range returns [int startRegister, int endRegister] : ^( I_REGISTER_RANGE (startReg= REGISTER (endReg= REGISTER )? )? ) ; register_range()4298 public final smaliTreeWalker.register_range_return register_range() throws RecognitionException { 4299 smaliTreeWalker.register_range_return retval = new smaliTreeWalker.register_range_return(); 4300 retval.start = input.LT(1); 4301 4302 CommonTree startReg=null; 4303 CommonTree endReg=null; 4304 CommonTree I_REGISTER_RANGE111=null; 4305 4306 try { 4307 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:764:3: ( ^( I_REGISTER_RANGE (startReg= REGISTER (endReg= REGISTER )? )? ) ) 4308 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:764:5: ^( I_REGISTER_RANGE (startReg= REGISTER (endReg= REGISTER )? )? ) 4309 { 4310 I_REGISTER_RANGE111=(CommonTree)match(input,I_REGISTER_RANGE,FOLLOW_I_REGISTER_RANGE_in_register_range1973); 4311 if ( input.LA(1)==Token.DOWN ) { 4312 match(input, Token.DOWN, null); 4313 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:764:24: (startReg= REGISTER (endReg= REGISTER )? )? 4314 int alt37=2; 4315 int LA37_0 = input.LA(1); 4316 if ( (LA37_0==REGISTER) ) { 4317 alt37=1; 4318 } 4319 switch (alt37) { 4320 case 1 : 4321 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:764:25: startReg= REGISTER (endReg= REGISTER )? 4322 { 4323 startReg=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_register_range1978); 4324 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:764:49: (endReg= REGISTER )? 4325 int alt36=2; 4326 int LA36_0 = input.LA(1); 4327 if ( (LA36_0==REGISTER) ) { 4328 alt36=1; 4329 } 4330 switch (alt36) { 4331 case 1 : 4332 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:764:49: endReg= REGISTER 4333 { 4334 endReg=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_register_range1982); 4335 } 4336 break; 4337 4338 } 4339 4340 } 4341 break; 4342 4343 } 4344 4345 match(input, Token.UP, null); 4346 } 4347 4348 4349 if (startReg == null) { 4350 retval.startRegister = 0; 4351 retval.endRegister = -1; 4352 } else { 4353 retval.startRegister = parseRegister_short((startReg!=null?startReg.getText():null)); 4354 if (endReg == null) { 4355 retval.endRegister = retval.startRegister; 4356 } else { 4357 retval.endRegister = parseRegister_short((endReg!=null?endReg.getText():null)); 4358 } 4359 4360 int registerCount = retval.endRegister-retval.startRegister+1; 4361 if (registerCount < 1) { 4362 throw new SemanticException(input, I_REGISTER_RANGE111, "A register range must have the lower register listed first"); 4363 } 4364 } 4365 4366 } 4367 4368 } 4369 catch (RecognitionException re) { 4370 reportError(re); 4371 recover(input,re); 4372 } 4373 finally { 4374 // do for sure before leaving 4375 } 4376 return retval; 4377 } 4378 // $ANTLR end "register_range" 4379 4380 4381 4382 // $ANTLR start "verification_error_reference" 4383 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:784:1: verification_error_reference returns [ImmutableReference reference] : ( CLASS_DESCRIPTOR | field_reference | method_reference ); verification_error_reference()4384 public final ImmutableReference verification_error_reference() throws RecognitionException { 4385 ImmutableReference reference = null; 4386 4387 4388 CommonTree CLASS_DESCRIPTOR112=null; 4389 TreeRuleReturnScope field_reference113 =null; 4390 ImmutableMethodReference method_reference114 =null; 4391 4392 try { 4393 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:785:3: ( CLASS_DESCRIPTOR | field_reference | method_reference ) 4394 int alt38=3; 4395 switch ( input.LA(1) ) { 4396 case CLASS_DESCRIPTOR: 4397 { 4398 int LA38_1 = input.LA(2); 4399 if ( (LA38_1==UP) ) { 4400 alt38=1; 4401 } 4402 else if ( (LA38_1==SIMPLE_NAME) ) { 4403 int LA38_3 = input.LA(3); 4404 if ( (LA38_3==ARRAY_TYPE_PREFIX||LA38_3==CLASS_DESCRIPTOR||LA38_3==PRIMITIVE_TYPE) ) { 4405 alt38=2; 4406 } 4407 else if ( (LA38_3==I_METHOD_PROTOTYPE) ) { 4408 alt38=3; 4409 } 4410 4411 else { 4412 int nvaeMark = input.mark(); 4413 try { 4414 for (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) { 4415 input.consume(); 4416 } 4417 NoViableAltException nvae = 4418 new NoViableAltException("", 38, 3, input); 4419 throw nvae; 4420 } finally { 4421 input.rewind(nvaeMark); 4422 } 4423 } 4424 4425 } 4426 4427 else { 4428 int nvaeMark = input.mark(); 4429 try { 4430 input.consume(); 4431 NoViableAltException nvae = 4432 new NoViableAltException("", 38, 1, input); 4433 throw nvae; 4434 } finally { 4435 input.rewind(nvaeMark); 4436 } 4437 } 4438 4439 } 4440 break; 4441 case ARRAY_TYPE_PREFIX: 4442 { 4443 int LA38_2 = input.LA(2); 4444 if ( (LA38_2==PRIMITIVE_TYPE) ) { 4445 int LA38_5 = input.LA(3); 4446 if ( (LA38_5==SIMPLE_NAME) ) { 4447 int LA38_3 = input.LA(4); 4448 if ( (LA38_3==ARRAY_TYPE_PREFIX||LA38_3==CLASS_DESCRIPTOR||LA38_3==PRIMITIVE_TYPE) ) { 4449 alt38=2; 4450 } 4451 else if ( (LA38_3==I_METHOD_PROTOTYPE) ) { 4452 alt38=3; 4453 } 4454 4455 else { 4456 int nvaeMark = input.mark(); 4457 try { 4458 for (int nvaeConsume = 0; nvaeConsume < 4 - 1; nvaeConsume++) { 4459 input.consume(); 4460 } 4461 NoViableAltException nvae = 4462 new NoViableAltException("", 38, 3, input); 4463 throw nvae; 4464 } finally { 4465 input.rewind(nvaeMark); 4466 } 4467 } 4468 4469 } 4470 4471 else { 4472 int nvaeMark = input.mark(); 4473 try { 4474 for (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) { 4475 input.consume(); 4476 } 4477 NoViableAltException nvae = 4478 new NoViableAltException("", 38, 5, input); 4479 throw nvae; 4480 } finally { 4481 input.rewind(nvaeMark); 4482 } 4483 } 4484 4485 } 4486 else if ( (LA38_2==CLASS_DESCRIPTOR) ) { 4487 int LA38_6 = input.LA(3); 4488 if ( (LA38_6==SIMPLE_NAME) ) { 4489 int LA38_3 = input.LA(4); 4490 if ( (LA38_3==ARRAY_TYPE_PREFIX||LA38_3==CLASS_DESCRIPTOR||LA38_3==PRIMITIVE_TYPE) ) { 4491 alt38=2; 4492 } 4493 else if ( (LA38_3==I_METHOD_PROTOTYPE) ) { 4494 alt38=3; 4495 } 4496 4497 else { 4498 int nvaeMark = input.mark(); 4499 try { 4500 for (int nvaeConsume = 0; nvaeConsume < 4 - 1; nvaeConsume++) { 4501 input.consume(); 4502 } 4503 NoViableAltException nvae = 4504 new NoViableAltException("", 38, 3, input); 4505 throw nvae; 4506 } finally { 4507 input.rewind(nvaeMark); 4508 } 4509 } 4510 4511 } 4512 4513 else { 4514 int nvaeMark = input.mark(); 4515 try { 4516 for (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) { 4517 input.consume(); 4518 } 4519 NoViableAltException nvae = 4520 new NoViableAltException("", 38, 6, input); 4521 throw nvae; 4522 } finally { 4523 input.rewind(nvaeMark); 4524 } 4525 } 4526 4527 } 4528 4529 else { 4530 int nvaeMark = input.mark(); 4531 try { 4532 input.consume(); 4533 NoViableAltException nvae = 4534 new NoViableAltException("", 38, 2, input); 4535 throw nvae; 4536 } finally { 4537 input.rewind(nvaeMark); 4538 } 4539 } 4540 4541 } 4542 break; 4543 case SIMPLE_NAME: 4544 { 4545 int LA38_3 = input.LA(2); 4546 if ( (LA38_3==ARRAY_TYPE_PREFIX||LA38_3==CLASS_DESCRIPTOR||LA38_3==PRIMITIVE_TYPE) ) { 4547 alt38=2; 4548 } 4549 else if ( (LA38_3==I_METHOD_PROTOTYPE) ) { 4550 alt38=3; 4551 } 4552 4553 else { 4554 int nvaeMark = input.mark(); 4555 try { 4556 input.consume(); 4557 NoViableAltException nvae = 4558 new NoViableAltException("", 38, 3, input); 4559 throw nvae; 4560 } finally { 4561 input.rewind(nvaeMark); 4562 } 4563 } 4564 4565 } 4566 break; 4567 default: 4568 NoViableAltException nvae = 4569 new NoViableAltException("", 38, 0, input); 4570 throw nvae; 4571 } 4572 switch (alt38) { 4573 case 1 : 4574 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:785:5: CLASS_DESCRIPTOR 4575 { 4576 CLASS_DESCRIPTOR112=(CommonTree)match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_verification_error_reference2005); 4577 4578 reference = new ImmutableTypeReference((CLASS_DESCRIPTOR112!=null?CLASS_DESCRIPTOR112.getText():null)); 4579 4580 } 4581 break; 4582 case 2 : 4583 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:789:5: field_reference 4584 { 4585 pushFollow(FOLLOW_field_reference_in_verification_error_reference2015); 4586 field_reference113=field_reference(); 4587 state._fsp--; 4588 4589 4590 reference = (field_reference113!=null?((smaliTreeWalker.field_reference_return)field_reference113).fieldReference:null); 4591 4592 } 4593 break; 4594 case 3 : 4595 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:793:5: method_reference 4596 { 4597 pushFollow(FOLLOW_method_reference_in_verification_error_reference2025); 4598 method_reference114=method_reference(); 4599 state._fsp--; 4600 4601 4602 reference = method_reference114; 4603 4604 } 4605 break; 4606 4607 } 4608 } 4609 catch (RecognitionException re) { 4610 reportError(re); 4611 recover(input,re); 4612 } 4613 finally { 4614 // do for sure before leaving 4615 } 4616 return reference; 4617 } 4618 // $ANTLR end "verification_error_reference" 4619 4620 4621 4622 // $ANTLR start "verification_error_type" 4623 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:798:1: verification_error_type returns [int verificationError] : VERIFICATION_ERROR_TYPE ; verification_error_type()4624 public final int verification_error_type() throws RecognitionException { 4625 int verificationError = 0; 4626 4627 4628 CommonTree VERIFICATION_ERROR_TYPE115=null; 4629 4630 try { 4631 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:799:3: ( VERIFICATION_ERROR_TYPE ) 4632 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:799:5: VERIFICATION_ERROR_TYPE 4633 { 4634 VERIFICATION_ERROR_TYPE115=(CommonTree)match(input,VERIFICATION_ERROR_TYPE,FOLLOW_VERIFICATION_ERROR_TYPE_in_verification_error_type2042); 4635 4636 verificationError = VerificationError.getVerificationError((VERIFICATION_ERROR_TYPE115!=null?VERIFICATION_ERROR_TYPE115.getText():null)); 4637 4638 } 4639 4640 } 4641 catch (RecognitionException re) { 4642 reportError(re); 4643 recover(input,re); 4644 } 4645 finally { 4646 // do for sure before leaving 4647 } 4648 return verificationError; 4649 } 4650 // $ANTLR end "verification_error_type" 4651 4652 4653 public static class instruction_return extends TreeRuleReturnScope { 4654 }; 4655 4656 4657 // $ANTLR start "instruction" 4658 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:804:1: instruction : ( insn_format10t | insn_format10x | insn_format11n | insn_format11x | insn_format12x | insn_format20bc | insn_format20t | insn_format21c_field | insn_format21c_method_handle | insn_format21c_method_type | insn_format21c_string | insn_format21c_type | insn_format21ih | insn_format21lh | insn_format21s | insn_format21t | insn_format22b | insn_format22c_field | insn_format22c_type | insn_format22s | insn_format22t | insn_format22x | insn_format23x | insn_format30t | insn_format31c | insn_format31i | insn_format31t | insn_format32x | insn_format35c_call_site | insn_format35c_method | insn_format35c_type | insn_format3rc_call_site | insn_format3rc_method | insn_format3rc_type | insn_format45cc_method | insn_format4rcc_method | insn_format51l_type | insn_array_data_directive | insn_packed_switch_directive | insn_sparse_switch_directive ); instruction()4659 public final smaliTreeWalker.instruction_return instruction() throws RecognitionException { 4660 smaliTreeWalker.instruction_return retval = new smaliTreeWalker.instruction_return(); 4661 retval.start = input.LT(1); 4662 4663 try { 4664 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:805:3: ( insn_format10t | insn_format10x | insn_format11n | insn_format11x | insn_format12x | insn_format20bc | insn_format20t | insn_format21c_field | insn_format21c_method_handle | insn_format21c_method_type | insn_format21c_string | insn_format21c_type | insn_format21ih | insn_format21lh | insn_format21s | insn_format21t | insn_format22b | insn_format22c_field | insn_format22c_type | insn_format22s | insn_format22t | insn_format22x | insn_format23x | insn_format30t | insn_format31c | insn_format31i | insn_format31t | insn_format32x | insn_format35c_call_site | insn_format35c_method | insn_format35c_type | insn_format3rc_call_site | insn_format3rc_method | insn_format3rc_type | insn_format45cc_method | insn_format4rcc_method | insn_format51l_type | insn_array_data_directive | insn_packed_switch_directive | insn_sparse_switch_directive ) 4665 int alt39=40; 4666 switch ( input.LA(1) ) { 4667 case I_STATEMENT_FORMAT10t: 4668 { 4669 alt39=1; 4670 } 4671 break; 4672 case I_STATEMENT_FORMAT10x: 4673 { 4674 alt39=2; 4675 } 4676 break; 4677 case I_STATEMENT_FORMAT11n: 4678 { 4679 alt39=3; 4680 } 4681 break; 4682 case I_STATEMENT_FORMAT11x: 4683 { 4684 alt39=4; 4685 } 4686 break; 4687 case I_STATEMENT_FORMAT12x: 4688 { 4689 alt39=5; 4690 } 4691 break; 4692 case I_STATEMENT_FORMAT20bc: 4693 { 4694 alt39=6; 4695 } 4696 break; 4697 case I_STATEMENT_FORMAT20t: 4698 { 4699 alt39=7; 4700 } 4701 break; 4702 case I_STATEMENT_FORMAT21c_FIELD: 4703 { 4704 alt39=8; 4705 } 4706 break; 4707 case I_STATEMENT_FORMAT21c_METHOD_HANDLE: 4708 { 4709 alt39=9; 4710 } 4711 break; 4712 case I_STATEMENT_FORMAT21c_METHOD_TYPE: 4713 { 4714 alt39=10; 4715 } 4716 break; 4717 case I_STATEMENT_FORMAT21c_STRING: 4718 { 4719 alt39=11; 4720 } 4721 break; 4722 case I_STATEMENT_FORMAT21c_TYPE: 4723 { 4724 alt39=12; 4725 } 4726 break; 4727 case I_STATEMENT_FORMAT21ih: 4728 { 4729 alt39=13; 4730 } 4731 break; 4732 case I_STATEMENT_FORMAT21lh: 4733 { 4734 alt39=14; 4735 } 4736 break; 4737 case I_STATEMENT_FORMAT21s: 4738 { 4739 alt39=15; 4740 } 4741 break; 4742 case I_STATEMENT_FORMAT21t: 4743 { 4744 alt39=16; 4745 } 4746 break; 4747 case I_STATEMENT_FORMAT22b: 4748 { 4749 alt39=17; 4750 } 4751 break; 4752 case I_STATEMENT_FORMAT22c_FIELD: 4753 { 4754 alt39=18; 4755 } 4756 break; 4757 case I_STATEMENT_FORMAT22c_TYPE: 4758 { 4759 alt39=19; 4760 } 4761 break; 4762 case I_STATEMENT_FORMAT22s: 4763 { 4764 alt39=20; 4765 } 4766 break; 4767 case I_STATEMENT_FORMAT22t: 4768 { 4769 alt39=21; 4770 } 4771 break; 4772 case I_STATEMENT_FORMAT22x: 4773 { 4774 alt39=22; 4775 } 4776 break; 4777 case I_STATEMENT_FORMAT23x: 4778 { 4779 alt39=23; 4780 } 4781 break; 4782 case I_STATEMENT_FORMAT30t: 4783 { 4784 alt39=24; 4785 } 4786 break; 4787 case I_STATEMENT_FORMAT31c: 4788 { 4789 alt39=25; 4790 } 4791 break; 4792 case I_STATEMENT_FORMAT31i: 4793 { 4794 alt39=26; 4795 } 4796 break; 4797 case I_STATEMENT_FORMAT31t: 4798 { 4799 alt39=27; 4800 } 4801 break; 4802 case I_STATEMENT_FORMAT32x: 4803 { 4804 alt39=28; 4805 } 4806 break; 4807 case I_STATEMENT_FORMAT35c_CALL_SITE: 4808 { 4809 alt39=29; 4810 } 4811 break; 4812 case I_STATEMENT_FORMAT35c_METHOD: 4813 { 4814 alt39=30; 4815 } 4816 break; 4817 case I_STATEMENT_FORMAT35c_TYPE: 4818 { 4819 alt39=31; 4820 } 4821 break; 4822 case I_STATEMENT_FORMAT3rc_CALL_SITE: 4823 { 4824 alt39=32; 4825 } 4826 break; 4827 case I_STATEMENT_FORMAT3rc_METHOD: 4828 { 4829 alt39=33; 4830 } 4831 break; 4832 case I_STATEMENT_FORMAT3rc_TYPE: 4833 { 4834 alt39=34; 4835 } 4836 break; 4837 case I_STATEMENT_FORMAT45cc_METHOD: 4838 { 4839 alt39=35; 4840 } 4841 break; 4842 case I_STATEMENT_FORMAT4rcc_METHOD: 4843 { 4844 alt39=36; 4845 } 4846 break; 4847 case I_STATEMENT_FORMAT51l: 4848 { 4849 alt39=37; 4850 } 4851 break; 4852 case I_STATEMENT_ARRAY_DATA: 4853 { 4854 alt39=38; 4855 } 4856 break; 4857 case I_STATEMENT_PACKED_SWITCH: 4858 { 4859 alt39=39; 4860 } 4861 break; 4862 case I_STATEMENT_SPARSE_SWITCH: 4863 { 4864 alt39=40; 4865 } 4866 break; 4867 default: 4868 NoViableAltException nvae = 4869 new NoViableAltException("", 39, 0, input); 4870 throw nvae; 4871 } 4872 switch (alt39) { 4873 case 1 : 4874 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:805:5: insn_format10t 4875 { 4876 pushFollow(FOLLOW_insn_format10t_in_instruction2056); 4877 insn_format10t(); 4878 state._fsp--; 4879 4880 } 4881 break; 4882 case 2 : 4883 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:806:5: insn_format10x 4884 { 4885 pushFollow(FOLLOW_insn_format10x_in_instruction2062); 4886 insn_format10x(); 4887 state._fsp--; 4888 4889 } 4890 break; 4891 case 3 : 4892 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:807:5: insn_format11n 4893 { 4894 pushFollow(FOLLOW_insn_format11n_in_instruction2068); 4895 insn_format11n(); 4896 state._fsp--; 4897 4898 } 4899 break; 4900 case 4 : 4901 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:808:5: insn_format11x 4902 { 4903 pushFollow(FOLLOW_insn_format11x_in_instruction2074); 4904 insn_format11x(); 4905 state._fsp--; 4906 4907 } 4908 break; 4909 case 5 : 4910 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:809:5: insn_format12x 4911 { 4912 pushFollow(FOLLOW_insn_format12x_in_instruction2080); 4913 insn_format12x(); 4914 state._fsp--; 4915 4916 } 4917 break; 4918 case 6 : 4919 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:810:5: insn_format20bc 4920 { 4921 pushFollow(FOLLOW_insn_format20bc_in_instruction2086); 4922 insn_format20bc(); 4923 state._fsp--; 4924 4925 } 4926 break; 4927 case 7 : 4928 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:811:5: insn_format20t 4929 { 4930 pushFollow(FOLLOW_insn_format20t_in_instruction2092); 4931 insn_format20t(); 4932 state._fsp--; 4933 4934 } 4935 break; 4936 case 8 : 4937 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:812:5: insn_format21c_field 4938 { 4939 pushFollow(FOLLOW_insn_format21c_field_in_instruction2098); 4940 insn_format21c_field(); 4941 state._fsp--; 4942 4943 } 4944 break; 4945 case 9 : 4946 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:813:5: insn_format21c_method_handle 4947 { 4948 pushFollow(FOLLOW_insn_format21c_method_handle_in_instruction2104); 4949 insn_format21c_method_handle(); 4950 state._fsp--; 4951 4952 } 4953 break; 4954 case 10 : 4955 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:814:5: insn_format21c_method_type 4956 { 4957 pushFollow(FOLLOW_insn_format21c_method_type_in_instruction2110); 4958 insn_format21c_method_type(); 4959 state._fsp--; 4960 4961 } 4962 break; 4963 case 11 : 4964 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:815:5: insn_format21c_string 4965 { 4966 pushFollow(FOLLOW_insn_format21c_string_in_instruction2116); 4967 insn_format21c_string(); 4968 state._fsp--; 4969 4970 } 4971 break; 4972 case 12 : 4973 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:816:5: insn_format21c_type 4974 { 4975 pushFollow(FOLLOW_insn_format21c_type_in_instruction2122); 4976 insn_format21c_type(); 4977 state._fsp--; 4978 4979 } 4980 break; 4981 case 13 : 4982 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:817:5: insn_format21ih 4983 { 4984 pushFollow(FOLLOW_insn_format21ih_in_instruction2128); 4985 insn_format21ih(); 4986 state._fsp--; 4987 4988 } 4989 break; 4990 case 14 : 4991 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:818:5: insn_format21lh 4992 { 4993 pushFollow(FOLLOW_insn_format21lh_in_instruction2134); 4994 insn_format21lh(); 4995 state._fsp--; 4996 4997 } 4998 break; 4999 case 15 : 5000 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:819:5: insn_format21s 5001 { 5002 pushFollow(FOLLOW_insn_format21s_in_instruction2140); 5003 insn_format21s(); 5004 state._fsp--; 5005 5006 } 5007 break; 5008 case 16 : 5009 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:820:5: insn_format21t 5010 { 5011 pushFollow(FOLLOW_insn_format21t_in_instruction2146); 5012 insn_format21t(); 5013 state._fsp--; 5014 5015 } 5016 break; 5017 case 17 : 5018 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:821:5: insn_format22b 5019 { 5020 pushFollow(FOLLOW_insn_format22b_in_instruction2152); 5021 insn_format22b(); 5022 state._fsp--; 5023 5024 } 5025 break; 5026 case 18 : 5027 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:822:5: insn_format22c_field 5028 { 5029 pushFollow(FOLLOW_insn_format22c_field_in_instruction2158); 5030 insn_format22c_field(); 5031 state._fsp--; 5032 5033 } 5034 break; 5035 case 19 : 5036 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:823:5: insn_format22c_type 5037 { 5038 pushFollow(FOLLOW_insn_format22c_type_in_instruction2164); 5039 insn_format22c_type(); 5040 state._fsp--; 5041 5042 } 5043 break; 5044 case 20 : 5045 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:824:5: insn_format22s 5046 { 5047 pushFollow(FOLLOW_insn_format22s_in_instruction2170); 5048 insn_format22s(); 5049 state._fsp--; 5050 5051 } 5052 break; 5053 case 21 : 5054 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:825:5: insn_format22t 5055 { 5056 pushFollow(FOLLOW_insn_format22t_in_instruction2176); 5057 insn_format22t(); 5058 state._fsp--; 5059 5060 } 5061 break; 5062 case 22 : 5063 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:826:5: insn_format22x 5064 { 5065 pushFollow(FOLLOW_insn_format22x_in_instruction2182); 5066 insn_format22x(); 5067 state._fsp--; 5068 5069 } 5070 break; 5071 case 23 : 5072 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:827:5: insn_format23x 5073 { 5074 pushFollow(FOLLOW_insn_format23x_in_instruction2188); 5075 insn_format23x(); 5076 state._fsp--; 5077 5078 } 5079 break; 5080 case 24 : 5081 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:828:5: insn_format30t 5082 { 5083 pushFollow(FOLLOW_insn_format30t_in_instruction2194); 5084 insn_format30t(); 5085 state._fsp--; 5086 5087 } 5088 break; 5089 case 25 : 5090 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:829:5: insn_format31c 5091 { 5092 pushFollow(FOLLOW_insn_format31c_in_instruction2200); 5093 insn_format31c(); 5094 state._fsp--; 5095 5096 } 5097 break; 5098 case 26 : 5099 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:830:5: insn_format31i 5100 { 5101 pushFollow(FOLLOW_insn_format31i_in_instruction2206); 5102 insn_format31i(); 5103 state._fsp--; 5104 5105 } 5106 break; 5107 case 27 : 5108 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:831:5: insn_format31t 5109 { 5110 pushFollow(FOLLOW_insn_format31t_in_instruction2212); 5111 insn_format31t(); 5112 state._fsp--; 5113 5114 } 5115 break; 5116 case 28 : 5117 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:832:5: insn_format32x 5118 { 5119 pushFollow(FOLLOW_insn_format32x_in_instruction2218); 5120 insn_format32x(); 5121 state._fsp--; 5122 5123 } 5124 break; 5125 case 29 : 5126 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:833:5: insn_format35c_call_site 5127 { 5128 pushFollow(FOLLOW_insn_format35c_call_site_in_instruction2224); 5129 insn_format35c_call_site(); 5130 state._fsp--; 5131 5132 } 5133 break; 5134 case 30 : 5135 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:834:5: insn_format35c_method 5136 { 5137 pushFollow(FOLLOW_insn_format35c_method_in_instruction2230); 5138 insn_format35c_method(); 5139 state._fsp--; 5140 5141 } 5142 break; 5143 case 31 : 5144 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:835:5: insn_format35c_type 5145 { 5146 pushFollow(FOLLOW_insn_format35c_type_in_instruction2236); 5147 insn_format35c_type(); 5148 state._fsp--; 5149 5150 } 5151 break; 5152 case 32 : 5153 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:836:5: insn_format3rc_call_site 5154 { 5155 pushFollow(FOLLOW_insn_format3rc_call_site_in_instruction2242); 5156 insn_format3rc_call_site(); 5157 state._fsp--; 5158 5159 } 5160 break; 5161 case 33 : 5162 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:837:5: insn_format3rc_method 5163 { 5164 pushFollow(FOLLOW_insn_format3rc_method_in_instruction2248); 5165 insn_format3rc_method(); 5166 state._fsp--; 5167 5168 } 5169 break; 5170 case 34 : 5171 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:838:5: insn_format3rc_type 5172 { 5173 pushFollow(FOLLOW_insn_format3rc_type_in_instruction2254); 5174 insn_format3rc_type(); 5175 state._fsp--; 5176 5177 } 5178 break; 5179 case 35 : 5180 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:839:5: insn_format45cc_method 5181 { 5182 pushFollow(FOLLOW_insn_format45cc_method_in_instruction2260); 5183 insn_format45cc_method(); 5184 state._fsp--; 5185 5186 } 5187 break; 5188 case 36 : 5189 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:840:5: insn_format4rcc_method 5190 { 5191 pushFollow(FOLLOW_insn_format4rcc_method_in_instruction2266); 5192 insn_format4rcc_method(); 5193 state._fsp--; 5194 5195 } 5196 break; 5197 case 37 : 5198 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:841:5: insn_format51l_type 5199 { 5200 pushFollow(FOLLOW_insn_format51l_type_in_instruction2272); 5201 insn_format51l_type(); 5202 state._fsp--; 5203 5204 } 5205 break; 5206 case 38 : 5207 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:842:5: insn_array_data_directive 5208 { 5209 pushFollow(FOLLOW_insn_array_data_directive_in_instruction2278); 5210 insn_array_data_directive(); 5211 state._fsp--; 5212 5213 } 5214 break; 5215 case 39 : 5216 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:843:5: insn_packed_switch_directive 5217 { 5218 pushFollow(FOLLOW_insn_packed_switch_directive_in_instruction2284); 5219 insn_packed_switch_directive(); 5220 state._fsp--; 5221 5222 } 5223 break; 5224 case 40 : 5225 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:844:5: insn_sparse_switch_directive 5226 { 5227 pushFollow(FOLLOW_insn_sparse_switch_directive_in_instruction2290); 5228 insn_sparse_switch_directive(); 5229 state._fsp--; 5230 5231 } 5232 break; 5233 5234 } 5235 } 5236 catch (Exception ex) { 5237 5238 reportError(new SemanticException(input, ((CommonTree)retval.start), ex.getMessage())); 5239 recover(input, null); 5240 5241 } 5242 5243 finally { 5244 // do for sure before leaving 5245 } 5246 return retval; 5247 } 5248 // $ANTLR end "instruction" 5249 5250 5251 5252 // $ANTLR start "insn_format10t" 5253 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:850:1: insn_format10t : ^( I_STATEMENT_FORMAT10t INSTRUCTION_FORMAT10t label_ref ) ; insn_format10t()5254 public final void insn_format10t() throws RecognitionException { 5255 CommonTree INSTRUCTION_FORMAT10t116=null; 5256 Label label_ref117 =null; 5257 5258 try { 5259 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:851:3: ( ^( I_STATEMENT_FORMAT10t INSTRUCTION_FORMAT10t label_ref ) ) 5260 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:852:5: ^( I_STATEMENT_FORMAT10t INSTRUCTION_FORMAT10t label_ref ) 5261 { 5262 match(input,I_STATEMENT_FORMAT10t,FOLLOW_I_STATEMENT_FORMAT10t_in_insn_format10t2314); 5263 match(input, Token.DOWN, null); 5264 INSTRUCTION_FORMAT10t116=(CommonTree)match(input,INSTRUCTION_FORMAT10t,FOLLOW_INSTRUCTION_FORMAT10t_in_insn_format10t2316); 5265 pushFollow(FOLLOW_label_ref_in_insn_format10t2318); 5266 label_ref117=label_ref(); 5267 state._fsp--; 5268 5269 match(input, Token.UP, null); 5270 5271 5272 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT10t116!=null?INSTRUCTION_FORMAT10t116.getText():null)); 5273 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction10t(opcode, label_ref117)); 5274 5275 } 5276 5277 } 5278 catch (RecognitionException re) { 5279 reportError(re); 5280 recover(input,re); 5281 } 5282 finally { 5283 // do for sure before leaving 5284 } 5285 } 5286 // $ANTLR end "insn_format10t" 5287 5288 5289 5290 // $ANTLR start "insn_format10x" 5291 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:858:1: insn_format10x : ^( I_STATEMENT_FORMAT10x INSTRUCTION_FORMAT10x ) ; insn_format10x()5292 public final void insn_format10x() throws RecognitionException { 5293 CommonTree INSTRUCTION_FORMAT10x118=null; 5294 5295 try { 5296 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:859:3: ( ^( I_STATEMENT_FORMAT10x INSTRUCTION_FORMAT10x ) ) 5297 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:860:5: ^( I_STATEMENT_FORMAT10x INSTRUCTION_FORMAT10x ) 5298 { 5299 match(input,I_STATEMENT_FORMAT10x,FOLLOW_I_STATEMENT_FORMAT10x_in_insn_format10x2341); 5300 match(input, Token.DOWN, null); 5301 INSTRUCTION_FORMAT10x118=(CommonTree)match(input,INSTRUCTION_FORMAT10x,FOLLOW_INSTRUCTION_FORMAT10x_in_insn_format10x2343); 5302 match(input, Token.UP, null); 5303 5304 5305 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT10x118!=null?INSTRUCTION_FORMAT10x118.getText():null)); 5306 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction10x(opcode)); 5307 5308 } 5309 5310 } 5311 catch (RecognitionException re) { 5312 reportError(re); 5313 recover(input,re); 5314 } 5315 finally { 5316 // do for sure before leaving 5317 } 5318 } 5319 // $ANTLR end "insn_format10x" 5320 5321 5322 5323 // $ANTLR start "insn_format11n" 5324 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:866:1: insn_format11n : ^( I_STATEMENT_FORMAT11n INSTRUCTION_FORMAT11n REGISTER short_integral_literal ) ; insn_format11n()5325 public final void insn_format11n() throws RecognitionException { 5326 CommonTree INSTRUCTION_FORMAT11n119=null; 5327 CommonTree REGISTER120=null; 5328 short short_integral_literal121 =0; 5329 5330 try { 5331 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:867:3: ( ^( I_STATEMENT_FORMAT11n INSTRUCTION_FORMAT11n REGISTER short_integral_literal ) ) 5332 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:868:5: ^( I_STATEMENT_FORMAT11n INSTRUCTION_FORMAT11n REGISTER short_integral_literal ) 5333 { 5334 match(input,I_STATEMENT_FORMAT11n,FOLLOW_I_STATEMENT_FORMAT11n_in_insn_format11n2366); 5335 match(input, Token.DOWN, null); 5336 INSTRUCTION_FORMAT11n119=(CommonTree)match(input,INSTRUCTION_FORMAT11n,FOLLOW_INSTRUCTION_FORMAT11n_in_insn_format11n2368); 5337 REGISTER120=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format11n2370); 5338 pushFollow(FOLLOW_short_integral_literal_in_insn_format11n2372); 5339 short_integral_literal121=short_integral_literal(); 5340 state._fsp--; 5341 5342 match(input, Token.UP, null); 5343 5344 5345 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT11n119!=null?INSTRUCTION_FORMAT11n119.getText():null)); 5346 byte regA = parseRegister_nibble((REGISTER120!=null?REGISTER120.getText():null)); 5347 5348 short litB = short_integral_literal121; 5349 LiteralTools.checkNibble(litB); 5350 5351 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction11n(opcode, regA, litB)); 5352 5353 } 5354 5355 } 5356 catch (RecognitionException re) { 5357 reportError(re); 5358 recover(input,re); 5359 } 5360 finally { 5361 // do for sure before leaving 5362 } 5363 } 5364 // $ANTLR end "insn_format11n" 5365 5366 5367 5368 // $ANTLR start "insn_format11x" 5369 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:879:1: insn_format11x : ^( I_STATEMENT_FORMAT11x INSTRUCTION_FORMAT11x REGISTER ) ; insn_format11x()5370 public final void insn_format11x() throws RecognitionException { 5371 CommonTree INSTRUCTION_FORMAT11x122=null; 5372 CommonTree REGISTER123=null; 5373 5374 try { 5375 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:880:3: ( ^( I_STATEMENT_FORMAT11x INSTRUCTION_FORMAT11x REGISTER ) ) 5376 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:881:5: ^( I_STATEMENT_FORMAT11x INSTRUCTION_FORMAT11x REGISTER ) 5377 { 5378 match(input,I_STATEMENT_FORMAT11x,FOLLOW_I_STATEMENT_FORMAT11x_in_insn_format11x2395); 5379 match(input, Token.DOWN, null); 5380 INSTRUCTION_FORMAT11x122=(CommonTree)match(input,INSTRUCTION_FORMAT11x,FOLLOW_INSTRUCTION_FORMAT11x_in_insn_format11x2397); 5381 REGISTER123=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format11x2399); 5382 match(input, Token.UP, null); 5383 5384 5385 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT11x122!=null?INSTRUCTION_FORMAT11x122.getText():null)); 5386 short regA = parseRegister_byte((REGISTER123!=null?REGISTER123.getText():null)); 5387 5388 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction11x(opcode, regA)); 5389 5390 } 5391 5392 } 5393 catch (RecognitionException re) { 5394 reportError(re); 5395 recover(input,re); 5396 } 5397 finally { 5398 // do for sure before leaving 5399 } 5400 } 5401 // $ANTLR end "insn_format11x" 5402 5403 5404 5405 // $ANTLR start "insn_format12x" 5406 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:889:1: insn_format12x : ^( I_STATEMENT_FORMAT12x INSTRUCTION_FORMAT12x registerA= REGISTER registerB= REGISTER ) ; insn_format12x()5407 public final void insn_format12x() throws RecognitionException { 5408 CommonTree registerA=null; 5409 CommonTree registerB=null; 5410 CommonTree INSTRUCTION_FORMAT12x124=null; 5411 5412 try { 5413 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:890:3: ( ^( I_STATEMENT_FORMAT12x INSTRUCTION_FORMAT12x registerA= REGISTER registerB= REGISTER ) ) 5414 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:891:5: ^( I_STATEMENT_FORMAT12x INSTRUCTION_FORMAT12x registerA= REGISTER registerB= REGISTER ) 5415 { 5416 match(input,I_STATEMENT_FORMAT12x,FOLLOW_I_STATEMENT_FORMAT12x_in_insn_format12x2422); 5417 match(input, Token.DOWN, null); 5418 INSTRUCTION_FORMAT12x124=(CommonTree)match(input,INSTRUCTION_FORMAT12x,FOLLOW_INSTRUCTION_FORMAT12x_in_insn_format12x2424); 5419 registerA=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format12x2428); 5420 registerB=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format12x2432); 5421 match(input, Token.UP, null); 5422 5423 5424 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT12x124!=null?INSTRUCTION_FORMAT12x124.getText():null)); 5425 byte regA = parseRegister_nibble((registerA!=null?registerA.getText():null)); 5426 byte regB = parseRegister_nibble((registerB!=null?registerB.getText():null)); 5427 5428 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction12x(opcode, regA, regB)); 5429 5430 } 5431 5432 } 5433 catch (RecognitionException re) { 5434 reportError(re); 5435 recover(input,re); 5436 } 5437 finally { 5438 // do for sure before leaving 5439 } 5440 } 5441 // $ANTLR end "insn_format12x" 5442 5443 5444 5445 // $ANTLR start "insn_format20bc" 5446 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:900:1: insn_format20bc : ^( I_STATEMENT_FORMAT20bc INSTRUCTION_FORMAT20bc verification_error_type verification_error_reference ) ; insn_format20bc()5447 public final void insn_format20bc() throws RecognitionException { 5448 CommonTree INSTRUCTION_FORMAT20bc125=null; 5449 int verification_error_type126 =0; 5450 ImmutableReference verification_error_reference127 =null; 5451 5452 try { 5453 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:901:3: ( ^( I_STATEMENT_FORMAT20bc INSTRUCTION_FORMAT20bc verification_error_type verification_error_reference ) ) 5454 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:902:5: ^( I_STATEMENT_FORMAT20bc INSTRUCTION_FORMAT20bc verification_error_type verification_error_reference ) 5455 { 5456 match(input,I_STATEMENT_FORMAT20bc,FOLLOW_I_STATEMENT_FORMAT20bc_in_insn_format20bc2455); 5457 match(input, Token.DOWN, null); 5458 INSTRUCTION_FORMAT20bc125=(CommonTree)match(input,INSTRUCTION_FORMAT20bc,FOLLOW_INSTRUCTION_FORMAT20bc_in_insn_format20bc2457); 5459 pushFollow(FOLLOW_verification_error_type_in_insn_format20bc2459); 5460 verification_error_type126=verification_error_type(); 5461 state._fsp--; 5462 5463 pushFollow(FOLLOW_verification_error_reference_in_insn_format20bc2461); 5464 verification_error_reference127=verification_error_reference(); 5465 state._fsp--; 5466 5467 match(input, Token.UP, null); 5468 5469 5470 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT20bc125!=null?INSTRUCTION_FORMAT20bc125.getText():null)); 5471 5472 int verificationError = verification_error_type126; 5473 ImmutableReference referencedItem = verification_error_reference127; 5474 5475 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction20bc(opcode, verificationError, 5476 dexBuilder.internReference(referencedItem))); 5477 5478 } 5479 5480 } 5481 catch (RecognitionException re) { 5482 reportError(re); 5483 recover(input,re); 5484 } 5485 finally { 5486 // do for sure before leaving 5487 } 5488 } 5489 // $ANTLR end "insn_format20bc" 5490 5491 5492 5493 // $ANTLR start "insn_format20t" 5494 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:913:1: insn_format20t : ^( I_STATEMENT_FORMAT20t INSTRUCTION_FORMAT20t label_ref ) ; insn_format20t()5495 public final void insn_format20t() throws RecognitionException { 5496 CommonTree INSTRUCTION_FORMAT20t128=null; 5497 Label label_ref129 =null; 5498 5499 try { 5500 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:914:3: ( ^( I_STATEMENT_FORMAT20t INSTRUCTION_FORMAT20t label_ref ) ) 5501 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:915:5: ^( I_STATEMENT_FORMAT20t INSTRUCTION_FORMAT20t label_ref ) 5502 { 5503 match(input,I_STATEMENT_FORMAT20t,FOLLOW_I_STATEMENT_FORMAT20t_in_insn_format20t2484); 5504 match(input, Token.DOWN, null); 5505 INSTRUCTION_FORMAT20t128=(CommonTree)match(input,INSTRUCTION_FORMAT20t,FOLLOW_INSTRUCTION_FORMAT20t_in_insn_format20t2486); 5506 pushFollow(FOLLOW_label_ref_in_insn_format20t2488); 5507 label_ref129=label_ref(); 5508 state._fsp--; 5509 5510 match(input, Token.UP, null); 5511 5512 5513 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT20t128!=null?INSTRUCTION_FORMAT20t128.getText():null)); 5514 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction20t(opcode, label_ref129)); 5515 5516 } 5517 5518 } 5519 catch (RecognitionException re) { 5520 reportError(re); 5521 recover(input,re); 5522 } 5523 finally { 5524 // do for sure before leaving 5525 } 5526 } 5527 // $ANTLR end "insn_format20t" 5528 5529 5530 5531 // $ANTLR start "insn_format21c_field" 5532 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:921:1: insn_format21c_field : ^( I_STATEMENT_FORMAT21c_FIELD inst= ( INSTRUCTION_FORMAT21c_FIELD | INSTRUCTION_FORMAT21c_FIELD_ODEX ) REGISTER field_reference ) ; insn_format21c_field()5533 public final void insn_format21c_field() throws RecognitionException { 5534 CommonTree inst=null; 5535 CommonTree REGISTER130=null; 5536 TreeRuleReturnScope field_reference131 =null; 5537 5538 try { 5539 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:922:3: ( ^( I_STATEMENT_FORMAT21c_FIELD inst= ( INSTRUCTION_FORMAT21c_FIELD | INSTRUCTION_FORMAT21c_FIELD_ODEX ) REGISTER field_reference ) ) 5540 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:923:5: ^( I_STATEMENT_FORMAT21c_FIELD inst= ( INSTRUCTION_FORMAT21c_FIELD | INSTRUCTION_FORMAT21c_FIELD_ODEX ) REGISTER field_reference ) 5541 { 5542 match(input,I_STATEMENT_FORMAT21c_FIELD,FOLLOW_I_STATEMENT_FORMAT21c_FIELD_in_insn_format21c_field2511); 5543 match(input, Token.DOWN, null); 5544 inst=(CommonTree)input.LT(1); 5545 if ( (input.LA(1) >= INSTRUCTION_FORMAT21c_FIELD && input.LA(1) <= INSTRUCTION_FORMAT21c_FIELD_ODEX) ) { 5546 input.consume(); 5547 state.errorRecovery=false; 5548 } 5549 else { 5550 MismatchedSetException mse = new MismatchedSetException(null,input); 5551 throw mse; 5552 } 5553 REGISTER130=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format21c_field2523); 5554 pushFollow(FOLLOW_field_reference_in_insn_format21c_field2525); 5555 field_reference131=field_reference(); 5556 state._fsp--; 5557 5558 match(input, Token.UP, null); 5559 5560 5561 Opcode opcode = opcodes.getOpcodeByName((inst!=null?inst.getText():null)); 5562 short regA = parseRegister_byte((REGISTER130!=null?REGISTER130.getText():null)); 5563 5564 ImmutableFieldReference fieldReference = (field_reference131!=null?((smaliTreeWalker.field_reference_return)field_reference131).fieldReference:null); 5565 5566 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21c(opcode, regA, 5567 dexBuilder.internFieldReference(fieldReference))); 5568 5569 } 5570 5571 } 5572 catch (RecognitionException re) { 5573 reportError(re); 5574 recover(input,re); 5575 } 5576 finally { 5577 // do for sure before leaving 5578 } 5579 } 5580 // $ANTLR end "insn_format21c_field" 5581 5582 5583 5584 // $ANTLR start "insn_format21c_method_handle" 5585 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:934:1: insn_format21c_method_handle : ^( I_STATEMENT_FORMAT21c_METHOD_HANDLE inst= ( INSTRUCTION_FORMAT21c_METHOD_HANDLE ) REGISTER method_handle_reference ) ; insn_format21c_method_handle()5586 public final void insn_format21c_method_handle() throws RecognitionException { 5587 CommonTree inst=null; 5588 CommonTree REGISTER132=null; 5589 ImmutableMethodHandleReference method_handle_reference133 =null; 5590 5591 try { 5592 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:935:3: ( ^( I_STATEMENT_FORMAT21c_METHOD_HANDLE inst= ( INSTRUCTION_FORMAT21c_METHOD_HANDLE ) REGISTER method_handle_reference ) ) 5593 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:936:5: ^( I_STATEMENT_FORMAT21c_METHOD_HANDLE inst= ( INSTRUCTION_FORMAT21c_METHOD_HANDLE ) REGISTER method_handle_reference ) 5594 { 5595 match(input,I_STATEMENT_FORMAT21c_METHOD_HANDLE,FOLLOW_I_STATEMENT_FORMAT21c_METHOD_HANDLE_in_insn_format21c_method_handle2548); 5596 match(input, Token.DOWN, null); 5597 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:936:48: ( INSTRUCTION_FORMAT21c_METHOD_HANDLE ) 5598 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:936:49: INSTRUCTION_FORMAT21c_METHOD_HANDLE 5599 { 5600 inst=(CommonTree)match(input,INSTRUCTION_FORMAT21c_METHOD_HANDLE,FOLLOW_INSTRUCTION_FORMAT21c_METHOD_HANDLE_in_insn_format21c_method_handle2553); 5601 } 5602 5603 REGISTER132=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format21c_method_handle2556); 5604 pushFollow(FOLLOW_method_handle_reference_in_insn_format21c_method_handle2558); 5605 method_handle_reference133=method_handle_reference(); 5606 state._fsp--; 5607 5608 match(input, Token.UP, null); 5609 5610 5611 Opcode opcode = opcodes.getOpcodeByName((inst!=null?inst.getText():null)); 5612 short regA = parseRegister_byte((REGISTER132!=null?REGISTER132.getText():null)); 5613 5614 ImmutableMethodHandleReference methodHandleReference = method_handle_reference133; 5615 5616 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21c(opcode, regA, 5617 dexBuilder.internMethodHandle(methodHandleReference))); 5618 5619 } 5620 5621 } 5622 catch (RecognitionException re) { 5623 reportError(re); 5624 recover(input,re); 5625 } 5626 finally { 5627 // do for sure before leaving 5628 } 5629 } 5630 // $ANTLR end "insn_format21c_method_handle" 5631 5632 5633 5634 // $ANTLR start "insn_format21c_method_type" 5635 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:947:1: insn_format21c_method_type : ^( I_STATEMENT_FORMAT21c_METHOD_TYPE inst= ( INSTRUCTION_FORMAT21c_METHOD_TYPE ) REGISTER method_prototype ) ; insn_format21c_method_type()5636 public final void insn_format21c_method_type() throws RecognitionException { 5637 CommonTree inst=null; 5638 CommonTree REGISTER134=null; 5639 ImmutableMethodProtoReference method_prototype135 =null; 5640 5641 try { 5642 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:948:3: ( ^( I_STATEMENT_FORMAT21c_METHOD_TYPE inst= ( INSTRUCTION_FORMAT21c_METHOD_TYPE ) REGISTER method_prototype ) ) 5643 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:949:5: ^( I_STATEMENT_FORMAT21c_METHOD_TYPE inst= ( INSTRUCTION_FORMAT21c_METHOD_TYPE ) REGISTER method_prototype ) 5644 { 5645 match(input,I_STATEMENT_FORMAT21c_METHOD_TYPE,FOLLOW_I_STATEMENT_FORMAT21c_METHOD_TYPE_in_insn_format21c_method_type2581); 5646 match(input, Token.DOWN, null); 5647 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:949:46: ( INSTRUCTION_FORMAT21c_METHOD_TYPE ) 5648 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:949:47: INSTRUCTION_FORMAT21c_METHOD_TYPE 5649 { 5650 inst=(CommonTree)match(input,INSTRUCTION_FORMAT21c_METHOD_TYPE,FOLLOW_INSTRUCTION_FORMAT21c_METHOD_TYPE_in_insn_format21c_method_type2586); 5651 } 5652 5653 REGISTER134=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format21c_method_type2589); 5654 pushFollow(FOLLOW_method_prototype_in_insn_format21c_method_type2591); 5655 method_prototype135=method_prototype(); 5656 state._fsp--; 5657 5658 match(input, Token.UP, null); 5659 5660 5661 Opcode opcode = opcodes.getOpcodeByName((inst!=null?inst.getText():null)); 5662 short regA = parseRegister_byte((REGISTER134!=null?REGISTER134.getText():null)); 5663 5664 ImmutableMethodProtoReference methodProtoReference = method_prototype135; 5665 5666 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21c(opcode, regA, 5667 dexBuilder.internMethodProtoReference(methodProtoReference))); 5668 5669 } 5670 5671 } 5672 catch (RecognitionException re) { 5673 reportError(re); 5674 recover(input,re); 5675 } 5676 finally { 5677 // do for sure before leaving 5678 } 5679 } 5680 // $ANTLR end "insn_format21c_method_type" 5681 5682 5683 5684 // $ANTLR start "insn_format21c_string" 5685 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:960:1: insn_format21c_string : ^( I_STATEMENT_FORMAT21c_STRING INSTRUCTION_FORMAT21c_STRING REGISTER string_literal ) ; insn_format21c_string()5686 public final void insn_format21c_string() throws RecognitionException { 5687 CommonTree INSTRUCTION_FORMAT21c_STRING136=null; 5688 CommonTree REGISTER137=null; 5689 String string_literal138 =null; 5690 5691 try { 5692 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:961:3: ( ^( I_STATEMENT_FORMAT21c_STRING INSTRUCTION_FORMAT21c_STRING REGISTER string_literal ) ) 5693 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:962:5: ^( I_STATEMENT_FORMAT21c_STRING INSTRUCTION_FORMAT21c_STRING REGISTER string_literal ) 5694 { 5695 match(input,I_STATEMENT_FORMAT21c_STRING,FOLLOW_I_STATEMENT_FORMAT21c_STRING_in_insn_format21c_string2614); 5696 match(input, Token.DOWN, null); 5697 INSTRUCTION_FORMAT21c_STRING136=(CommonTree)match(input,INSTRUCTION_FORMAT21c_STRING,FOLLOW_INSTRUCTION_FORMAT21c_STRING_in_insn_format21c_string2616); 5698 REGISTER137=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format21c_string2618); 5699 pushFollow(FOLLOW_string_literal_in_insn_format21c_string2620); 5700 string_literal138=string_literal(); 5701 state._fsp--; 5702 5703 match(input, Token.UP, null); 5704 5705 5706 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT21c_STRING136!=null?INSTRUCTION_FORMAT21c_STRING136.getText():null)); 5707 short regA = parseRegister_byte((REGISTER137!=null?REGISTER137.getText():null)); 5708 5709 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21c(opcode, regA, 5710 dexBuilder.internStringReference(string_literal138))); 5711 5712 } 5713 5714 } 5715 catch (RecognitionException re) { 5716 reportError(re); 5717 recover(input,re); 5718 } 5719 finally { 5720 // do for sure before leaving 5721 } 5722 } 5723 // $ANTLR end "insn_format21c_string" 5724 5725 5726 5727 // $ANTLR start "insn_format21c_type" 5728 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:971:1: insn_format21c_type : ^( I_STATEMENT_FORMAT21c_TYPE INSTRUCTION_FORMAT21c_TYPE REGISTER nonvoid_type_descriptor ) ; insn_format21c_type()5729 public final void insn_format21c_type() throws RecognitionException { 5730 CommonTree INSTRUCTION_FORMAT21c_TYPE139=null; 5731 CommonTree REGISTER140=null; 5732 TreeRuleReturnScope nonvoid_type_descriptor141 =null; 5733 5734 try { 5735 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:972:3: ( ^( I_STATEMENT_FORMAT21c_TYPE INSTRUCTION_FORMAT21c_TYPE REGISTER nonvoid_type_descriptor ) ) 5736 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:973:5: ^( I_STATEMENT_FORMAT21c_TYPE INSTRUCTION_FORMAT21c_TYPE REGISTER nonvoid_type_descriptor ) 5737 { 5738 match(input,I_STATEMENT_FORMAT21c_TYPE,FOLLOW_I_STATEMENT_FORMAT21c_TYPE_in_insn_format21c_type2643); 5739 match(input, Token.DOWN, null); 5740 INSTRUCTION_FORMAT21c_TYPE139=(CommonTree)match(input,INSTRUCTION_FORMAT21c_TYPE,FOLLOW_INSTRUCTION_FORMAT21c_TYPE_in_insn_format21c_type2645); 5741 REGISTER140=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format21c_type2647); 5742 pushFollow(FOLLOW_nonvoid_type_descriptor_in_insn_format21c_type2649); 5743 nonvoid_type_descriptor141=nonvoid_type_descriptor(); 5744 state._fsp--; 5745 5746 match(input, Token.UP, null); 5747 5748 5749 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT21c_TYPE139!=null?INSTRUCTION_FORMAT21c_TYPE139.getText():null)); 5750 short regA = parseRegister_byte((REGISTER140!=null?REGISTER140.getText():null)); 5751 5752 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21c(opcode, regA, 5753 dexBuilder.internTypeReference((nonvoid_type_descriptor141!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor141).type:null)))); 5754 5755 } 5756 5757 } 5758 catch (RecognitionException re) { 5759 reportError(re); 5760 recover(input,re); 5761 } 5762 finally { 5763 // do for sure before leaving 5764 } 5765 } 5766 // $ANTLR end "insn_format21c_type" 5767 5768 5769 5770 // $ANTLR start "insn_format21ih" 5771 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:982:1: insn_format21ih : ^( I_STATEMENT_FORMAT21ih INSTRUCTION_FORMAT21ih REGISTER fixed_32bit_literal ) ; insn_format21ih()5772 public final void insn_format21ih() throws RecognitionException { 5773 CommonTree INSTRUCTION_FORMAT21ih142=null; 5774 CommonTree REGISTER143=null; 5775 int fixed_32bit_literal144 =0; 5776 5777 try { 5778 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:983:3: ( ^( I_STATEMENT_FORMAT21ih INSTRUCTION_FORMAT21ih REGISTER fixed_32bit_literal ) ) 5779 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:984:5: ^( I_STATEMENT_FORMAT21ih INSTRUCTION_FORMAT21ih REGISTER fixed_32bit_literal ) 5780 { 5781 match(input,I_STATEMENT_FORMAT21ih,FOLLOW_I_STATEMENT_FORMAT21ih_in_insn_format21ih2672); 5782 match(input, Token.DOWN, null); 5783 INSTRUCTION_FORMAT21ih142=(CommonTree)match(input,INSTRUCTION_FORMAT21ih,FOLLOW_INSTRUCTION_FORMAT21ih_in_insn_format21ih2674); 5784 REGISTER143=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format21ih2676); 5785 pushFollow(FOLLOW_fixed_32bit_literal_in_insn_format21ih2678); 5786 fixed_32bit_literal144=fixed_32bit_literal(); 5787 state._fsp--; 5788 5789 match(input, Token.UP, null); 5790 5791 5792 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT21ih142!=null?INSTRUCTION_FORMAT21ih142.getText():null)); 5793 short regA = parseRegister_byte((REGISTER143!=null?REGISTER143.getText():null)); 5794 5795 int litB = fixed_32bit_literal144; 5796 5797 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21ih(opcode, regA, litB)); 5798 5799 } 5800 5801 } 5802 catch (RecognitionException re) { 5803 reportError(re); 5804 recover(input,re); 5805 } 5806 finally { 5807 // do for sure before leaving 5808 } 5809 } 5810 // $ANTLR end "insn_format21ih" 5811 5812 5813 5814 // $ANTLR start "insn_format21lh" 5815 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:994:1: insn_format21lh : ^( I_STATEMENT_FORMAT21lh INSTRUCTION_FORMAT21lh REGISTER fixed_64bit_literal ) ; insn_format21lh()5816 public final void insn_format21lh() throws RecognitionException { 5817 CommonTree INSTRUCTION_FORMAT21lh145=null; 5818 CommonTree REGISTER146=null; 5819 long fixed_64bit_literal147 =0; 5820 5821 try { 5822 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:995:3: ( ^( I_STATEMENT_FORMAT21lh INSTRUCTION_FORMAT21lh REGISTER fixed_64bit_literal ) ) 5823 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:996:5: ^( I_STATEMENT_FORMAT21lh INSTRUCTION_FORMAT21lh REGISTER fixed_64bit_literal ) 5824 { 5825 match(input,I_STATEMENT_FORMAT21lh,FOLLOW_I_STATEMENT_FORMAT21lh_in_insn_format21lh2701); 5826 match(input, Token.DOWN, null); 5827 INSTRUCTION_FORMAT21lh145=(CommonTree)match(input,INSTRUCTION_FORMAT21lh,FOLLOW_INSTRUCTION_FORMAT21lh_in_insn_format21lh2703); 5828 REGISTER146=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format21lh2705); 5829 pushFollow(FOLLOW_fixed_64bit_literal_in_insn_format21lh2707); 5830 fixed_64bit_literal147=fixed_64bit_literal(); 5831 state._fsp--; 5832 5833 match(input, Token.UP, null); 5834 5835 5836 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT21lh145!=null?INSTRUCTION_FORMAT21lh145.getText():null)); 5837 short regA = parseRegister_byte((REGISTER146!=null?REGISTER146.getText():null)); 5838 5839 long litB = fixed_64bit_literal147; 5840 5841 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21lh(opcode, regA, litB)); 5842 5843 } 5844 5845 } 5846 catch (RecognitionException re) { 5847 reportError(re); 5848 recover(input,re); 5849 } 5850 finally { 5851 // do for sure before leaving 5852 } 5853 } 5854 // $ANTLR end "insn_format21lh" 5855 5856 5857 5858 // $ANTLR start "insn_format21s" 5859 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1006:1: insn_format21s : ^( I_STATEMENT_FORMAT21s INSTRUCTION_FORMAT21s REGISTER short_integral_literal ) ; insn_format21s()5860 public final void insn_format21s() throws RecognitionException { 5861 CommonTree INSTRUCTION_FORMAT21s148=null; 5862 CommonTree REGISTER149=null; 5863 short short_integral_literal150 =0; 5864 5865 try { 5866 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1007:3: ( ^( I_STATEMENT_FORMAT21s INSTRUCTION_FORMAT21s REGISTER short_integral_literal ) ) 5867 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1008:5: ^( I_STATEMENT_FORMAT21s INSTRUCTION_FORMAT21s REGISTER short_integral_literal ) 5868 { 5869 match(input,I_STATEMENT_FORMAT21s,FOLLOW_I_STATEMENT_FORMAT21s_in_insn_format21s2730); 5870 match(input, Token.DOWN, null); 5871 INSTRUCTION_FORMAT21s148=(CommonTree)match(input,INSTRUCTION_FORMAT21s,FOLLOW_INSTRUCTION_FORMAT21s_in_insn_format21s2732); 5872 REGISTER149=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format21s2734); 5873 pushFollow(FOLLOW_short_integral_literal_in_insn_format21s2736); 5874 short_integral_literal150=short_integral_literal(); 5875 state._fsp--; 5876 5877 match(input, Token.UP, null); 5878 5879 5880 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT21s148!=null?INSTRUCTION_FORMAT21s148.getText():null)); 5881 short regA = parseRegister_byte((REGISTER149!=null?REGISTER149.getText():null)); 5882 5883 short litB = short_integral_literal150; 5884 5885 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21s(opcode, regA, litB)); 5886 5887 } 5888 5889 } 5890 catch (RecognitionException re) { 5891 reportError(re); 5892 recover(input,re); 5893 } 5894 finally { 5895 // do for sure before leaving 5896 } 5897 } 5898 // $ANTLR end "insn_format21s" 5899 5900 5901 5902 // $ANTLR start "insn_format21t" 5903 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1018:1: insn_format21t : ^( I_STATEMENT_FORMAT21t INSTRUCTION_FORMAT21t REGISTER label_ref ) ; insn_format21t()5904 public final void insn_format21t() throws RecognitionException { 5905 CommonTree INSTRUCTION_FORMAT21t151=null; 5906 CommonTree REGISTER152=null; 5907 Label label_ref153 =null; 5908 5909 try { 5910 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1019:3: ( ^( I_STATEMENT_FORMAT21t INSTRUCTION_FORMAT21t REGISTER label_ref ) ) 5911 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1020:5: ^( I_STATEMENT_FORMAT21t INSTRUCTION_FORMAT21t REGISTER label_ref ) 5912 { 5913 match(input,I_STATEMENT_FORMAT21t,FOLLOW_I_STATEMENT_FORMAT21t_in_insn_format21t2759); 5914 match(input, Token.DOWN, null); 5915 INSTRUCTION_FORMAT21t151=(CommonTree)match(input,INSTRUCTION_FORMAT21t,FOLLOW_INSTRUCTION_FORMAT21t_in_insn_format21t2761); 5916 REGISTER152=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format21t2763); 5917 pushFollow(FOLLOW_label_ref_in_insn_format21t2765); 5918 label_ref153=label_ref(); 5919 state._fsp--; 5920 5921 match(input, Token.UP, null); 5922 5923 5924 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT21t151!=null?INSTRUCTION_FORMAT21t151.getText():null)); 5925 short regA = parseRegister_byte((REGISTER152!=null?REGISTER152.getText():null)); 5926 5927 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction21t(opcode, regA, label_ref153)); 5928 5929 } 5930 5931 } 5932 catch (RecognitionException re) { 5933 reportError(re); 5934 recover(input,re); 5935 } 5936 finally { 5937 // do for sure before leaving 5938 } 5939 } 5940 // $ANTLR end "insn_format21t" 5941 5942 5943 5944 // $ANTLR start "insn_format22b" 5945 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1028:1: insn_format22b : ^( I_STATEMENT_FORMAT22b INSTRUCTION_FORMAT22b registerA= REGISTER registerB= REGISTER short_integral_literal ) ; insn_format22b()5946 public final void insn_format22b() throws RecognitionException { 5947 CommonTree registerA=null; 5948 CommonTree registerB=null; 5949 CommonTree INSTRUCTION_FORMAT22b154=null; 5950 short short_integral_literal155 =0; 5951 5952 try { 5953 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1029:3: ( ^( I_STATEMENT_FORMAT22b INSTRUCTION_FORMAT22b registerA= REGISTER registerB= REGISTER short_integral_literal ) ) 5954 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1030:5: ^( I_STATEMENT_FORMAT22b INSTRUCTION_FORMAT22b registerA= REGISTER registerB= REGISTER short_integral_literal ) 5955 { 5956 match(input,I_STATEMENT_FORMAT22b,FOLLOW_I_STATEMENT_FORMAT22b_in_insn_format22b2788); 5957 match(input, Token.DOWN, null); 5958 INSTRUCTION_FORMAT22b154=(CommonTree)match(input,INSTRUCTION_FORMAT22b,FOLLOW_INSTRUCTION_FORMAT22b_in_insn_format22b2790); 5959 registerA=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22b2794); 5960 registerB=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22b2798); 5961 pushFollow(FOLLOW_short_integral_literal_in_insn_format22b2800); 5962 short_integral_literal155=short_integral_literal(); 5963 state._fsp--; 5964 5965 match(input, Token.UP, null); 5966 5967 5968 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT22b154!=null?INSTRUCTION_FORMAT22b154.getText():null)); 5969 short regA = parseRegister_byte((registerA!=null?registerA.getText():null)); 5970 short regB = parseRegister_byte((registerB!=null?registerB.getText():null)); 5971 5972 short litC = short_integral_literal155; 5973 LiteralTools.checkByte(litC); 5974 5975 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction22b(opcode, regA, regB, litC)); 5976 5977 } 5978 5979 } 5980 catch (RecognitionException re) { 5981 reportError(re); 5982 recover(input,re); 5983 } 5984 finally { 5985 // do for sure before leaving 5986 } 5987 } 5988 // $ANTLR end "insn_format22b" 5989 5990 5991 5992 // $ANTLR start "insn_format22c_field" 5993 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1042:1: insn_format22c_field : ^( I_STATEMENT_FORMAT22c_FIELD inst= ( INSTRUCTION_FORMAT22c_FIELD | INSTRUCTION_FORMAT22c_FIELD_ODEX ) registerA= REGISTER registerB= REGISTER field_reference ) ; insn_format22c_field()5994 public final void insn_format22c_field() throws RecognitionException { 5995 CommonTree inst=null; 5996 CommonTree registerA=null; 5997 CommonTree registerB=null; 5998 TreeRuleReturnScope field_reference156 =null; 5999 6000 try { 6001 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1043:3: ( ^( I_STATEMENT_FORMAT22c_FIELD inst= ( INSTRUCTION_FORMAT22c_FIELD | INSTRUCTION_FORMAT22c_FIELD_ODEX ) registerA= REGISTER registerB= REGISTER field_reference ) ) 6002 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1044:5: ^( I_STATEMENT_FORMAT22c_FIELD inst= ( INSTRUCTION_FORMAT22c_FIELD | INSTRUCTION_FORMAT22c_FIELD_ODEX ) registerA= REGISTER registerB= REGISTER field_reference ) 6003 { 6004 match(input,I_STATEMENT_FORMAT22c_FIELD,FOLLOW_I_STATEMENT_FORMAT22c_FIELD_in_insn_format22c_field2823); 6005 match(input, Token.DOWN, null); 6006 inst=(CommonTree)input.LT(1); 6007 if ( (input.LA(1) >= INSTRUCTION_FORMAT22c_FIELD && input.LA(1) <= INSTRUCTION_FORMAT22c_FIELD_ODEX) ) { 6008 input.consume(); 6009 state.errorRecovery=false; 6010 } 6011 else { 6012 MismatchedSetException mse = new MismatchedSetException(null,input); 6013 throw mse; 6014 } 6015 registerA=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22c_field2837); 6016 registerB=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22c_field2841); 6017 pushFollow(FOLLOW_field_reference_in_insn_format22c_field2843); 6018 field_reference156=field_reference(); 6019 state._fsp--; 6020 6021 match(input, Token.UP, null); 6022 6023 6024 Opcode opcode = opcodes.getOpcodeByName((inst!=null?inst.getText():null)); 6025 byte regA = parseRegister_nibble((registerA!=null?registerA.getText():null)); 6026 byte regB = parseRegister_nibble((registerB!=null?registerB.getText():null)); 6027 6028 ImmutableFieldReference fieldReference = (field_reference156!=null?((smaliTreeWalker.field_reference_return)field_reference156).fieldReference:null); 6029 6030 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction22c(opcode, regA, regB, 6031 dexBuilder.internFieldReference(fieldReference))); 6032 6033 } 6034 6035 } 6036 catch (RecognitionException re) { 6037 reportError(re); 6038 recover(input,re); 6039 } 6040 finally { 6041 // do for sure before leaving 6042 } 6043 } 6044 // $ANTLR end "insn_format22c_field" 6045 6046 6047 6048 // $ANTLR start "insn_format22c_type" 6049 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1056:1: insn_format22c_type : ^( I_STATEMENT_FORMAT22c_TYPE INSTRUCTION_FORMAT22c_TYPE registerA= REGISTER registerB= REGISTER nonvoid_type_descriptor ) ; insn_format22c_type()6050 public final void insn_format22c_type() throws RecognitionException { 6051 CommonTree registerA=null; 6052 CommonTree registerB=null; 6053 CommonTree INSTRUCTION_FORMAT22c_TYPE157=null; 6054 TreeRuleReturnScope nonvoid_type_descriptor158 =null; 6055 6056 try { 6057 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1057:3: ( ^( I_STATEMENT_FORMAT22c_TYPE INSTRUCTION_FORMAT22c_TYPE registerA= REGISTER registerB= REGISTER nonvoid_type_descriptor ) ) 6058 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1058:5: ^( I_STATEMENT_FORMAT22c_TYPE INSTRUCTION_FORMAT22c_TYPE registerA= REGISTER registerB= REGISTER nonvoid_type_descriptor ) 6059 { 6060 match(input,I_STATEMENT_FORMAT22c_TYPE,FOLLOW_I_STATEMENT_FORMAT22c_TYPE_in_insn_format22c_type2866); 6061 match(input, Token.DOWN, null); 6062 INSTRUCTION_FORMAT22c_TYPE157=(CommonTree)match(input,INSTRUCTION_FORMAT22c_TYPE,FOLLOW_INSTRUCTION_FORMAT22c_TYPE_in_insn_format22c_type2868); 6063 registerA=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22c_type2872); 6064 registerB=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22c_type2876); 6065 pushFollow(FOLLOW_nonvoid_type_descriptor_in_insn_format22c_type2878); 6066 nonvoid_type_descriptor158=nonvoid_type_descriptor(); 6067 state._fsp--; 6068 6069 match(input, Token.UP, null); 6070 6071 6072 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT22c_TYPE157!=null?INSTRUCTION_FORMAT22c_TYPE157.getText():null)); 6073 byte regA = parseRegister_nibble((registerA!=null?registerA.getText():null)); 6074 byte regB = parseRegister_nibble((registerB!=null?registerB.getText():null)); 6075 6076 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction22c(opcode, regA, regB, 6077 dexBuilder.internTypeReference((nonvoid_type_descriptor158!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor158).type:null)))); 6078 6079 } 6080 6081 } 6082 catch (RecognitionException re) { 6083 reportError(re); 6084 recover(input,re); 6085 } 6086 finally { 6087 // do for sure before leaving 6088 } 6089 } 6090 // $ANTLR end "insn_format22c_type" 6091 6092 6093 6094 // $ANTLR start "insn_format22s" 6095 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1068:1: insn_format22s : ^( I_STATEMENT_FORMAT22s INSTRUCTION_FORMAT22s registerA= REGISTER registerB= REGISTER short_integral_literal ) ; insn_format22s()6096 public final void insn_format22s() throws RecognitionException { 6097 CommonTree registerA=null; 6098 CommonTree registerB=null; 6099 CommonTree INSTRUCTION_FORMAT22s159=null; 6100 short short_integral_literal160 =0; 6101 6102 try { 6103 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1069:3: ( ^( I_STATEMENT_FORMAT22s INSTRUCTION_FORMAT22s registerA= REGISTER registerB= REGISTER short_integral_literal ) ) 6104 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1070:5: ^( I_STATEMENT_FORMAT22s INSTRUCTION_FORMAT22s registerA= REGISTER registerB= REGISTER short_integral_literal ) 6105 { 6106 match(input,I_STATEMENT_FORMAT22s,FOLLOW_I_STATEMENT_FORMAT22s_in_insn_format22s2901); 6107 match(input, Token.DOWN, null); 6108 INSTRUCTION_FORMAT22s159=(CommonTree)match(input,INSTRUCTION_FORMAT22s,FOLLOW_INSTRUCTION_FORMAT22s_in_insn_format22s2903); 6109 registerA=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22s2907); 6110 registerB=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22s2911); 6111 pushFollow(FOLLOW_short_integral_literal_in_insn_format22s2913); 6112 short_integral_literal160=short_integral_literal(); 6113 state._fsp--; 6114 6115 match(input, Token.UP, null); 6116 6117 6118 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT22s159!=null?INSTRUCTION_FORMAT22s159.getText():null)); 6119 byte regA = parseRegister_nibble((registerA!=null?registerA.getText():null)); 6120 byte regB = parseRegister_nibble((registerB!=null?registerB.getText():null)); 6121 6122 short litC = short_integral_literal160; 6123 6124 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction22s(opcode, regA, regB, litC)); 6125 6126 } 6127 6128 } 6129 catch (RecognitionException re) { 6130 reportError(re); 6131 recover(input,re); 6132 } 6133 finally { 6134 // do for sure before leaving 6135 } 6136 } 6137 // $ANTLR end "insn_format22s" 6138 6139 6140 6141 // $ANTLR start "insn_format22t" 6142 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1081:1: insn_format22t : ^( I_STATEMENT_FORMAT22t INSTRUCTION_FORMAT22t registerA= REGISTER registerB= REGISTER label_ref ) ; insn_format22t()6143 public final void insn_format22t() throws RecognitionException { 6144 CommonTree registerA=null; 6145 CommonTree registerB=null; 6146 CommonTree INSTRUCTION_FORMAT22t161=null; 6147 Label label_ref162 =null; 6148 6149 try { 6150 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1082:3: ( ^( I_STATEMENT_FORMAT22t INSTRUCTION_FORMAT22t registerA= REGISTER registerB= REGISTER label_ref ) ) 6151 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1083:5: ^( I_STATEMENT_FORMAT22t INSTRUCTION_FORMAT22t registerA= REGISTER registerB= REGISTER label_ref ) 6152 { 6153 match(input,I_STATEMENT_FORMAT22t,FOLLOW_I_STATEMENT_FORMAT22t_in_insn_format22t2936); 6154 match(input, Token.DOWN, null); 6155 INSTRUCTION_FORMAT22t161=(CommonTree)match(input,INSTRUCTION_FORMAT22t,FOLLOW_INSTRUCTION_FORMAT22t_in_insn_format22t2938); 6156 registerA=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22t2942); 6157 registerB=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22t2946); 6158 pushFollow(FOLLOW_label_ref_in_insn_format22t2948); 6159 label_ref162=label_ref(); 6160 state._fsp--; 6161 6162 match(input, Token.UP, null); 6163 6164 6165 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT22t161!=null?INSTRUCTION_FORMAT22t161.getText():null)); 6166 byte regA = parseRegister_nibble((registerA!=null?registerA.getText():null)); 6167 byte regB = parseRegister_nibble((registerB!=null?registerB.getText():null)); 6168 6169 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction22t(opcode, regA, regB, label_ref162)); 6170 6171 } 6172 6173 } 6174 catch (RecognitionException re) { 6175 reportError(re); 6176 recover(input,re); 6177 } 6178 finally { 6179 // do for sure before leaving 6180 } 6181 } 6182 // $ANTLR end "insn_format22t" 6183 6184 6185 6186 // $ANTLR start "insn_format22x" 6187 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1092:1: insn_format22x : ^( I_STATEMENT_FORMAT22x INSTRUCTION_FORMAT22x registerA= REGISTER registerB= REGISTER ) ; insn_format22x()6188 public final void insn_format22x() throws RecognitionException { 6189 CommonTree registerA=null; 6190 CommonTree registerB=null; 6191 CommonTree INSTRUCTION_FORMAT22x163=null; 6192 6193 try { 6194 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1093:3: ( ^( I_STATEMENT_FORMAT22x INSTRUCTION_FORMAT22x registerA= REGISTER registerB= REGISTER ) ) 6195 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1094:5: ^( I_STATEMENT_FORMAT22x INSTRUCTION_FORMAT22x registerA= REGISTER registerB= REGISTER ) 6196 { 6197 match(input,I_STATEMENT_FORMAT22x,FOLLOW_I_STATEMENT_FORMAT22x_in_insn_format22x2971); 6198 match(input, Token.DOWN, null); 6199 INSTRUCTION_FORMAT22x163=(CommonTree)match(input,INSTRUCTION_FORMAT22x,FOLLOW_INSTRUCTION_FORMAT22x_in_insn_format22x2973); 6200 registerA=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22x2977); 6201 registerB=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format22x2981); 6202 match(input, Token.UP, null); 6203 6204 6205 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT22x163!=null?INSTRUCTION_FORMAT22x163.getText():null)); 6206 short regA = parseRegister_byte((registerA!=null?registerA.getText():null)); 6207 int regB = parseRegister_short((registerB!=null?registerB.getText():null)); 6208 6209 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction22x(opcode, regA, regB)); 6210 6211 } 6212 6213 } 6214 catch (RecognitionException re) { 6215 reportError(re); 6216 recover(input,re); 6217 } 6218 finally { 6219 // do for sure before leaving 6220 } 6221 } 6222 // $ANTLR end "insn_format22x" 6223 6224 6225 6226 // $ANTLR start "insn_format23x" 6227 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1103:1: insn_format23x : ^( I_STATEMENT_FORMAT23x INSTRUCTION_FORMAT23x registerA= REGISTER registerB= REGISTER registerC= REGISTER ) ; insn_format23x()6228 public final void insn_format23x() throws RecognitionException { 6229 CommonTree registerA=null; 6230 CommonTree registerB=null; 6231 CommonTree registerC=null; 6232 CommonTree INSTRUCTION_FORMAT23x164=null; 6233 6234 try { 6235 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1104:3: ( ^( I_STATEMENT_FORMAT23x INSTRUCTION_FORMAT23x registerA= REGISTER registerB= REGISTER registerC= REGISTER ) ) 6236 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1105:5: ^( I_STATEMENT_FORMAT23x INSTRUCTION_FORMAT23x registerA= REGISTER registerB= REGISTER registerC= REGISTER ) 6237 { 6238 match(input,I_STATEMENT_FORMAT23x,FOLLOW_I_STATEMENT_FORMAT23x_in_insn_format23x3004); 6239 match(input, Token.DOWN, null); 6240 INSTRUCTION_FORMAT23x164=(CommonTree)match(input,INSTRUCTION_FORMAT23x,FOLLOW_INSTRUCTION_FORMAT23x_in_insn_format23x3006); 6241 registerA=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format23x3010); 6242 registerB=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format23x3014); 6243 registerC=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format23x3018); 6244 match(input, Token.UP, null); 6245 6246 6247 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT23x164!=null?INSTRUCTION_FORMAT23x164.getText():null)); 6248 short regA = parseRegister_byte((registerA!=null?registerA.getText():null)); 6249 short regB = parseRegister_byte((registerB!=null?registerB.getText():null)); 6250 short regC = parseRegister_byte((registerC!=null?registerC.getText():null)); 6251 6252 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction23x(opcode, regA, regB, regC)); 6253 6254 } 6255 6256 } 6257 catch (RecognitionException re) { 6258 reportError(re); 6259 recover(input,re); 6260 } 6261 finally { 6262 // do for sure before leaving 6263 } 6264 } 6265 // $ANTLR end "insn_format23x" 6266 6267 6268 6269 // $ANTLR start "insn_format30t" 6270 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1115:1: insn_format30t : ^( I_STATEMENT_FORMAT30t INSTRUCTION_FORMAT30t label_ref ) ; insn_format30t()6271 public final void insn_format30t() throws RecognitionException { 6272 CommonTree INSTRUCTION_FORMAT30t165=null; 6273 Label label_ref166 =null; 6274 6275 try { 6276 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1116:3: ( ^( I_STATEMENT_FORMAT30t INSTRUCTION_FORMAT30t label_ref ) ) 6277 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1117:5: ^( I_STATEMENT_FORMAT30t INSTRUCTION_FORMAT30t label_ref ) 6278 { 6279 match(input,I_STATEMENT_FORMAT30t,FOLLOW_I_STATEMENT_FORMAT30t_in_insn_format30t3041); 6280 match(input, Token.DOWN, null); 6281 INSTRUCTION_FORMAT30t165=(CommonTree)match(input,INSTRUCTION_FORMAT30t,FOLLOW_INSTRUCTION_FORMAT30t_in_insn_format30t3043); 6282 pushFollow(FOLLOW_label_ref_in_insn_format30t3045); 6283 label_ref166=label_ref(); 6284 state._fsp--; 6285 6286 match(input, Token.UP, null); 6287 6288 6289 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT30t165!=null?INSTRUCTION_FORMAT30t165.getText():null)); 6290 6291 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction30t(opcode, label_ref166)); 6292 6293 } 6294 6295 } 6296 catch (RecognitionException re) { 6297 reportError(re); 6298 recover(input,re); 6299 } 6300 finally { 6301 // do for sure before leaving 6302 } 6303 } 6304 // $ANTLR end "insn_format30t" 6305 6306 6307 6308 // $ANTLR start "insn_format31c" 6309 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1124:1: insn_format31c : ^( I_STATEMENT_FORMAT31c INSTRUCTION_FORMAT31c REGISTER string_literal ) ; insn_format31c()6310 public final void insn_format31c() throws RecognitionException { 6311 CommonTree INSTRUCTION_FORMAT31c167=null; 6312 CommonTree REGISTER168=null; 6313 String string_literal169 =null; 6314 6315 try { 6316 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1125:3: ( ^( I_STATEMENT_FORMAT31c INSTRUCTION_FORMAT31c REGISTER string_literal ) ) 6317 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1126:5: ^( I_STATEMENT_FORMAT31c INSTRUCTION_FORMAT31c REGISTER string_literal ) 6318 { 6319 match(input,I_STATEMENT_FORMAT31c,FOLLOW_I_STATEMENT_FORMAT31c_in_insn_format31c3068); 6320 match(input, Token.DOWN, null); 6321 INSTRUCTION_FORMAT31c167=(CommonTree)match(input,INSTRUCTION_FORMAT31c,FOLLOW_INSTRUCTION_FORMAT31c_in_insn_format31c3070); 6322 REGISTER168=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format31c3072); 6323 pushFollow(FOLLOW_string_literal_in_insn_format31c3074); 6324 string_literal169=string_literal(); 6325 state._fsp--; 6326 6327 match(input, Token.UP, null); 6328 6329 6330 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT31c167!=null?INSTRUCTION_FORMAT31c167.getText():null)); 6331 short regA = parseRegister_byte((REGISTER168!=null?REGISTER168.getText():null)); 6332 6333 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction31c(opcode, regA, 6334 dexBuilder.internStringReference(string_literal169))); 6335 6336 } 6337 6338 } 6339 catch (RecognitionException re) { 6340 reportError(re); 6341 recover(input,re); 6342 } 6343 finally { 6344 // do for sure before leaving 6345 } 6346 } 6347 // $ANTLR end "insn_format31c" 6348 6349 6350 6351 // $ANTLR start "insn_format31i" 6352 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1135:1: insn_format31i : ^( I_STATEMENT_FORMAT31i INSTRUCTION_FORMAT31i REGISTER fixed_32bit_literal ) ; insn_format31i()6353 public final void insn_format31i() throws RecognitionException { 6354 CommonTree INSTRUCTION_FORMAT31i170=null; 6355 CommonTree REGISTER171=null; 6356 int fixed_32bit_literal172 =0; 6357 6358 try { 6359 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1136:3: ( ^( I_STATEMENT_FORMAT31i INSTRUCTION_FORMAT31i REGISTER fixed_32bit_literal ) ) 6360 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1137:5: ^( I_STATEMENT_FORMAT31i INSTRUCTION_FORMAT31i REGISTER fixed_32bit_literal ) 6361 { 6362 match(input,I_STATEMENT_FORMAT31i,FOLLOW_I_STATEMENT_FORMAT31i_in_insn_format31i3097); 6363 match(input, Token.DOWN, null); 6364 INSTRUCTION_FORMAT31i170=(CommonTree)match(input,INSTRUCTION_FORMAT31i,FOLLOW_INSTRUCTION_FORMAT31i_in_insn_format31i3099); 6365 REGISTER171=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format31i3101); 6366 pushFollow(FOLLOW_fixed_32bit_literal_in_insn_format31i3103); 6367 fixed_32bit_literal172=fixed_32bit_literal(); 6368 state._fsp--; 6369 6370 match(input, Token.UP, null); 6371 6372 6373 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT31i170!=null?INSTRUCTION_FORMAT31i170.getText():null)); 6374 short regA = parseRegister_byte((REGISTER171!=null?REGISTER171.getText():null)); 6375 6376 int litB = fixed_32bit_literal172; 6377 6378 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction31i(opcode, regA, litB)); 6379 6380 } 6381 6382 } 6383 catch (RecognitionException re) { 6384 reportError(re); 6385 recover(input,re); 6386 } 6387 finally { 6388 // do for sure before leaving 6389 } 6390 } 6391 // $ANTLR end "insn_format31i" 6392 6393 6394 6395 // $ANTLR start "insn_format31t" 6396 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1147:1: insn_format31t : ^( I_STATEMENT_FORMAT31t INSTRUCTION_FORMAT31t REGISTER label_ref ) ; insn_format31t()6397 public final void insn_format31t() throws RecognitionException { 6398 CommonTree INSTRUCTION_FORMAT31t173=null; 6399 CommonTree REGISTER174=null; 6400 Label label_ref175 =null; 6401 6402 try { 6403 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1148:3: ( ^( I_STATEMENT_FORMAT31t INSTRUCTION_FORMAT31t REGISTER label_ref ) ) 6404 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1149:5: ^( I_STATEMENT_FORMAT31t INSTRUCTION_FORMAT31t REGISTER label_ref ) 6405 { 6406 match(input,I_STATEMENT_FORMAT31t,FOLLOW_I_STATEMENT_FORMAT31t_in_insn_format31t3126); 6407 match(input, Token.DOWN, null); 6408 INSTRUCTION_FORMAT31t173=(CommonTree)match(input,INSTRUCTION_FORMAT31t,FOLLOW_INSTRUCTION_FORMAT31t_in_insn_format31t3128); 6409 REGISTER174=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format31t3130); 6410 pushFollow(FOLLOW_label_ref_in_insn_format31t3132); 6411 label_ref175=label_ref(); 6412 state._fsp--; 6413 6414 match(input, Token.UP, null); 6415 6416 6417 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT31t173!=null?INSTRUCTION_FORMAT31t173.getText():null)); 6418 6419 short regA = parseRegister_byte((REGISTER174!=null?REGISTER174.getText():null)); 6420 6421 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction31t(opcode, regA, label_ref175)); 6422 6423 } 6424 6425 } 6426 catch (RecognitionException re) { 6427 reportError(re); 6428 recover(input,re); 6429 } 6430 finally { 6431 // do for sure before leaving 6432 } 6433 } 6434 // $ANTLR end "insn_format31t" 6435 6436 6437 6438 // $ANTLR start "insn_format32x" 6439 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1158:1: insn_format32x : ^( I_STATEMENT_FORMAT32x INSTRUCTION_FORMAT32x registerA= REGISTER registerB= REGISTER ) ; insn_format32x()6440 public final void insn_format32x() throws RecognitionException { 6441 CommonTree registerA=null; 6442 CommonTree registerB=null; 6443 CommonTree INSTRUCTION_FORMAT32x176=null; 6444 6445 try { 6446 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1159:3: ( ^( I_STATEMENT_FORMAT32x INSTRUCTION_FORMAT32x registerA= REGISTER registerB= REGISTER ) ) 6447 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1160:5: ^( I_STATEMENT_FORMAT32x INSTRUCTION_FORMAT32x registerA= REGISTER registerB= REGISTER ) 6448 { 6449 match(input,I_STATEMENT_FORMAT32x,FOLLOW_I_STATEMENT_FORMAT32x_in_insn_format32x3155); 6450 match(input, Token.DOWN, null); 6451 INSTRUCTION_FORMAT32x176=(CommonTree)match(input,INSTRUCTION_FORMAT32x,FOLLOW_INSTRUCTION_FORMAT32x_in_insn_format32x3157); 6452 registerA=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format32x3161); 6453 registerB=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format32x3165); 6454 match(input, Token.UP, null); 6455 6456 6457 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT32x176!=null?INSTRUCTION_FORMAT32x176.getText():null)); 6458 int regA = parseRegister_short((registerA!=null?registerA.getText():null)); 6459 int regB = parseRegister_short((registerB!=null?registerB.getText():null)); 6460 6461 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction32x(opcode, regA, regB)); 6462 6463 } 6464 6465 } 6466 catch (RecognitionException re) { 6467 reportError(re); 6468 recover(input,re); 6469 } 6470 finally { 6471 // do for sure before leaving 6472 } 6473 } 6474 // $ANTLR end "insn_format32x" 6475 6476 6477 6478 // $ANTLR start "insn_format35c_call_site" 6479 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1169:1: insn_format35c_call_site : ^( I_STATEMENT_FORMAT35c_CALL_SITE INSTRUCTION_FORMAT35c_CALL_SITE register_list call_site_reference ) ; insn_format35c_call_site()6480 public final void insn_format35c_call_site() throws RecognitionException { 6481 CommonTree INSTRUCTION_FORMAT35c_CALL_SITE177=null; 6482 TreeRuleReturnScope register_list178 =null; 6483 ImmutableCallSiteReference call_site_reference179 =null; 6484 6485 try { 6486 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1170:3: ( ^( I_STATEMENT_FORMAT35c_CALL_SITE INSTRUCTION_FORMAT35c_CALL_SITE register_list call_site_reference ) ) 6487 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1172:5: ^( I_STATEMENT_FORMAT35c_CALL_SITE INSTRUCTION_FORMAT35c_CALL_SITE register_list call_site_reference ) 6488 { 6489 match(input,I_STATEMENT_FORMAT35c_CALL_SITE,FOLLOW_I_STATEMENT_FORMAT35c_CALL_SITE_in_insn_format35c_call_site3193); 6490 match(input, Token.DOWN, null); 6491 INSTRUCTION_FORMAT35c_CALL_SITE177=(CommonTree)match(input,INSTRUCTION_FORMAT35c_CALL_SITE,FOLLOW_INSTRUCTION_FORMAT35c_CALL_SITE_in_insn_format35c_call_site3195); 6492 pushFollow(FOLLOW_register_list_in_insn_format35c_call_site3197); 6493 register_list178=register_list(); 6494 state._fsp--; 6495 6496 pushFollow(FOLLOW_call_site_reference_in_insn_format35c_call_site3199); 6497 call_site_reference179=call_site_reference(); 6498 state._fsp--; 6499 6500 match(input, Token.UP, null); 6501 6502 6503 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT35c_CALL_SITE177!=null?INSTRUCTION_FORMAT35c_CALL_SITE177.getText():null)); 6504 6505 //this depends on the fact that register_list returns a byte[5] 6506 byte[] registers = (register_list178!=null?((smaliTreeWalker.register_list_return)register_list178).registers:null); 6507 byte registerCount = (register_list178!=null?((smaliTreeWalker.register_list_return)register_list178).registerCount:0); 6508 6509 ImmutableCallSiteReference callSiteReference = call_site_reference179; 6510 6511 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction35c(opcode, registerCount, registers[0], 6512 registers[1], registers[2], registers[3], registers[4], dexBuilder.internCallSite(callSiteReference))); 6513 6514 } 6515 6516 } 6517 catch (RecognitionException re) { 6518 reportError(re); 6519 recover(input,re); 6520 } 6521 finally { 6522 // do for sure before leaving 6523 } 6524 } 6525 // $ANTLR end "insn_format35c_call_site" 6526 6527 6528 6529 // $ANTLR start "insn_format35c_method" 6530 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1186:1: insn_format35c_method : ^( I_STATEMENT_FORMAT35c_METHOD INSTRUCTION_FORMAT35c_METHOD register_list method_reference ) ; insn_format35c_method()6531 public final void insn_format35c_method() throws RecognitionException { 6532 CommonTree INSTRUCTION_FORMAT35c_METHOD180=null; 6533 TreeRuleReturnScope register_list181 =null; 6534 ImmutableMethodReference method_reference182 =null; 6535 6536 try { 6537 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1187:3: ( ^( I_STATEMENT_FORMAT35c_METHOD INSTRUCTION_FORMAT35c_METHOD register_list method_reference ) ) 6538 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1188:5: ^( I_STATEMENT_FORMAT35c_METHOD INSTRUCTION_FORMAT35c_METHOD register_list method_reference ) 6539 { 6540 match(input,I_STATEMENT_FORMAT35c_METHOD,FOLLOW_I_STATEMENT_FORMAT35c_METHOD_in_insn_format35c_method3222); 6541 match(input, Token.DOWN, null); 6542 INSTRUCTION_FORMAT35c_METHOD180=(CommonTree)match(input,INSTRUCTION_FORMAT35c_METHOD,FOLLOW_INSTRUCTION_FORMAT35c_METHOD_in_insn_format35c_method3224); 6543 pushFollow(FOLLOW_register_list_in_insn_format35c_method3226); 6544 register_list181=register_list(); 6545 state._fsp--; 6546 6547 pushFollow(FOLLOW_method_reference_in_insn_format35c_method3228); 6548 method_reference182=method_reference(); 6549 state._fsp--; 6550 6551 match(input, Token.UP, null); 6552 6553 6554 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT35c_METHOD180!=null?INSTRUCTION_FORMAT35c_METHOD180.getText():null)); 6555 6556 //this depends on the fact that register_list returns a byte[5] 6557 byte[] registers = (register_list181!=null?((smaliTreeWalker.register_list_return)register_list181).registers:null); 6558 byte registerCount = (register_list181!=null?((smaliTreeWalker.register_list_return)register_list181).registerCount:0); 6559 6560 ImmutableMethodReference methodReference = method_reference182; 6561 6562 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction35c(opcode, registerCount, registers[0], registers[1], 6563 registers[2], registers[3], registers[4], dexBuilder.internMethodReference(methodReference))); 6564 6565 } 6566 6567 } 6568 catch (RecognitionException re) { 6569 reportError(re); 6570 recover(input,re); 6571 } 6572 finally { 6573 // do for sure before leaving 6574 } 6575 } 6576 // $ANTLR end "insn_format35c_method" 6577 6578 6579 6580 // $ANTLR start "insn_format35c_type" 6581 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1202:1: insn_format35c_type : ^( I_STATEMENT_FORMAT35c_TYPE INSTRUCTION_FORMAT35c_TYPE register_list nonvoid_type_descriptor ) ; insn_format35c_type()6582 public final void insn_format35c_type() throws RecognitionException { 6583 CommonTree INSTRUCTION_FORMAT35c_TYPE183=null; 6584 TreeRuleReturnScope register_list184 =null; 6585 TreeRuleReturnScope nonvoid_type_descriptor185 =null; 6586 6587 try { 6588 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1203:3: ( ^( I_STATEMENT_FORMAT35c_TYPE INSTRUCTION_FORMAT35c_TYPE register_list nonvoid_type_descriptor ) ) 6589 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1204:5: ^( I_STATEMENT_FORMAT35c_TYPE INSTRUCTION_FORMAT35c_TYPE register_list nonvoid_type_descriptor ) 6590 { 6591 match(input,I_STATEMENT_FORMAT35c_TYPE,FOLLOW_I_STATEMENT_FORMAT35c_TYPE_in_insn_format35c_type3251); 6592 match(input, Token.DOWN, null); 6593 INSTRUCTION_FORMAT35c_TYPE183=(CommonTree)match(input,INSTRUCTION_FORMAT35c_TYPE,FOLLOW_INSTRUCTION_FORMAT35c_TYPE_in_insn_format35c_type3253); 6594 pushFollow(FOLLOW_register_list_in_insn_format35c_type3255); 6595 register_list184=register_list(); 6596 state._fsp--; 6597 6598 pushFollow(FOLLOW_nonvoid_type_descriptor_in_insn_format35c_type3257); 6599 nonvoid_type_descriptor185=nonvoid_type_descriptor(); 6600 state._fsp--; 6601 6602 match(input, Token.UP, null); 6603 6604 6605 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT35c_TYPE183!=null?INSTRUCTION_FORMAT35c_TYPE183.getText():null)); 6606 6607 //this depends on the fact that register_list returns a byte[5] 6608 byte[] registers = (register_list184!=null?((smaliTreeWalker.register_list_return)register_list184).registers:null); 6609 byte registerCount = (register_list184!=null?((smaliTreeWalker.register_list_return)register_list184).registerCount:0); 6610 6611 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction35c(opcode, registerCount, registers[0], registers[1], 6612 registers[2], registers[3], registers[4], dexBuilder.internTypeReference((nonvoid_type_descriptor185!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor185).type:null)))); 6613 6614 } 6615 6616 } 6617 catch (RecognitionException re) { 6618 reportError(re); 6619 recover(input,re); 6620 } 6621 finally { 6622 // do for sure before leaving 6623 } 6624 } 6625 // $ANTLR end "insn_format35c_type" 6626 6627 6628 6629 // $ANTLR start "insn_format3rc_call_site" 6630 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1216:1: insn_format3rc_call_site : ^( I_STATEMENT_FORMAT3rc_CALL_SITE INSTRUCTION_FORMAT3rc_CALL_SITE register_range call_site_reference ) ; insn_format3rc_call_site()6631 public final void insn_format3rc_call_site() throws RecognitionException { 6632 CommonTree INSTRUCTION_FORMAT3rc_CALL_SITE186=null; 6633 TreeRuleReturnScope register_range187 =null; 6634 ImmutableCallSiteReference call_site_reference188 =null; 6635 6636 try { 6637 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1217:3: ( ^( I_STATEMENT_FORMAT3rc_CALL_SITE INSTRUCTION_FORMAT3rc_CALL_SITE register_range call_site_reference ) ) 6638 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1219:5: ^( I_STATEMENT_FORMAT3rc_CALL_SITE INSTRUCTION_FORMAT3rc_CALL_SITE register_range call_site_reference ) 6639 { 6640 match(input,I_STATEMENT_FORMAT3rc_CALL_SITE,FOLLOW_I_STATEMENT_FORMAT3rc_CALL_SITE_in_insn_format3rc_call_site3285); 6641 match(input, Token.DOWN, null); 6642 INSTRUCTION_FORMAT3rc_CALL_SITE186=(CommonTree)match(input,INSTRUCTION_FORMAT3rc_CALL_SITE,FOLLOW_INSTRUCTION_FORMAT3rc_CALL_SITE_in_insn_format3rc_call_site3287); 6643 pushFollow(FOLLOW_register_range_in_insn_format3rc_call_site3289); 6644 register_range187=register_range(); 6645 state._fsp--; 6646 6647 pushFollow(FOLLOW_call_site_reference_in_insn_format3rc_call_site3291); 6648 call_site_reference188=call_site_reference(); 6649 state._fsp--; 6650 6651 match(input, Token.UP, null); 6652 6653 6654 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT3rc_CALL_SITE186!=null?INSTRUCTION_FORMAT3rc_CALL_SITE186.getText():null)); 6655 int startRegister = (register_range187!=null?((smaliTreeWalker.register_range_return)register_range187).startRegister:0); 6656 int endRegister = (register_range187!=null?((smaliTreeWalker.register_range_return)register_range187).endRegister:0); 6657 6658 int registerCount = endRegister - startRegister + 1; 6659 6660 ImmutableCallSiteReference callSiteReference = call_site_reference188; 6661 6662 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction3rc(opcode, startRegister, registerCount, 6663 dexBuilder.internCallSite(callSiteReference))); 6664 6665 } 6666 6667 } 6668 catch (RecognitionException re) { 6669 reportError(re); 6670 recover(input,re); 6671 } 6672 finally { 6673 // do for sure before leaving 6674 } 6675 } 6676 // $ANTLR end "insn_format3rc_call_site" 6677 6678 6679 6680 // $ANTLR start "insn_format3rc_method" 6681 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1233:1: insn_format3rc_method : ^( I_STATEMENT_FORMAT3rc_METHOD INSTRUCTION_FORMAT3rc_METHOD register_range method_reference ) ; insn_format3rc_method()6682 public final void insn_format3rc_method() throws RecognitionException { 6683 CommonTree INSTRUCTION_FORMAT3rc_METHOD189=null; 6684 TreeRuleReturnScope register_range190 =null; 6685 ImmutableMethodReference method_reference191 =null; 6686 6687 try { 6688 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1234:3: ( ^( I_STATEMENT_FORMAT3rc_METHOD INSTRUCTION_FORMAT3rc_METHOD register_range method_reference ) ) 6689 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1235:5: ^( I_STATEMENT_FORMAT3rc_METHOD INSTRUCTION_FORMAT3rc_METHOD register_range method_reference ) 6690 { 6691 match(input,I_STATEMENT_FORMAT3rc_METHOD,FOLLOW_I_STATEMENT_FORMAT3rc_METHOD_in_insn_format3rc_method3314); 6692 match(input, Token.DOWN, null); 6693 INSTRUCTION_FORMAT3rc_METHOD189=(CommonTree)match(input,INSTRUCTION_FORMAT3rc_METHOD,FOLLOW_INSTRUCTION_FORMAT3rc_METHOD_in_insn_format3rc_method3316); 6694 pushFollow(FOLLOW_register_range_in_insn_format3rc_method3318); 6695 register_range190=register_range(); 6696 state._fsp--; 6697 6698 pushFollow(FOLLOW_method_reference_in_insn_format3rc_method3320); 6699 method_reference191=method_reference(); 6700 state._fsp--; 6701 6702 match(input, Token.UP, null); 6703 6704 6705 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT3rc_METHOD189!=null?INSTRUCTION_FORMAT3rc_METHOD189.getText():null)); 6706 int startRegister = (register_range190!=null?((smaliTreeWalker.register_range_return)register_range190).startRegister:0); 6707 int endRegister = (register_range190!=null?((smaliTreeWalker.register_range_return)register_range190).endRegister:0); 6708 6709 int registerCount = endRegister-startRegister+1; 6710 6711 ImmutableMethodReference methodReference = method_reference191; 6712 6713 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction3rc(opcode, startRegister, registerCount, 6714 dexBuilder.internMethodReference(methodReference))); 6715 6716 } 6717 6718 } 6719 catch (RecognitionException re) { 6720 reportError(re); 6721 recover(input,re); 6722 } 6723 finally { 6724 // do for sure before leaving 6725 } 6726 } 6727 // $ANTLR end "insn_format3rc_method" 6728 6729 6730 6731 // $ANTLR start "insn_format3rc_type" 6732 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1249:1: insn_format3rc_type : ^( I_STATEMENT_FORMAT3rc_TYPE INSTRUCTION_FORMAT3rc_TYPE register_range nonvoid_type_descriptor ) ; insn_format3rc_type()6733 public final void insn_format3rc_type() throws RecognitionException { 6734 CommonTree INSTRUCTION_FORMAT3rc_TYPE192=null; 6735 TreeRuleReturnScope register_range193 =null; 6736 TreeRuleReturnScope nonvoid_type_descriptor194 =null; 6737 6738 try { 6739 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1250:3: ( ^( I_STATEMENT_FORMAT3rc_TYPE INSTRUCTION_FORMAT3rc_TYPE register_range nonvoid_type_descriptor ) ) 6740 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1251:5: ^( I_STATEMENT_FORMAT3rc_TYPE INSTRUCTION_FORMAT3rc_TYPE register_range nonvoid_type_descriptor ) 6741 { 6742 match(input,I_STATEMENT_FORMAT3rc_TYPE,FOLLOW_I_STATEMENT_FORMAT3rc_TYPE_in_insn_format3rc_type3343); 6743 match(input, Token.DOWN, null); 6744 INSTRUCTION_FORMAT3rc_TYPE192=(CommonTree)match(input,INSTRUCTION_FORMAT3rc_TYPE,FOLLOW_INSTRUCTION_FORMAT3rc_TYPE_in_insn_format3rc_type3345); 6745 pushFollow(FOLLOW_register_range_in_insn_format3rc_type3347); 6746 register_range193=register_range(); 6747 state._fsp--; 6748 6749 pushFollow(FOLLOW_nonvoid_type_descriptor_in_insn_format3rc_type3349); 6750 nonvoid_type_descriptor194=nonvoid_type_descriptor(); 6751 state._fsp--; 6752 6753 match(input, Token.UP, null); 6754 6755 6756 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT3rc_TYPE192!=null?INSTRUCTION_FORMAT3rc_TYPE192.getText():null)); 6757 int startRegister = (register_range193!=null?((smaliTreeWalker.register_range_return)register_range193).startRegister:0); 6758 int endRegister = (register_range193!=null?((smaliTreeWalker.register_range_return)register_range193).endRegister:0); 6759 6760 int registerCount = endRegister-startRegister+1; 6761 6762 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction3rc(opcode, startRegister, registerCount, 6763 dexBuilder.internTypeReference((nonvoid_type_descriptor194!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor194).type:null)))); 6764 6765 } 6766 6767 } 6768 catch (RecognitionException re) { 6769 reportError(re); 6770 recover(input,re); 6771 } 6772 finally { 6773 // do for sure before leaving 6774 } 6775 } 6776 // $ANTLR end "insn_format3rc_type" 6777 6778 6779 6780 // $ANTLR start "insn_format45cc_method" 6781 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1263:1: insn_format45cc_method : ^( I_STATEMENT_FORMAT45cc_METHOD INSTRUCTION_FORMAT45cc_METHOD register_list method_reference method_prototype ) ; insn_format45cc_method()6782 public final void insn_format45cc_method() throws RecognitionException { 6783 CommonTree INSTRUCTION_FORMAT45cc_METHOD195=null; 6784 TreeRuleReturnScope register_list196 =null; 6785 ImmutableMethodReference method_reference197 =null; 6786 ImmutableMethodProtoReference method_prototype198 =null; 6787 6788 try { 6789 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1264:3: ( ^( I_STATEMENT_FORMAT45cc_METHOD INSTRUCTION_FORMAT45cc_METHOD register_list method_reference method_prototype ) ) 6790 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1265:5: ^( I_STATEMENT_FORMAT45cc_METHOD INSTRUCTION_FORMAT45cc_METHOD register_list method_reference method_prototype ) 6791 { 6792 match(input,I_STATEMENT_FORMAT45cc_METHOD,FOLLOW_I_STATEMENT_FORMAT45cc_METHOD_in_insn_format45cc_method3372); 6793 match(input, Token.DOWN, null); 6794 INSTRUCTION_FORMAT45cc_METHOD195=(CommonTree)match(input,INSTRUCTION_FORMAT45cc_METHOD,FOLLOW_INSTRUCTION_FORMAT45cc_METHOD_in_insn_format45cc_method3374); 6795 pushFollow(FOLLOW_register_list_in_insn_format45cc_method3376); 6796 register_list196=register_list(); 6797 state._fsp--; 6798 6799 pushFollow(FOLLOW_method_reference_in_insn_format45cc_method3378); 6800 method_reference197=method_reference(); 6801 state._fsp--; 6802 6803 pushFollow(FOLLOW_method_prototype_in_insn_format45cc_method3380); 6804 method_prototype198=method_prototype(); 6805 state._fsp--; 6806 6807 match(input, Token.UP, null); 6808 6809 6810 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT45cc_METHOD195!=null?INSTRUCTION_FORMAT45cc_METHOD195.getText():null)); 6811 6812 //this depends on the fact that register_list returns a byte[5] 6813 byte[] registers = (register_list196!=null?((smaliTreeWalker.register_list_return)register_list196).registers:null); 6814 byte registerCount = (register_list196!=null?((smaliTreeWalker.register_list_return)register_list196).registerCount:0); 6815 6816 ImmutableMethodReference methodReference = method_reference197; 6817 6818 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction45cc(opcode, registerCount, registers[0], registers[1], 6819 registers[2], registers[3], registers[4], 6820 dexBuilder.internMethodReference(methodReference), 6821 dexBuilder.internMethodProtoReference(method_prototype198))); 6822 6823 } 6824 6825 } 6826 catch (RecognitionException re) { 6827 reportError(re); 6828 recover(input,re); 6829 } 6830 finally { 6831 // do for sure before leaving 6832 } 6833 } 6834 // $ANTLR end "insn_format45cc_method" 6835 6836 6837 6838 // $ANTLR start "insn_format4rcc_method" 6839 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1281:1: insn_format4rcc_method : ^( I_STATEMENT_FORMAT4rcc_METHOD INSTRUCTION_FORMAT4rcc_METHOD register_range method_reference method_prototype ) ; insn_format4rcc_method()6840 public final void insn_format4rcc_method() throws RecognitionException { 6841 CommonTree INSTRUCTION_FORMAT4rcc_METHOD199=null; 6842 TreeRuleReturnScope register_range200 =null; 6843 ImmutableMethodReference method_reference201 =null; 6844 ImmutableMethodProtoReference method_prototype202 =null; 6845 6846 try { 6847 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1282:3: ( ^( I_STATEMENT_FORMAT4rcc_METHOD INSTRUCTION_FORMAT4rcc_METHOD register_range method_reference method_prototype ) ) 6848 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1283:5: ^( I_STATEMENT_FORMAT4rcc_METHOD INSTRUCTION_FORMAT4rcc_METHOD register_range method_reference method_prototype ) 6849 { 6850 match(input,I_STATEMENT_FORMAT4rcc_METHOD,FOLLOW_I_STATEMENT_FORMAT4rcc_METHOD_in_insn_format4rcc_method3403); 6851 match(input, Token.DOWN, null); 6852 INSTRUCTION_FORMAT4rcc_METHOD199=(CommonTree)match(input,INSTRUCTION_FORMAT4rcc_METHOD,FOLLOW_INSTRUCTION_FORMAT4rcc_METHOD_in_insn_format4rcc_method3405); 6853 pushFollow(FOLLOW_register_range_in_insn_format4rcc_method3407); 6854 register_range200=register_range(); 6855 state._fsp--; 6856 6857 pushFollow(FOLLOW_method_reference_in_insn_format4rcc_method3409); 6858 method_reference201=method_reference(); 6859 state._fsp--; 6860 6861 pushFollow(FOLLOW_method_prototype_in_insn_format4rcc_method3411); 6862 method_prototype202=method_prototype(); 6863 state._fsp--; 6864 6865 match(input, Token.UP, null); 6866 6867 6868 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT4rcc_METHOD199!=null?INSTRUCTION_FORMAT4rcc_METHOD199.getText():null)); 6869 int startRegister = (register_range200!=null?((smaliTreeWalker.register_range_return)register_range200).startRegister:0); 6870 int endRegister = (register_range200!=null?((smaliTreeWalker.register_range_return)register_range200).endRegister:0); 6871 6872 int registerCount = endRegister-startRegister+1; 6873 6874 ImmutableMethodReference methodReference = method_reference201; 6875 6876 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction4rcc(opcode, startRegister, registerCount, 6877 dexBuilder.internMethodReference(methodReference), 6878 dexBuilder.internMethodProtoReference(method_prototype202))); 6879 6880 } 6881 6882 } 6883 catch (RecognitionException re) { 6884 reportError(re); 6885 recover(input,re); 6886 } 6887 finally { 6888 // do for sure before leaving 6889 } 6890 } 6891 // $ANTLR end "insn_format4rcc_method" 6892 6893 6894 6895 // $ANTLR start "insn_format51l_type" 6896 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1298:1: insn_format51l_type : ^( I_STATEMENT_FORMAT51l INSTRUCTION_FORMAT51l REGISTER fixed_64bit_literal ) ; insn_format51l_type()6897 public final void insn_format51l_type() throws RecognitionException { 6898 CommonTree INSTRUCTION_FORMAT51l203=null; 6899 CommonTree REGISTER204=null; 6900 long fixed_64bit_literal205 =0; 6901 6902 try { 6903 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1299:3: ( ^( I_STATEMENT_FORMAT51l INSTRUCTION_FORMAT51l REGISTER fixed_64bit_literal ) ) 6904 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1300:5: ^( I_STATEMENT_FORMAT51l INSTRUCTION_FORMAT51l REGISTER fixed_64bit_literal ) 6905 { 6906 match(input,I_STATEMENT_FORMAT51l,FOLLOW_I_STATEMENT_FORMAT51l_in_insn_format51l_type3434); 6907 match(input, Token.DOWN, null); 6908 INSTRUCTION_FORMAT51l203=(CommonTree)match(input,INSTRUCTION_FORMAT51l,FOLLOW_INSTRUCTION_FORMAT51l_in_insn_format51l_type3436); 6909 REGISTER204=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_insn_format51l_type3438); 6910 pushFollow(FOLLOW_fixed_64bit_literal_in_insn_format51l_type3440); 6911 fixed_64bit_literal205=fixed_64bit_literal(); 6912 state._fsp--; 6913 6914 match(input, Token.UP, null); 6915 6916 6917 Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT51l203!=null?INSTRUCTION_FORMAT51l203.getText():null)); 6918 short regA = parseRegister_byte((REGISTER204!=null?REGISTER204.getText():null)); 6919 6920 long litB = fixed_64bit_literal205; 6921 6922 method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction51l(opcode, regA, litB)); 6923 6924 } 6925 6926 } 6927 catch (RecognitionException re) { 6928 reportError(re); 6929 recover(input,re); 6930 } 6931 finally { 6932 // do for sure before leaving 6933 } 6934 } 6935 // $ANTLR end "insn_format51l_type" 6936 6937 6938 6939 // $ANTLR start "insn_array_data_directive" 6940 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1310:1: insn_array_data_directive : ^( I_STATEMENT_ARRAY_DATA ^( I_ARRAY_ELEMENT_SIZE short_integral_literal ) array_elements ) ; insn_array_data_directive()6941 public final void insn_array_data_directive() throws RecognitionException { 6942 short short_integral_literal206 =0; 6943 List<Number> array_elements207 =null; 6944 6945 try { 6946 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1311:3: ( ^( I_STATEMENT_ARRAY_DATA ^( I_ARRAY_ELEMENT_SIZE short_integral_literal ) array_elements ) ) 6947 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1312:5: ^( I_STATEMENT_ARRAY_DATA ^( I_ARRAY_ELEMENT_SIZE short_integral_literal ) array_elements ) 6948 { 6949 match(input,I_STATEMENT_ARRAY_DATA,FOLLOW_I_STATEMENT_ARRAY_DATA_in_insn_array_data_directive3463); 6950 match(input, Token.DOWN, null); 6951 match(input,I_ARRAY_ELEMENT_SIZE,FOLLOW_I_ARRAY_ELEMENT_SIZE_in_insn_array_data_directive3466); 6952 match(input, Token.DOWN, null); 6953 pushFollow(FOLLOW_short_integral_literal_in_insn_array_data_directive3468); 6954 short_integral_literal206=short_integral_literal(); 6955 state._fsp--; 6956 6957 match(input, Token.UP, null); 6958 6959 pushFollow(FOLLOW_array_elements_in_insn_array_data_directive3471); 6960 array_elements207=array_elements(); 6961 state._fsp--; 6962 6963 match(input, Token.UP, null); 6964 6965 6966 int elementWidth = short_integral_literal206; 6967 List<Number> elements = array_elements207; 6968 6969 method_stack.peek().methodBuilder.addInstruction(new BuilderArrayPayload(elementWidth, array_elements207)); 6970 6971 } 6972 6973 } 6974 catch (RecognitionException re) { 6975 reportError(re); 6976 recover(input,re); 6977 } 6978 finally { 6979 // do for sure before leaving 6980 } 6981 } 6982 // $ANTLR end "insn_array_data_directive" 6983 6984 6985 6986 // $ANTLR start "insn_packed_switch_directive" 6987 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1320:1: insn_packed_switch_directive : ^( I_STATEMENT_PACKED_SWITCH ^( I_PACKED_SWITCH_START_KEY fixed_32bit_literal ) packed_switch_elements ) ; insn_packed_switch_directive()6988 public final void insn_packed_switch_directive() throws RecognitionException { 6989 int fixed_32bit_literal208 =0; 6990 List<Label> packed_switch_elements209 =null; 6991 6992 try { 6993 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1321:3: ( ^( I_STATEMENT_PACKED_SWITCH ^( I_PACKED_SWITCH_START_KEY fixed_32bit_literal ) packed_switch_elements ) ) 6994 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1322:5: ^( I_STATEMENT_PACKED_SWITCH ^( I_PACKED_SWITCH_START_KEY fixed_32bit_literal ) packed_switch_elements ) 6995 { 6996 match(input,I_STATEMENT_PACKED_SWITCH,FOLLOW_I_STATEMENT_PACKED_SWITCH_in_insn_packed_switch_directive3493); 6997 match(input, Token.DOWN, null); 6998 match(input,I_PACKED_SWITCH_START_KEY,FOLLOW_I_PACKED_SWITCH_START_KEY_in_insn_packed_switch_directive3496); 6999 match(input, Token.DOWN, null); 7000 pushFollow(FOLLOW_fixed_32bit_literal_in_insn_packed_switch_directive3498); 7001 fixed_32bit_literal208=fixed_32bit_literal(); 7002 state._fsp--; 7003 7004 match(input, Token.UP, null); 7005 7006 pushFollow(FOLLOW_packed_switch_elements_in_insn_packed_switch_directive3501); 7007 packed_switch_elements209=packed_switch_elements(); 7008 state._fsp--; 7009 7010 match(input, Token.UP, null); 7011 7012 7013 int startKey = fixed_32bit_literal208; 7014 method_stack.peek().methodBuilder.addInstruction(new BuilderPackedSwitchPayload(startKey, 7015 packed_switch_elements209)); 7016 7017 } 7018 7019 } 7020 catch (RecognitionException re) { 7021 reportError(re); 7022 recover(input,re); 7023 } 7024 finally { 7025 // do for sure before leaving 7026 } 7027 } 7028 // $ANTLR end "insn_packed_switch_directive" 7029 7030 7031 7032 // $ANTLR start "insn_sparse_switch_directive" 7033 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1329:1: insn_sparse_switch_directive : ^( I_STATEMENT_SPARSE_SWITCH sparse_switch_elements ) ; insn_sparse_switch_directive()7034 public final void insn_sparse_switch_directive() throws RecognitionException { 7035 List<SwitchLabelElement> sparse_switch_elements210 =null; 7036 7037 try { 7038 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1330:3: ( ^( I_STATEMENT_SPARSE_SWITCH sparse_switch_elements ) ) 7039 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1331:5: ^( I_STATEMENT_SPARSE_SWITCH sparse_switch_elements ) 7040 { 7041 match(input,I_STATEMENT_SPARSE_SWITCH,FOLLOW_I_STATEMENT_SPARSE_SWITCH_in_insn_sparse_switch_directive3525); 7042 match(input, Token.DOWN, null); 7043 pushFollow(FOLLOW_sparse_switch_elements_in_insn_sparse_switch_directive3527); 7044 sparse_switch_elements210=sparse_switch_elements(); 7045 state._fsp--; 7046 7047 match(input, Token.UP, null); 7048 7049 7050 method_stack.peek().methodBuilder.addInstruction(new BuilderSparseSwitchPayload(sparse_switch_elements210)); 7051 7052 } 7053 7054 } 7055 catch (RecognitionException re) { 7056 reportError(re); 7057 recover(input,re); 7058 } 7059 finally { 7060 // do for sure before leaving 7061 } 7062 } 7063 // $ANTLR end "insn_sparse_switch_directive" 7064 7065 7066 7067 // $ANTLR start "array_descriptor" 7068 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1336:1: array_descriptor returns [String type] : ARRAY_TYPE_PREFIX ( PRIMITIVE_TYPE | CLASS_DESCRIPTOR ) ; array_descriptor()7069 public final String array_descriptor() throws RecognitionException { 7070 String type = null; 7071 7072 7073 CommonTree ARRAY_TYPE_PREFIX211=null; 7074 CommonTree PRIMITIVE_TYPE212=null; 7075 CommonTree CLASS_DESCRIPTOR213=null; 7076 7077 try { 7078 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1337:3: ( ARRAY_TYPE_PREFIX ( PRIMITIVE_TYPE | CLASS_DESCRIPTOR ) ) 7079 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1337:5: ARRAY_TYPE_PREFIX ( PRIMITIVE_TYPE | CLASS_DESCRIPTOR ) 7080 { 7081 ARRAY_TYPE_PREFIX211=(CommonTree)match(input,ARRAY_TYPE_PREFIX,FOLLOW_ARRAY_TYPE_PREFIX_in_array_descriptor3548); 7082 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1337:23: ( PRIMITIVE_TYPE | CLASS_DESCRIPTOR ) 7083 int alt40=2; 7084 int LA40_0 = input.LA(1); 7085 if ( (LA40_0==PRIMITIVE_TYPE) ) { 7086 alt40=1; 7087 } 7088 else if ( (LA40_0==CLASS_DESCRIPTOR) ) { 7089 alt40=2; 7090 } 7091 7092 else { 7093 NoViableAltException nvae = 7094 new NoViableAltException("", 40, 0, input); 7095 throw nvae; 7096 } 7097 7098 switch (alt40) { 7099 case 1 : 7100 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1337:25: PRIMITIVE_TYPE 7101 { 7102 PRIMITIVE_TYPE212=(CommonTree)match(input,PRIMITIVE_TYPE,FOLLOW_PRIMITIVE_TYPE_in_array_descriptor3552); 7103 type = (ARRAY_TYPE_PREFIX211!=null?ARRAY_TYPE_PREFIX211.getText():null) + (PRIMITIVE_TYPE212!=null?PRIMITIVE_TYPE212.getText():null); 7104 } 7105 break; 7106 case 2 : 7107 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1338:25: CLASS_DESCRIPTOR 7108 { 7109 CLASS_DESCRIPTOR213=(CommonTree)match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_array_descriptor3580); 7110 type = (ARRAY_TYPE_PREFIX211!=null?ARRAY_TYPE_PREFIX211.getText():null) + (CLASS_DESCRIPTOR213!=null?CLASS_DESCRIPTOR213.getText():null); 7111 } 7112 break; 7113 7114 } 7115 7116 } 7117 7118 } 7119 catch (RecognitionException re) { 7120 reportError(re); 7121 recover(input,re); 7122 } 7123 finally { 7124 // do for sure before leaving 7125 } 7126 return type; 7127 } 7128 // $ANTLR end "array_descriptor" 7129 7130 7131 public static class nonvoid_type_descriptor_return extends TreeRuleReturnScope { 7132 public String type; 7133 }; 7134 7135 7136 // $ANTLR start "nonvoid_type_descriptor" 7137 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1340:1: nonvoid_type_descriptor returns [String type] : ( PRIMITIVE_TYPE | CLASS_DESCRIPTOR | array_descriptor ) ; nonvoid_type_descriptor()7138 public final smaliTreeWalker.nonvoid_type_descriptor_return nonvoid_type_descriptor() throws RecognitionException { 7139 smaliTreeWalker.nonvoid_type_descriptor_return retval = new smaliTreeWalker.nonvoid_type_descriptor_return(); 7140 retval.start = input.LT(1); 7141 7142 String array_descriptor214 =null; 7143 7144 try { 7145 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1341:3: ( ( PRIMITIVE_TYPE | CLASS_DESCRIPTOR | array_descriptor ) ) 7146 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1341:5: ( PRIMITIVE_TYPE | CLASS_DESCRIPTOR | array_descriptor ) 7147 { 7148 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1341:5: ( PRIMITIVE_TYPE | CLASS_DESCRIPTOR | array_descriptor ) 7149 int alt41=3; 7150 switch ( input.LA(1) ) { 7151 case PRIMITIVE_TYPE: 7152 { 7153 alt41=1; 7154 } 7155 break; 7156 case CLASS_DESCRIPTOR: 7157 { 7158 alt41=2; 7159 } 7160 break; 7161 case ARRAY_TYPE_PREFIX: 7162 { 7163 alt41=3; 7164 } 7165 break; 7166 default: 7167 NoViableAltException nvae = 7168 new NoViableAltException("", 41, 0, input); 7169 throw nvae; 7170 } 7171 switch (alt41) { 7172 case 1 : 7173 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1341:6: PRIMITIVE_TYPE 7174 { 7175 match(input,PRIMITIVE_TYPE,FOLLOW_PRIMITIVE_TYPE_in_nonvoid_type_descriptor3598); 7176 retval.type = input.getTokenStream().toString(input.getTreeAdaptor().getTokenStartIndex(retval.start),input.getTreeAdaptor().getTokenStopIndex(retval.start)); 7177 } 7178 break; 7179 case 2 : 7180 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1342:5: CLASS_DESCRIPTOR 7181 { 7182 match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_nonvoid_type_descriptor3606); 7183 retval.type = input.getTokenStream().toString(input.getTreeAdaptor().getTokenStartIndex(retval.start),input.getTreeAdaptor().getTokenStopIndex(retval.start)); 7184 } 7185 break; 7186 case 3 : 7187 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1343:5: array_descriptor 7188 { 7189 pushFollow(FOLLOW_array_descriptor_in_nonvoid_type_descriptor3614); 7190 array_descriptor214=array_descriptor(); 7191 state._fsp--; 7192 7193 retval.type = array_descriptor214; 7194 } 7195 break; 7196 7197 } 7198 7199 } 7200 7201 } 7202 catch (RecognitionException re) { 7203 reportError(re); 7204 recover(input,re); 7205 } 7206 finally { 7207 // do for sure before leaving 7208 } 7209 return retval; 7210 } 7211 // $ANTLR end "nonvoid_type_descriptor" 7212 7213 7214 public static class reference_type_descriptor_return extends TreeRuleReturnScope { 7215 public String type; 7216 }; 7217 7218 7219 // $ANTLR start "reference_type_descriptor" 7220 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1346:1: reference_type_descriptor returns [String type] : ( CLASS_DESCRIPTOR | array_descriptor ) ; reference_type_descriptor()7221 public final smaliTreeWalker.reference_type_descriptor_return reference_type_descriptor() throws RecognitionException { 7222 smaliTreeWalker.reference_type_descriptor_return retval = new smaliTreeWalker.reference_type_descriptor_return(); 7223 retval.start = input.LT(1); 7224 7225 String array_descriptor215 =null; 7226 7227 try { 7228 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1347:3: ( ( CLASS_DESCRIPTOR | array_descriptor ) ) 7229 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1347:5: ( CLASS_DESCRIPTOR | array_descriptor ) 7230 { 7231 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1347:5: ( CLASS_DESCRIPTOR | array_descriptor ) 7232 int alt42=2; 7233 int LA42_0 = input.LA(1); 7234 if ( (LA42_0==CLASS_DESCRIPTOR) ) { 7235 alt42=1; 7236 } 7237 else if ( (LA42_0==ARRAY_TYPE_PREFIX) ) { 7238 alt42=2; 7239 } 7240 7241 else { 7242 NoViableAltException nvae = 7243 new NoViableAltException("", 42, 0, input); 7244 throw nvae; 7245 } 7246 7247 switch (alt42) { 7248 case 1 : 7249 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1347:6: CLASS_DESCRIPTOR 7250 { 7251 match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_reference_type_descriptor3635); 7252 retval.type = input.getTokenStream().toString(input.getTreeAdaptor().getTokenStartIndex(retval.start),input.getTreeAdaptor().getTokenStopIndex(retval.start)); 7253 } 7254 break; 7255 case 2 : 7256 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1348:5: array_descriptor 7257 { 7258 pushFollow(FOLLOW_array_descriptor_in_reference_type_descriptor3643); 7259 array_descriptor215=array_descriptor(); 7260 state._fsp--; 7261 7262 retval.type = array_descriptor215; 7263 } 7264 break; 7265 7266 } 7267 7268 } 7269 7270 } 7271 catch (RecognitionException re) { 7272 reportError(re); 7273 recover(input,re); 7274 } 7275 finally { 7276 // do for sure before leaving 7277 } 7278 return retval; 7279 } 7280 // $ANTLR end "reference_type_descriptor" 7281 7282 7283 7284 // $ANTLR start "type_descriptor" 7285 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1351:1: type_descriptor returns [String type] : ( VOID_TYPE | nonvoid_type_descriptor ); type_descriptor()7286 public final String type_descriptor() throws RecognitionException { 7287 String type = null; 7288 7289 7290 TreeRuleReturnScope nonvoid_type_descriptor216 =null; 7291 7292 try { 7293 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1352:3: ( VOID_TYPE | nonvoid_type_descriptor ) 7294 int alt43=2; 7295 int LA43_0 = input.LA(1); 7296 if ( (LA43_0==VOID_TYPE) ) { 7297 alt43=1; 7298 } 7299 else if ( (LA43_0==ARRAY_TYPE_PREFIX||LA43_0==CLASS_DESCRIPTOR||LA43_0==PRIMITIVE_TYPE) ) { 7300 alt43=2; 7301 } 7302 7303 else { 7304 NoViableAltException nvae = 7305 new NoViableAltException("", 43, 0, input); 7306 throw nvae; 7307 } 7308 7309 switch (alt43) { 7310 case 1 : 7311 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1352:5: VOID_TYPE 7312 { 7313 match(input,VOID_TYPE,FOLLOW_VOID_TYPE_in_type_descriptor3663); 7314 type = "V"; 7315 } 7316 break; 7317 case 2 : 7318 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1353:5: nonvoid_type_descriptor 7319 { 7320 pushFollow(FOLLOW_nonvoid_type_descriptor_in_type_descriptor3671); 7321 nonvoid_type_descriptor216=nonvoid_type_descriptor(); 7322 state._fsp--; 7323 7324 type = (nonvoid_type_descriptor216!=null?((smaliTreeWalker.nonvoid_type_descriptor_return)nonvoid_type_descriptor216).type:null); 7325 } 7326 break; 7327 7328 } 7329 } 7330 catch (RecognitionException re) { 7331 reportError(re); 7332 recover(input,re); 7333 } 7334 finally { 7335 // do for sure before leaving 7336 } 7337 return type; 7338 } 7339 // $ANTLR end "type_descriptor" 7340 7341 7342 7343 // $ANTLR start "short_integral_literal" 7344 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1356:1: short_integral_literal returns [short value] : ( long_literal | integer_literal | short_literal | char_literal | byte_literal ); short_integral_literal()7345 public final short short_integral_literal() throws RecognitionException { 7346 short value = 0; 7347 7348 7349 long long_literal217 =0; 7350 int integer_literal218 =0; 7351 short short_literal219 =0; 7352 char char_literal220 =0; 7353 byte byte_literal221 =0; 7354 7355 try { 7356 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1357:3: ( long_literal | integer_literal | short_literal | char_literal | byte_literal ) 7357 int alt44=5; 7358 switch ( input.LA(1) ) { 7359 case LONG_LITERAL: 7360 { 7361 alt44=1; 7362 } 7363 break; 7364 case INTEGER_LITERAL: 7365 { 7366 alt44=2; 7367 } 7368 break; 7369 case SHORT_LITERAL: 7370 { 7371 alt44=3; 7372 } 7373 break; 7374 case CHAR_LITERAL: 7375 { 7376 alt44=4; 7377 } 7378 break; 7379 case BYTE_LITERAL: 7380 { 7381 alt44=5; 7382 } 7383 break; 7384 default: 7385 NoViableAltException nvae = 7386 new NoViableAltException("", 44, 0, input); 7387 throw nvae; 7388 } 7389 switch (alt44) { 7390 case 1 : 7391 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1357:5: long_literal 7392 { 7393 pushFollow(FOLLOW_long_literal_in_short_integral_literal3689); 7394 long_literal217=long_literal(); 7395 state._fsp--; 7396 7397 7398 LiteralTools.checkShort(long_literal217); 7399 value = (short)long_literal217; 7400 7401 } 7402 break; 7403 case 2 : 7404 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1362:5: integer_literal 7405 { 7406 pushFollow(FOLLOW_integer_literal_in_short_integral_literal3701); 7407 integer_literal218=integer_literal(); 7408 state._fsp--; 7409 7410 7411 LiteralTools.checkShort(integer_literal218); 7412 value = (short)integer_literal218; 7413 7414 } 7415 break; 7416 case 3 : 7417 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1367:5: short_literal 7418 { 7419 pushFollow(FOLLOW_short_literal_in_short_integral_literal3713); 7420 short_literal219=short_literal(); 7421 state._fsp--; 7422 7423 value = short_literal219; 7424 } 7425 break; 7426 case 4 : 7427 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1368:5: char_literal 7428 { 7429 pushFollow(FOLLOW_char_literal_in_short_integral_literal3721); 7430 char_literal220=char_literal(); 7431 state._fsp--; 7432 7433 value = (short)char_literal220; 7434 } 7435 break; 7436 case 5 : 7437 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1369:5: byte_literal 7438 { 7439 pushFollow(FOLLOW_byte_literal_in_short_integral_literal3729); 7440 byte_literal221=byte_literal(); 7441 state._fsp--; 7442 7443 value = byte_literal221; 7444 } 7445 break; 7446 7447 } 7448 } 7449 catch (RecognitionException re) { 7450 reportError(re); 7451 recover(input,re); 7452 } 7453 finally { 7454 // do for sure before leaving 7455 } 7456 return value; 7457 } 7458 // $ANTLR end "short_integral_literal" 7459 7460 7461 7462 // $ANTLR start "integral_literal" 7463 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1371:1: integral_literal returns [int value] : ( long_literal | integer_literal | short_literal | byte_literal ); integral_literal()7464 public final int integral_literal() throws RecognitionException { 7465 int value = 0; 7466 7467 7468 long long_literal222 =0; 7469 int integer_literal223 =0; 7470 short short_literal224 =0; 7471 byte byte_literal225 =0; 7472 7473 try { 7474 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1372:3: ( long_literal | integer_literal | short_literal | byte_literal ) 7475 int alt45=4; 7476 switch ( input.LA(1) ) { 7477 case LONG_LITERAL: 7478 { 7479 alt45=1; 7480 } 7481 break; 7482 case INTEGER_LITERAL: 7483 { 7484 alt45=2; 7485 } 7486 break; 7487 case SHORT_LITERAL: 7488 { 7489 alt45=3; 7490 } 7491 break; 7492 case BYTE_LITERAL: 7493 { 7494 alt45=4; 7495 } 7496 break; 7497 default: 7498 NoViableAltException nvae = 7499 new NoViableAltException("", 45, 0, input); 7500 throw nvae; 7501 } 7502 switch (alt45) { 7503 case 1 : 7504 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1372:5: long_literal 7505 { 7506 pushFollow(FOLLOW_long_literal_in_integral_literal3744); 7507 long_literal222=long_literal(); 7508 state._fsp--; 7509 7510 7511 LiteralTools.checkInt(long_literal222); 7512 value = (int)long_literal222; 7513 7514 } 7515 break; 7516 case 2 : 7517 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1377:5: integer_literal 7518 { 7519 pushFollow(FOLLOW_integer_literal_in_integral_literal3756); 7520 integer_literal223=integer_literal(); 7521 state._fsp--; 7522 7523 value = integer_literal223; 7524 } 7525 break; 7526 case 3 : 7527 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1378:5: short_literal 7528 { 7529 pushFollow(FOLLOW_short_literal_in_integral_literal3764); 7530 short_literal224=short_literal(); 7531 state._fsp--; 7532 7533 value = short_literal224; 7534 } 7535 break; 7536 case 4 : 7537 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1379:5: byte_literal 7538 { 7539 pushFollow(FOLLOW_byte_literal_in_integral_literal3772); 7540 byte_literal225=byte_literal(); 7541 state._fsp--; 7542 7543 value = byte_literal225; 7544 } 7545 break; 7546 7547 } 7548 } 7549 catch (RecognitionException re) { 7550 reportError(re); 7551 recover(input,re); 7552 } 7553 finally { 7554 // do for sure before leaving 7555 } 7556 return value; 7557 } 7558 // $ANTLR end "integral_literal" 7559 7560 7561 7562 // $ANTLR start "integer_literal" 7563 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1382:1: integer_literal returns [int value] : INTEGER_LITERAL ; integer_literal()7564 public final int integer_literal() throws RecognitionException { 7565 int value = 0; 7566 7567 7568 CommonTree INTEGER_LITERAL226=null; 7569 7570 try { 7571 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1383:3: ( INTEGER_LITERAL ) 7572 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1383:5: INTEGER_LITERAL 7573 { 7574 INTEGER_LITERAL226=(CommonTree)match(input,INTEGER_LITERAL,FOLLOW_INTEGER_LITERAL_in_integer_literal3788); 7575 value = LiteralTools.parseInt((INTEGER_LITERAL226!=null?INTEGER_LITERAL226.getText():null)); 7576 } 7577 7578 } 7579 catch (RecognitionException re) { 7580 reportError(re); 7581 recover(input,re); 7582 } 7583 finally { 7584 // do for sure before leaving 7585 } 7586 return value; 7587 } 7588 // $ANTLR end "integer_literal" 7589 7590 7591 7592 // $ANTLR start "long_literal" 7593 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1385:1: long_literal returns [long value] : LONG_LITERAL ; long_literal()7594 public final long long_literal() throws RecognitionException { 7595 long value = 0; 7596 7597 7598 CommonTree LONG_LITERAL227=null; 7599 7600 try { 7601 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1386:3: ( LONG_LITERAL ) 7602 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1386:5: LONG_LITERAL 7603 { 7604 LONG_LITERAL227=(CommonTree)match(input,LONG_LITERAL,FOLLOW_LONG_LITERAL_in_long_literal3803); 7605 value = LiteralTools.parseLong((LONG_LITERAL227!=null?LONG_LITERAL227.getText():null)); 7606 } 7607 7608 } 7609 catch (RecognitionException re) { 7610 reportError(re); 7611 recover(input,re); 7612 } 7613 finally { 7614 // do for sure before leaving 7615 } 7616 return value; 7617 } 7618 // $ANTLR end "long_literal" 7619 7620 7621 7622 // $ANTLR start "short_literal" 7623 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1388:1: short_literal returns [short value] : SHORT_LITERAL ; short_literal()7624 public final short short_literal() throws RecognitionException { 7625 short value = 0; 7626 7627 7628 CommonTree SHORT_LITERAL228=null; 7629 7630 try { 7631 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1389:3: ( SHORT_LITERAL ) 7632 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1389:5: SHORT_LITERAL 7633 { 7634 SHORT_LITERAL228=(CommonTree)match(input,SHORT_LITERAL,FOLLOW_SHORT_LITERAL_in_short_literal3818); 7635 value = LiteralTools.parseShort((SHORT_LITERAL228!=null?SHORT_LITERAL228.getText():null)); 7636 } 7637 7638 } 7639 catch (RecognitionException re) { 7640 reportError(re); 7641 recover(input,re); 7642 } 7643 finally { 7644 // do for sure before leaving 7645 } 7646 return value; 7647 } 7648 // $ANTLR end "short_literal" 7649 7650 7651 7652 // $ANTLR start "byte_literal" 7653 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1391:1: byte_literal returns [byte value] : BYTE_LITERAL ; byte_literal()7654 public final byte byte_literal() throws RecognitionException { 7655 byte value = 0; 7656 7657 7658 CommonTree BYTE_LITERAL229=null; 7659 7660 try { 7661 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1392:3: ( BYTE_LITERAL ) 7662 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1392:5: BYTE_LITERAL 7663 { 7664 BYTE_LITERAL229=(CommonTree)match(input,BYTE_LITERAL,FOLLOW_BYTE_LITERAL_in_byte_literal3833); 7665 value = LiteralTools.parseByte((BYTE_LITERAL229!=null?BYTE_LITERAL229.getText():null)); 7666 } 7667 7668 } 7669 catch (RecognitionException re) { 7670 reportError(re); 7671 recover(input,re); 7672 } 7673 finally { 7674 // do for sure before leaving 7675 } 7676 return value; 7677 } 7678 // $ANTLR end "byte_literal" 7679 7680 7681 7682 // $ANTLR start "float_literal" 7683 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1394:1: float_literal returns [float value] : FLOAT_LITERAL ; float_literal()7684 public final float float_literal() throws RecognitionException { 7685 float value = 0.0f; 7686 7687 7688 CommonTree FLOAT_LITERAL230=null; 7689 7690 try { 7691 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1395:3: ( FLOAT_LITERAL ) 7692 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1395:5: FLOAT_LITERAL 7693 { 7694 FLOAT_LITERAL230=(CommonTree)match(input,FLOAT_LITERAL,FOLLOW_FLOAT_LITERAL_in_float_literal3848); 7695 value = LiteralTools.parseFloat((FLOAT_LITERAL230!=null?FLOAT_LITERAL230.getText():null)); 7696 } 7697 7698 } 7699 catch (RecognitionException re) { 7700 reportError(re); 7701 recover(input,re); 7702 } 7703 finally { 7704 // do for sure before leaving 7705 } 7706 return value; 7707 } 7708 // $ANTLR end "float_literal" 7709 7710 7711 7712 // $ANTLR start "double_literal" 7713 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1397:1: double_literal returns [double value] : DOUBLE_LITERAL ; double_literal()7714 public final double double_literal() throws RecognitionException { 7715 double value = 0.0; 7716 7717 7718 CommonTree DOUBLE_LITERAL231=null; 7719 7720 try { 7721 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1398:3: ( DOUBLE_LITERAL ) 7722 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1398:5: DOUBLE_LITERAL 7723 { 7724 DOUBLE_LITERAL231=(CommonTree)match(input,DOUBLE_LITERAL,FOLLOW_DOUBLE_LITERAL_in_double_literal3863); 7725 value = LiteralTools.parseDouble((DOUBLE_LITERAL231!=null?DOUBLE_LITERAL231.getText():null)); 7726 } 7727 7728 } 7729 catch (RecognitionException re) { 7730 reportError(re); 7731 recover(input,re); 7732 } 7733 finally { 7734 // do for sure before leaving 7735 } 7736 return value; 7737 } 7738 // $ANTLR end "double_literal" 7739 7740 7741 7742 // $ANTLR start "char_literal" 7743 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1400:1: char_literal returns [char value] : CHAR_LITERAL ; char_literal()7744 public final char char_literal() throws RecognitionException { 7745 char value = 0; 7746 7747 7748 CommonTree CHAR_LITERAL232=null; 7749 7750 try { 7751 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1401:3: ( CHAR_LITERAL ) 7752 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1401:5: CHAR_LITERAL 7753 { 7754 CHAR_LITERAL232=(CommonTree)match(input,CHAR_LITERAL,FOLLOW_CHAR_LITERAL_in_char_literal3878); 7755 value = (CHAR_LITERAL232!=null?CHAR_LITERAL232.getText():null).charAt(1); 7756 } 7757 7758 } 7759 catch (RecognitionException re) { 7760 reportError(re); 7761 recover(input,re); 7762 } 7763 finally { 7764 // do for sure before leaving 7765 } 7766 return value; 7767 } 7768 // $ANTLR end "char_literal" 7769 7770 7771 7772 // $ANTLR start "string_literal" 7773 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1403:1: string_literal returns [String value] : STRING_LITERAL ; string_literal()7774 public final String string_literal() throws RecognitionException { 7775 String value = null; 7776 7777 7778 CommonTree STRING_LITERAL233=null; 7779 7780 try { 7781 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1404:3: ( STRING_LITERAL ) 7782 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1404:5: STRING_LITERAL 7783 { 7784 STRING_LITERAL233=(CommonTree)match(input,STRING_LITERAL,FOLLOW_STRING_LITERAL_in_string_literal3893); 7785 7786 value = (STRING_LITERAL233!=null?STRING_LITERAL233.getText():null); 7787 value = value.substring(1,value.length()-1); 7788 7789 } 7790 7791 } 7792 catch (RecognitionException re) { 7793 reportError(re); 7794 recover(input,re); 7795 } 7796 finally { 7797 // do for sure before leaving 7798 } 7799 return value; 7800 } 7801 // $ANTLR end "string_literal" 7802 7803 7804 7805 // $ANTLR start "bool_literal" 7806 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1410:1: bool_literal returns [boolean value] : BOOL_LITERAL ; bool_literal()7807 public final boolean bool_literal() throws RecognitionException { 7808 boolean value = false; 7809 7810 7811 CommonTree BOOL_LITERAL234=null; 7812 7813 try { 7814 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1411:3: ( BOOL_LITERAL ) 7815 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1411:5: BOOL_LITERAL 7816 { 7817 BOOL_LITERAL234=(CommonTree)match(input,BOOL_LITERAL,FOLLOW_BOOL_LITERAL_in_bool_literal3912); 7818 value = Boolean.parseBoolean((BOOL_LITERAL234!=null?BOOL_LITERAL234.getText():null)); 7819 } 7820 7821 } 7822 catch (RecognitionException re) { 7823 reportError(re); 7824 recover(input,re); 7825 } 7826 finally { 7827 // do for sure before leaving 7828 } 7829 return value; 7830 } 7831 // $ANTLR end "bool_literal" 7832 7833 7834 7835 // $ANTLR start "array_literal" 7836 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1413:1: array_literal returns [List<EncodedValue> elements] : ^( I_ENCODED_ARRAY ( literal )* ) ; array_literal()7837 public final List<EncodedValue> array_literal() throws RecognitionException { 7838 List<EncodedValue> elements = null; 7839 7840 7841 ImmutableEncodedValue literal235 =null; 7842 7843 try { 7844 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1414:3: ( ^( I_ENCODED_ARRAY ( literal )* ) ) 7845 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1414:5: ^( I_ENCODED_ARRAY ( literal )* ) 7846 { 7847 elements = Lists.newArrayList(); 7848 match(input,I_ENCODED_ARRAY,FOLLOW_I_ENCODED_ARRAY_in_array_literal3934); 7849 if ( input.LA(1)==Token.DOWN ) { 7850 match(input, Token.DOWN, null); 7851 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1415:23: ( literal )* 7852 loop46: 7853 while (true) { 7854 int alt46=2; 7855 int LA46_0 = input.LA(1); 7856 if ( (LA46_0==ARRAY_TYPE_PREFIX||(LA46_0 >= BOOL_LITERAL && LA46_0 <= BYTE_LITERAL)||(LA46_0 >= CHAR_LITERAL && LA46_0 <= CLASS_DESCRIPTOR)||LA46_0==DOUBLE_LITERAL||LA46_0==FLOAT_LITERAL||LA46_0==INTEGER_LITERAL||(LA46_0 >= I_ENCODED_ARRAY && LA46_0 <= I_ENCODED_METHOD_HANDLE)||LA46_0==I_METHOD_PROTOTYPE||LA46_0==I_SUBANNOTATION||LA46_0==LONG_LITERAL||LA46_0==NULL_LITERAL||LA46_0==PRIMITIVE_TYPE||LA46_0==SHORT_LITERAL||LA46_0==STRING_LITERAL||LA46_0==VOID_TYPE) ) { 7857 alt46=1; 7858 } 7859 7860 switch (alt46) { 7861 case 1 : 7862 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1415:24: literal 7863 { 7864 pushFollow(FOLLOW_literal_in_array_literal3937); 7865 literal235=literal(); 7866 state._fsp--; 7867 7868 elements.add(literal235); 7869 } 7870 break; 7871 7872 default : 7873 break loop46; 7874 } 7875 } 7876 7877 match(input, Token.UP, null); 7878 } 7879 7880 } 7881 7882 } 7883 catch (RecognitionException re) { 7884 reportError(re); 7885 recover(input,re); 7886 } 7887 finally { 7888 // do for sure before leaving 7889 } 7890 return elements; 7891 } 7892 // $ANTLR end "array_literal" 7893 7894 7895 7896 // $ANTLR start "annotations" 7897 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1417:1: annotations returns [Set<Annotation> annotations] : ^( I_ANNOTATIONS ( annotation )* ) ; annotations()7898 public final Set<Annotation> annotations() throws RecognitionException { 7899 Set<Annotation> annotations = null; 7900 7901 7902 Annotation annotation236 =null; 7903 7904 try { 7905 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1418:3: ( ^( I_ANNOTATIONS ( annotation )* ) ) 7906 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1418:5: ^( I_ANNOTATIONS ( annotation )* ) 7907 { 7908 HashMap<String, Annotation> annotationMap = Maps.newHashMap(); 7909 match(input,I_ANNOTATIONS,FOLLOW_I_ANNOTATIONS_in_annotations3962); 7910 if ( input.LA(1)==Token.DOWN ) { 7911 match(input, Token.DOWN, null); 7912 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1419:21: ( annotation )* 7913 loop47: 7914 while (true) { 7915 int alt47=2; 7916 int LA47_0 = input.LA(1); 7917 if ( (LA47_0==I_ANNOTATION) ) { 7918 alt47=1; 7919 } 7920 7921 switch (alt47) { 7922 case 1 : 7923 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1419:22: annotation 7924 { 7925 pushFollow(FOLLOW_annotation_in_annotations3965); 7926 annotation236=annotation(); 7927 state._fsp--; 7928 7929 7930 Annotation anno = annotation236; 7931 Annotation old = annotationMap.put(anno.getType(), anno); 7932 if (old != null) { 7933 throw new SemanticException(input, "Multiple annotations of type %s", anno.getType()); 7934 } 7935 7936 } 7937 break; 7938 7939 default : 7940 break loop47; 7941 } 7942 } 7943 7944 match(input, Token.UP, null); 7945 } 7946 7947 7948 annotations = ImmutableSet.copyOf(annotationMap.values()); 7949 7950 } 7951 7952 } 7953 catch (RecognitionException re) { 7954 reportError(re); 7955 recover(input,re); 7956 } 7957 finally { 7958 // do for sure before leaving 7959 } 7960 return annotations; 7961 } 7962 // $ANTLR end "annotations" 7963 7964 7965 7966 // $ANTLR start "annotation" 7967 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1431:1: annotation returns [Annotation annotation] : ^( I_ANNOTATION ANNOTATION_VISIBILITY subannotation ) ; annotation()7968 public final Annotation annotation() throws RecognitionException { 7969 Annotation annotation = null; 7970 7971 7972 CommonTree ANNOTATION_VISIBILITY237=null; 7973 TreeRuleReturnScope subannotation238 =null; 7974 7975 try { 7976 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1432:3: ( ^( I_ANNOTATION ANNOTATION_VISIBILITY subannotation ) ) 7977 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1432:5: ^( I_ANNOTATION ANNOTATION_VISIBILITY subannotation ) 7978 { 7979 match(input,I_ANNOTATION,FOLLOW_I_ANNOTATION_in_annotation3994); 7980 match(input, Token.DOWN, null); 7981 ANNOTATION_VISIBILITY237=(CommonTree)match(input,ANNOTATION_VISIBILITY,FOLLOW_ANNOTATION_VISIBILITY_in_annotation3996); 7982 pushFollow(FOLLOW_subannotation_in_annotation3998); 7983 subannotation238=subannotation(); 7984 state._fsp--; 7985 7986 match(input, Token.UP, null); 7987 7988 7989 int visibility = AnnotationVisibility.getVisibility((ANNOTATION_VISIBILITY237!=null?ANNOTATION_VISIBILITY237.getText():null)); 7990 annotation = new ImmutableAnnotation(visibility, (subannotation238!=null?((smaliTreeWalker.subannotation_return)subannotation238).annotationType:null), (subannotation238!=null?((smaliTreeWalker.subannotation_return)subannotation238).elements:null)); 7991 7992 } 7993 7994 } 7995 catch (RecognitionException re) { 7996 reportError(re); 7997 recover(input,re); 7998 } 7999 finally { 8000 // do for sure before leaving 8001 } 8002 return annotation; 8003 } 8004 // $ANTLR end "annotation" 8005 8006 8007 8008 // $ANTLR start "annotation_element" 8009 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1438:1: annotation_element returns [AnnotationElement element] : ^( I_ANNOTATION_ELEMENT SIMPLE_NAME literal ) ; annotation_element()8010 public final AnnotationElement annotation_element() throws RecognitionException { 8011 AnnotationElement element = null; 8012 8013 8014 CommonTree SIMPLE_NAME239=null; 8015 ImmutableEncodedValue literal240 =null; 8016 8017 try { 8018 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1439:3: ( ^( I_ANNOTATION_ELEMENT SIMPLE_NAME literal ) ) 8019 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1439:5: ^( I_ANNOTATION_ELEMENT SIMPLE_NAME literal ) 8020 { 8021 match(input,I_ANNOTATION_ELEMENT,FOLLOW_I_ANNOTATION_ELEMENT_in_annotation_element4019); 8022 match(input, Token.DOWN, null); 8023 SIMPLE_NAME239=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_annotation_element4021); 8024 pushFollow(FOLLOW_literal_in_annotation_element4023); 8025 literal240=literal(); 8026 state._fsp--; 8027 8028 match(input, Token.UP, null); 8029 8030 8031 element = new ImmutableAnnotationElement((SIMPLE_NAME239!=null?SIMPLE_NAME239.getText():null), literal240); 8032 8033 } 8034 8035 } 8036 catch (RecognitionException re) { 8037 reportError(re); 8038 recover(input,re); 8039 } 8040 finally { 8041 // do for sure before leaving 8042 } 8043 return element; 8044 } 8045 // $ANTLR end "annotation_element" 8046 8047 8048 public static class subannotation_return extends TreeRuleReturnScope { 8049 public String annotationType; 8050 public List<AnnotationElement> elements; 8051 }; 8052 8053 8054 // $ANTLR start "subannotation" 8055 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1444:1: subannotation returns [String annotationType, List<AnnotationElement> elements] : ^( I_SUBANNOTATION CLASS_DESCRIPTOR ( annotation_element )* ) ; subannotation()8056 public final smaliTreeWalker.subannotation_return subannotation() throws RecognitionException { 8057 smaliTreeWalker.subannotation_return retval = new smaliTreeWalker.subannotation_return(); 8058 retval.start = input.LT(1); 8059 8060 CommonTree CLASS_DESCRIPTOR242=null; 8061 AnnotationElement annotation_element241 =null; 8062 8063 try { 8064 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1445:3: ( ^( I_SUBANNOTATION CLASS_DESCRIPTOR ( annotation_element )* ) ) 8065 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1445:5: ^( I_SUBANNOTATION CLASS_DESCRIPTOR ( annotation_element )* ) 8066 { 8067 ArrayList<AnnotationElement> elements = Lists.newArrayList(); 8068 match(input,I_SUBANNOTATION,FOLLOW_I_SUBANNOTATION_in_subannotation4050); 8069 match(input, Token.DOWN, null); 8070 CLASS_DESCRIPTOR242=(CommonTree)match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_subannotation4060); 8071 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1448:9: ( annotation_element )* 8072 loop48: 8073 while (true) { 8074 int alt48=2; 8075 int LA48_0 = input.LA(1); 8076 if ( (LA48_0==I_ANNOTATION_ELEMENT) ) { 8077 alt48=1; 8078 } 8079 8080 switch (alt48) { 8081 case 1 : 8082 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1448:10: annotation_element 8083 { 8084 pushFollow(FOLLOW_annotation_element_in_subannotation4071); 8085 annotation_element241=annotation_element(); 8086 state._fsp--; 8087 8088 8089 elements.add(annotation_element241); 8090 8091 } 8092 break; 8093 8094 default : 8095 break loop48; 8096 } 8097 } 8098 8099 match(input, Token.UP, null); 8100 8101 8102 retval.annotationType = (CLASS_DESCRIPTOR242!=null?CLASS_DESCRIPTOR242.getText():null); 8103 retval.elements = elements; 8104 8105 } 8106 8107 } 8108 catch (RecognitionException re) { 8109 reportError(re); 8110 recover(input,re); 8111 } 8112 finally { 8113 // do for sure before leaving 8114 } 8115 return retval; 8116 } 8117 // $ANTLR end "subannotation" 8118 8119 8120 8121 // $ANTLR start "field_literal" 8122 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1458:1: field_literal returns [ImmutableFieldReference value] : ^( I_ENCODED_FIELD field_reference ) ; field_literal()8123 public final ImmutableFieldReference field_literal() throws RecognitionException { 8124 ImmutableFieldReference value = null; 8125 8126 8127 TreeRuleReturnScope field_reference243 =null; 8128 8129 try { 8130 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1459:3: ( ^( I_ENCODED_FIELD field_reference ) ) 8131 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1459:5: ^( I_ENCODED_FIELD field_reference ) 8132 { 8133 match(input,I_ENCODED_FIELD,FOLLOW_I_ENCODED_FIELD_in_field_literal4110); 8134 match(input, Token.DOWN, null); 8135 pushFollow(FOLLOW_field_reference_in_field_literal4112); 8136 field_reference243=field_reference(); 8137 state._fsp--; 8138 8139 match(input, Token.UP, null); 8140 8141 8142 value = (field_reference243!=null?((smaliTreeWalker.field_reference_return)field_reference243).fieldReference:null); 8143 8144 } 8145 8146 } 8147 catch (RecognitionException re) { 8148 reportError(re); 8149 recover(input,re); 8150 } 8151 finally { 8152 // do for sure before leaving 8153 } 8154 return value; 8155 } 8156 // $ANTLR end "field_literal" 8157 8158 8159 8160 // $ANTLR start "method_literal" 8161 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1464:1: method_literal returns [ImmutableMethodReference value] : ^( I_ENCODED_METHOD method_reference ) ; method_literal()8162 public final ImmutableMethodReference method_literal() throws RecognitionException { 8163 ImmutableMethodReference value = null; 8164 8165 8166 ImmutableMethodReference method_reference244 =null; 8167 8168 try { 8169 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1465:3: ( ^( I_ENCODED_METHOD method_reference ) ) 8170 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1465:5: ^( I_ENCODED_METHOD method_reference ) 8171 { 8172 match(input,I_ENCODED_METHOD,FOLLOW_I_ENCODED_METHOD_in_method_literal4133); 8173 match(input, Token.DOWN, null); 8174 pushFollow(FOLLOW_method_reference_in_method_literal4135); 8175 method_reference244=method_reference(); 8176 state._fsp--; 8177 8178 match(input, Token.UP, null); 8179 8180 8181 value = method_reference244; 8182 8183 } 8184 8185 } 8186 catch (RecognitionException re) { 8187 reportError(re); 8188 recover(input,re); 8189 } 8190 finally { 8191 // do for sure before leaving 8192 } 8193 return value; 8194 } 8195 // $ANTLR end "method_literal" 8196 8197 8198 8199 // $ANTLR start "enum_literal" 8200 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1470:1: enum_literal returns [ImmutableFieldReference value] : ^( I_ENCODED_ENUM field_reference ) ; enum_literal()8201 public final ImmutableFieldReference enum_literal() throws RecognitionException { 8202 ImmutableFieldReference value = null; 8203 8204 8205 TreeRuleReturnScope field_reference245 =null; 8206 8207 try { 8208 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1471:3: ( ^( I_ENCODED_ENUM field_reference ) ) 8209 // /usr/local/google/home/melisacz/extra/aosp-master-with-phones/external/google-smali/smali/src/main/antlr/smaliTreeWalker.g:1471:5: ^( I_ENCODED_ENUM field_reference ) 8210 { 8211 match(input,I_ENCODED_ENUM,FOLLOW_I_ENCODED_ENUM_in_enum_literal4156); 8212 match(input, Token.DOWN, null); 8213 pushFollow(FOLLOW_field_reference_in_enum_literal4158); 8214 field_reference245=field_reference(); 8215 state._fsp--; 8216 8217 match(input, Token.UP, null); 8218 8219 8220 value = (field_reference245!=null?((smaliTreeWalker.field_reference_return)field_reference245).fieldReference:null); 8221 8222 } 8223 8224 } 8225 catch (RecognitionException re) { 8226 reportError(re); 8227 recover(input,re); 8228 } 8229 finally { 8230 // do for sure before leaving 8231 } 8232 return value; 8233 } 8234 // $ANTLR end "enum_literal" 8235 8236 // Delegated rules 8237 8238 8239 8240 public static final BitSet FOLLOW_I_CLASS_DEF_in_smali_file52 = new BitSet(new long[]{0x0000000000000004L}); 8241 public static final BitSet FOLLOW_header_in_smali_file54 = new BitSet(new long[]{0x0000000000000000L,0x8000000000000000L}); 8242 public static final BitSet FOLLOW_methods_in_smali_file56 = new BitSet(new long[]{0x0000000000000000L,0x0040000000000000L}); 8243 public static final BitSet FOLLOW_fields_in_smali_file58 = new BitSet(new long[]{0x0000000000000000L,0x0000001000000000L}); 8244 public static final BitSet FOLLOW_annotations_in_smali_file60 = new BitSet(new long[]{0x0000000000000008L}); 8245 public static final BitSet FOLLOW_class_spec_in_header85 = new BitSet(new long[]{0x0000000000000000L,0x0200000000000000L,0x0100000000002000L}); 8246 public static final BitSet FOLLOW_super_spec_in_header87 = new BitSet(new long[]{0x0000000000000000L,0x0200000000000000L,0x0000000000002000L}); 8247 public static final BitSet FOLLOW_implements_list_in_header90 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000002000L}); 8248 public static final BitSet FOLLOW_source_spec_in_header92 = new BitSet(new long[]{0x0000000000000002L}); 8249 public static final BitSet FOLLOW_CLASS_DESCRIPTOR_in_class_spec110 = new BitSet(new long[]{0x0000000000000000L,0x0000000200000000L}); 8250 public static final BitSet FOLLOW_access_list_in_class_spec112 = new BitSet(new long[]{0x0000000000000002L}); 8251 public static final BitSet FOLLOW_I_SUPER_in_super_spec130 = new BitSet(new long[]{0x0000000000000004L}); 8252 public static final BitSet FOLLOW_CLASS_DESCRIPTOR_in_super_spec132 = new BitSet(new long[]{0x0000000000000008L}); 8253 public static final BitSet FOLLOW_I_IMPLEMENTS_in_implements_spec152 = new BitSet(new long[]{0x0000000000000004L}); 8254 public static final BitSet FOLLOW_CLASS_DESCRIPTOR_in_implements_spec154 = new BitSet(new long[]{0x0000000000000008L}); 8255 public static final BitSet FOLLOW_implements_spec_in_implements_list184 = new BitSet(new long[]{0x0000000000000002L,0x0200000000000000L}); 8256 public static final BitSet FOLLOW_I_SOURCE_in_source_spec213 = new BitSet(new long[]{0x0000000000000004L}); 8257 public static final BitSet FOLLOW_string_literal_in_source_spec215 = new BitSet(new long[]{0x0000000000000008L}); 8258 public static final BitSet FOLLOW_I_ACCESS_LIST_in_access_list247 = new BitSet(new long[]{0x0000000000000004L}); 8259 public static final BitSet FOLLOW_ACCESS_SPEC_in_access_list265 = new BitSet(new long[]{0x0000000000000018L}); 8260 public static final BitSet FOLLOW_I_ACCESS_OR_RESTRICTION_LIST_in_access_or_restriction_list308 = new BitSet(new long[]{0x0000000000000004L}); 8261 public static final BitSet FOLLOW_ACCESS_SPEC_in_access_or_restriction_list326 = new BitSet(new long[]{0x0000020000000018L}); 8262 public static final BitSet FOLLOW_HIDDENAPI_RESTRICTION_in_access_or_restriction_list356 = new BitSet(new long[]{0x0000020000000018L}); 8263 public static final BitSet FOLLOW_I_FIELDS_in_fields405 = new BitSet(new long[]{0x0000000000000004L}); 8264 public static final BitSet FOLLOW_field_in_fields414 = new BitSet(new long[]{0x0000000000000008L,0x0020000000000000L}); 8265 public static final BitSet FOLLOW_I_METHODS_in_methods446 = new BitSet(new long[]{0x0000000000000004L}); 8266 public static final BitSet FOLLOW_method_in_methods455 = new BitSet(new long[]{0x0000000000000008L,0x4000000000000000L}); 8267 public static final BitSet FOLLOW_I_FIELD_in_field480 = new BitSet(new long[]{0x0000000000000004L}); 8268 public static final BitSet FOLLOW_SIMPLE_NAME_in_field482 = new BitSet(new long[]{0x0000000000000000L,0x0000000400000000L}); 8269 public static final BitSet FOLLOW_access_or_restriction_list_in_field484 = new BitSet(new long[]{0x0000000000000000L,0x0100000000000000L}); 8270 public static final BitSet FOLLOW_I_FIELD_TYPE_in_field487 = new BitSet(new long[]{0x0000000000000004L}); 8271 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_field489 = new BitSet(new long[]{0x0000000000000008L}); 8272 public static final BitSet FOLLOW_field_initial_value_in_field492 = new BitSet(new long[]{0x0000000000000008L,0x0000001000000000L}); 8273 public static final BitSet FOLLOW_annotations_in_field494 = new BitSet(new long[]{0x0000000000000008L}); 8274 public static final BitSet FOLLOW_I_FIELD_INITIAL_VALUE_in_field_initial_value515 = new BitSet(new long[]{0x0000000000000004L}); 8275 public static final BitSet FOLLOW_literal_in_field_initial_value517 = new BitSet(new long[]{0x0000000000000008L}); 8276 public static final BitSet FOLLOW_integer_literal_in_literal539 = new BitSet(new long[]{0x0000000000000002L}); 8277 public static final BitSet FOLLOW_long_literal_in_literal547 = new BitSet(new long[]{0x0000000000000002L}); 8278 public static final BitSet FOLLOW_short_literal_in_literal555 = new BitSet(new long[]{0x0000000000000002L}); 8279 public static final BitSet FOLLOW_byte_literal_in_literal563 = new BitSet(new long[]{0x0000000000000002L}); 8280 public static final BitSet FOLLOW_float_literal_in_literal571 = new BitSet(new long[]{0x0000000000000002L}); 8281 public static final BitSet FOLLOW_double_literal_in_literal579 = new BitSet(new long[]{0x0000000000000002L}); 8282 public static final BitSet FOLLOW_char_literal_in_literal587 = new BitSet(new long[]{0x0000000000000002L}); 8283 public static final BitSet FOLLOW_string_literal_in_literal595 = new BitSet(new long[]{0x0000000000000002L}); 8284 public static final BitSet FOLLOW_bool_literal_in_literal603 = new BitSet(new long[]{0x0000000000000002L}); 8285 public static final BitSet FOLLOW_NULL_LITERAL_in_literal611 = new BitSet(new long[]{0x0000000000000002L}); 8286 public static final BitSet FOLLOW_type_descriptor_in_literal619 = new BitSet(new long[]{0x0000000000000002L}); 8287 public static final BitSet FOLLOW_array_literal_in_literal627 = new BitSet(new long[]{0x0000000000000002L}); 8288 public static final BitSet FOLLOW_subannotation_in_literal635 = new BitSet(new long[]{0x0000000000000002L}); 8289 public static final BitSet FOLLOW_field_literal_in_literal643 = new BitSet(new long[]{0x0000000000000002L}); 8290 public static final BitSet FOLLOW_method_literal_in_literal651 = new BitSet(new long[]{0x0000000000000002L}); 8291 public static final BitSet FOLLOW_enum_literal_in_literal659 = new BitSet(new long[]{0x0000000000000002L}); 8292 public static final BitSet FOLLOW_method_handle_literal_in_literal667 = new BitSet(new long[]{0x0000000000000002L}); 8293 public static final BitSet FOLLOW_method_prototype_in_literal675 = new BitSet(new long[]{0x0000000000000002L}); 8294 public static final BitSet FOLLOW_integer_literal_in_fixed_64bit_literal_number691 = new BitSet(new long[]{0x0000000000000002L}); 8295 public static final BitSet FOLLOW_long_literal_in_fixed_64bit_literal_number699 = new BitSet(new long[]{0x0000000000000002L}); 8296 public static final BitSet FOLLOW_short_literal_in_fixed_64bit_literal_number707 = new BitSet(new long[]{0x0000000000000002L}); 8297 public static final BitSet FOLLOW_byte_literal_in_fixed_64bit_literal_number715 = new BitSet(new long[]{0x0000000000000002L}); 8298 public static final BitSet FOLLOW_float_literal_in_fixed_64bit_literal_number723 = new BitSet(new long[]{0x0000000000000002L}); 8299 public static final BitSet FOLLOW_double_literal_in_fixed_64bit_literal_number731 = new BitSet(new long[]{0x0000000000000002L}); 8300 public static final BitSet FOLLOW_char_literal_in_fixed_64bit_literal_number739 = new BitSet(new long[]{0x0000000000000002L}); 8301 public static final BitSet FOLLOW_bool_literal_in_fixed_64bit_literal_number747 = new BitSet(new long[]{0x0000000000000002L}); 8302 public static final BitSet FOLLOW_integer_literal_in_fixed_64bit_literal762 = new BitSet(new long[]{0x0000000000000002L}); 8303 public static final BitSet FOLLOW_long_literal_in_fixed_64bit_literal770 = new BitSet(new long[]{0x0000000000000002L}); 8304 public static final BitSet FOLLOW_short_literal_in_fixed_64bit_literal778 = new BitSet(new long[]{0x0000000000000002L}); 8305 public static final BitSet FOLLOW_byte_literal_in_fixed_64bit_literal786 = new BitSet(new long[]{0x0000000000000002L}); 8306 public static final BitSet FOLLOW_float_literal_in_fixed_64bit_literal794 = new BitSet(new long[]{0x0000000000000002L}); 8307 public static final BitSet FOLLOW_double_literal_in_fixed_64bit_literal802 = new BitSet(new long[]{0x0000000000000002L}); 8308 public static final BitSet FOLLOW_char_literal_in_fixed_64bit_literal810 = new BitSet(new long[]{0x0000000000000002L}); 8309 public static final BitSet FOLLOW_bool_literal_in_fixed_64bit_literal818 = new BitSet(new long[]{0x0000000000000002L}); 8310 public static final BitSet FOLLOW_integer_literal_in_fixed_32bit_literal835 = new BitSet(new long[]{0x0000000000000002L}); 8311 public static final BitSet FOLLOW_long_literal_in_fixed_32bit_literal843 = new BitSet(new long[]{0x0000000000000002L}); 8312 public static final BitSet FOLLOW_short_literal_in_fixed_32bit_literal851 = new BitSet(new long[]{0x0000000000000002L}); 8313 public static final BitSet FOLLOW_byte_literal_in_fixed_32bit_literal859 = new BitSet(new long[]{0x0000000000000002L}); 8314 public static final BitSet FOLLOW_float_literal_in_fixed_32bit_literal867 = new BitSet(new long[]{0x0000000000000002L}); 8315 public static final BitSet FOLLOW_char_literal_in_fixed_32bit_literal875 = new BitSet(new long[]{0x0000000000000002L}); 8316 public static final BitSet FOLLOW_bool_literal_in_fixed_32bit_literal883 = new BitSet(new long[]{0x0000000000000002L}); 8317 public static final BitSet FOLLOW_I_ARRAY_ELEMENTS_in_array_elements905 = new BitSet(new long[]{0x0000000000000004L}); 8318 public static final BitSet FOLLOW_fixed_64bit_literal_number_in_array_elements914 = new BitSet(new long[]{0x0000008000809808L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8319 public static final BitSet FOLLOW_I_PACKED_SWITCH_ELEMENTS_in_packed_switch_elements950 = new BitSet(new long[]{0x0000000000000004L}); 8320 public static final BitSet FOLLOW_label_ref_in_packed_switch_elements959 = new BitSet(new long[]{0x0000000000000008L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8321 public static final BitSet FOLLOW_I_SPARSE_SWITCH_ELEMENTS_in_sparse_switch_elements994 = new BitSet(new long[]{0x0000000000000004L}); 8322 public static final BitSet FOLLOW_fixed_32bit_literal_in_sparse_switch_elements1004 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8323 public static final BitSet FOLLOW_label_ref_in_sparse_switch_elements1006 = new BitSet(new long[]{0x0000008000009808L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8324 public static final BitSet FOLLOW_I_METHOD_in_method1058 = new BitSet(new long[]{0x0000000000000004L}); 8325 public static final BitSet FOLLOW_method_name_and_prototype_in_method1066 = new BitSet(new long[]{0x0000000000000000L,0x0000000400000000L}); 8326 public static final BitSet FOLLOW_access_or_restriction_list_in_method1074 = new BitSet(new long[]{0x0000000000000000L,0x2000000000000000L,0x0000000000000204L}); 8327 public static final BitSet FOLLOW_registers_directive_in_method1101 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000004L}); 8328 public static final BitSet FOLLOW_ordered_method_items_in_method1158 = new BitSet(new long[]{0x0000000000000000L,0x0000100000000000L}); 8329 public static final BitSet FOLLOW_catches_in_method1166 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000040L}); 8330 public static final BitSet FOLLOW_parameters_in_method1174 = new BitSet(new long[]{0x0000000000000000L,0x0000001000000000L}); 8331 public static final BitSet FOLLOW_annotations_in_method1183 = new BitSet(new long[]{0x0000000000000008L}); 8332 public static final BitSet FOLLOW_I_METHOD_PROTOTYPE_in_method_prototype1207 = new BitSet(new long[]{0x0000000000000004L}); 8333 public static final BitSet FOLLOW_I_METHOD_RETURN_TYPE_in_method_prototype1210 = new BitSet(new long[]{0x0000000000000004L}); 8334 public static final BitSet FOLLOW_type_descriptor_in_method_prototype1212 = new BitSet(new long[]{0x0000000000000008L}); 8335 public static final BitSet FOLLOW_method_type_list_in_method_prototype1215 = new BitSet(new long[]{0x0000000000000008L}); 8336 public static final BitSet FOLLOW_SIMPLE_NAME_in_method_name_and_prototype1233 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000001L}); 8337 public static final BitSet FOLLOW_method_prototype_in_method_name_and_prototype1235 = new BitSet(new long[]{0x0000000000000002L}); 8338 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_method_type_list1269 = new BitSet(new long[]{0x0000000000010102L,0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8339 public static final BitSet FOLLOW_I_CALL_SITE_REFERENCE_in_call_site_reference1300 = new BitSet(new long[]{0x0000000000000004L}); 8340 public static final BitSet FOLLOW_SIMPLE_NAME_in_call_site_reference1304 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000080000L}); 8341 public static final BitSet FOLLOW_string_literal_in_call_site_reference1308 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000001L}); 8342 public static final BitSet FOLLOW_method_prototype_in_call_site_reference1310 = new BitSet(new long[]{0x0000000000000000L,0x0000010000000000L}); 8343 public static final BitSet FOLLOW_call_site_extra_arguments_in_call_site_reference1320 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8344 public static final BitSet FOLLOW_method_reference_in_call_site_reference1322 = new BitSet(new long[]{0x0000000000000008L}); 8345 public static final BitSet FOLLOW_set_in_method_handle_type1342 = new BitSet(new long[]{0x0000000000000002L}); 8346 public static final BitSet FOLLOW_method_handle_type_in_method_handle_reference1367 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8347 public static final BitSet FOLLOW_field_reference_in_method_handle_reference1370 = new BitSet(new long[]{0x0000000000000002L}); 8348 public static final BitSet FOLLOW_method_reference_in_method_handle_reference1374 = new BitSet(new long[]{0x0000000000000002L}); 8349 public static final BitSet FOLLOW_I_ENCODED_METHOD_HANDLE_in_method_handle_literal1391 = new BitSet(new long[]{0x0000000000000004L}); 8350 public static final BitSet FOLLOW_method_handle_reference_in_method_handle_literal1393 = new BitSet(new long[]{0x0000000000000008L}); 8351 public static final BitSet FOLLOW_reference_type_descriptor_in_method_reference1409 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8352 public static final BitSet FOLLOW_SIMPLE_NAME_in_method_reference1412 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000001L}); 8353 public static final BitSet FOLLOW_method_prototype_in_method_reference1414 = new BitSet(new long[]{0x0000000000000002L}); 8354 public static final BitSet FOLLOW_reference_type_descriptor_in_field_reference1431 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8355 public static final BitSet FOLLOW_SIMPLE_NAME_in_field_reference1434 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8356 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_field_reference1436 = new BitSet(new long[]{0x0000000000000002L}); 8357 public static final BitSet FOLLOW_I_REGISTERS_in_registers_directive1462 = new BitSet(new long[]{0x0000000000000004L}); 8358 public static final BitSet FOLLOW_I_LOCALS_in_registers_directive1474 = new BitSet(new long[]{0x0000000000000004L}); 8359 public static final BitSet FOLLOW_short_integral_literal_in_registers_directive1492 = new BitSet(new long[]{0x0000000000000008L}); 8360 public static final BitSet FOLLOW_I_LABEL_in_label_def1512 = new BitSet(new long[]{0x0000000000000004L}); 8361 public static final BitSet FOLLOW_SIMPLE_NAME_in_label_def1514 = new BitSet(new long[]{0x0000000000000008L}); 8362 public static final BitSet FOLLOW_I_CATCHES_in_catches1540 = new BitSet(new long[]{0x0000000000000004L}); 8363 public static final BitSet FOLLOW_catch_directive_in_catches1542 = new BitSet(new long[]{0x0000000000000008L,0x00000C0000000000L}); 8364 public static final BitSet FOLLOW_catchall_directive_in_catches1545 = new BitSet(new long[]{0x0000000000000008L,0x0000080000000000L}); 8365 public static final BitSet FOLLOW_I_CATCH_in_catch_directive1558 = new BitSet(new long[]{0x0000000000000004L}); 8366 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_catch_directive1560 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8367 public static final BitSet FOLLOW_label_ref_in_catch_directive1564 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8368 public static final BitSet FOLLOW_label_ref_in_catch_directive1568 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8369 public static final BitSet FOLLOW_label_ref_in_catch_directive1572 = new BitSet(new long[]{0x0000000000000008L}); 8370 public static final BitSet FOLLOW_I_CATCHALL_in_catchall_directive1588 = new BitSet(new long[]{0x0000000000000004L}); 8371 public static final BitSet FOLLOW_label_ref_in_catchall_directive1592 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8372 public static final BitSet FOLLOW_label_ref_in_catchall_directive1596 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8373 public static final BitSet FOLLOW_label_ref_in_catchall_directive1600 = new BitSet(new long[]{0x0000000000000008L}); 8374 public static final BitSet FOLLOW_I_PARAMETERS_in_parameters1617 = new BitSet(new long[]{0x0000000000000004L}); 8375 public static final BitSet FOLLOW_parameter_in_parameters1620 = new BitSet(new long[]{0x0000000000000008L,0x0000000000000000L,0x0000000000000020L}); 8376 public static final BitSet FOLLOW_I_PARAMETER_in_parameter1636 = new BitSet(new long[]{0x0000000000000004L}); 8377 public static final BitSet FOLLOW_REGISTER_in_parameter1638 = new BitSet(new long[]{0x0000000000000000L,0x0000001000000000L,0x0000000000000000L,0x0000000000080000L}); 8378 public static final BitSet FOLLOW_string_literal_in_parameter1640 = new BitSet(new long[]{0x0000000000000000L,0x0000001000000000L}); 8379 public static final BitSet FOLLOW_annotations_in_parameter1643 = new BitSet(new long[]{0x0000000000000008L}); 8380 public static final BitSet FOLLOW_line_in_debug_directive1660 = new BitSet(new long[]{0x0000000000000002L}); 8381 public static final BitSet FOLLOW_local_in_debug_directive1666 = new BitSet(new long[]{0x0000000000000002L}); 8382 public static final BitSet FOLLOW_end_local_in_debug_directive1672 = new BitSet(new long[]{0x0000000000000002L}); 8383 public static final BitSet FOLLOW_restart_local_in_debug_directive1678 = new BitSet(new long[]{0x0000000000000002L}); 8384 public static final BitSet FOLLOW_prologue_in_debug_directive1684 = new BitSet(new long[]{0x0000000000000002L}); 8385 public static final BitSet FOLLOW_epilogue_in_debug_directive1690 = new BitSet(new long[]{0x0000000000000002L}); 8386 public static final BitSet FOLLOW_source_in_debug_directive1696 = new BitSet(new long[]{0x0000000000000002L}); 8387 public static final BitSet FOLLOW_I_LINE_in_line1707 = new BitSet(new long[]{0x0000000000000004L}); 8388 public static final BitSet FOLLOW_integral_literal_in_line1709 = new BitSet(new long[]{0x0000000000000008L}); 8389 public static final BitSet FOLLOW_I_LOCAL_in_local1727 = new BitSet(new long[]{0x0000000000000004L}); 8390 public static final BitSet FOLLOW_REGISTER_in_local1729 = new BitSet(new long[]{0x0000000000000008L,0x0000000000000000L,0x0000000000000000L,0x0000000000080008L}); 8391 public static final BitSet FOLLOW_NULL_LITERAL_in_local1733 = new BitSet(new long[]{0x0000000000010108L,0x0000000000000000L,0x0000000000000000L,0x0000000000080400L}); 8392 public static final BitSet FOLLOW_string_literal_in_local1739 = new BitSet(new long[]{0x0000000000010108L,0x0000000000000000L,0x0000000000000000L,0x0000000000080400L}); 8393 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_local1742 = new BitSet(new long[]{0x0000000000000008L,0x0000000000000000L,0x0000000000000000L,0x0000000000080000L}); 8394 public static final BitSet FOLLOW_string_literal_in_local1747 = new BitSet(new long[]{0x0000000000000008L}); 8395 public static final BitSet FOLLOW_I_END_LOCAL_in_end_local1768 = new BitSet(new long[]{0x0000000000000004L}); 8396 public static final BitSet FOLLOW_REGISTER_in_end_local1770 = new BitSet(new long[]{0x0000000000000008L}); 8397 public static final BitSet FOLLOW_I_RESTART_LOCAL_in_restart_local1788 = new BitSet(new long[]{0x0000000000000004L}); 8398 public static final BitSet FOLLOW_REGISTER_in_restart_local1790 = new BitSet(new long[]{0x0000000000000008L}); 8399 public static final BitSet FOLLOW_I_PROLOGUE_in_prologue1807 = new BitSet(new long[]{0x0000000000000002L}); 8400 public static final BitSet FOLLOW_I_EPILOGUE_in_epilogue1823 = new BitSet(new long[]{0x0000000000000002L}); 8401 public static final BitSet FOLLOW_I_SOURCE_in_source1840 = new BitSet(new long[]{0x0000000000000004L}); 8402 public static final BitSet FOLLOW_string_literal_in_source1842 = new BitSet(new long[]{0x0000000000000008L}); 8403 public static final BitSet FOLLOW_I_CALL_SITE_EXTRA_ARGUMENTS_in_call_site_extra_arguments1868 = new BitSet(new long[]{0x0000000000000004L}); 8404 public static final BitSet FOLLOW_literal_in_call_site_extra_arguments1871 = new BitSet(new long[]{0x0000008000819908L,0x0007C00080000000L,0x2080000000000001L,0x0000000000888408L}); 8405 public static final BitSet FOLLOW_I_ORDERED_METHOD_ITEMS_in_ordered_method_items1887 = new BitSet(new long[]{0x0000000000000004L}); 8406 public static final BitSet FOLLOW_label_def_in_ordered_method_items1890 = new BitSet(new long[]{0x0000000000000008L,0x1C18000000000000L,0x007FFFFFFFFFB100L}); 8407 public static final BitSet FOLLOW_instruction_in_ordered_method_items1894 = new BitSet(new long[]{0x0000000000000008L,0x1C18000000000000L,0x007FFFFFFFFFB100L}); 8408 public static final BitSet FOLLOW_debug_directive_in_ordered_method_items1898 = new BitSet(new long[]{0x0000000000000008L,0x1C18000000000000L,0x007FFFFFFFFFB100L}); 8409 public static final BitSet FOLLOW_SIMPLE_NAME_in_label_ref1914 = new BitSet(new long[]{0x0000000000000002L}); 8410 public static final BitSet FOLLOW_I_REGISTER_LIST_in_register_list1939 = new BitSet(new long[]{0x0000000000000004L}); 8411 public static final BitSet FOLLOW_REGISTER_in_register_list1948 = new BitSet(new long[]{0x0000000000000008L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8412 public static final BitSet FOLLOW_I_REGISTER_RANGE_in_register_range1973 = new BitSet(new long[]{0x0000000000000004L}); 8413 public static final BitSet FOLLOW_REGISTER_in_register_range1978 = new BitSet(new long[]{0x0000000000000008L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8414 public static final BitSet FOLLOW_REGISTER_in_register_range1982 = new BitSet(new long[]{0x0000000000000008L}); 8415 public static final BitSet FOLLOW_CLASS_DESCRIPTOR_in_verification_error_reference2005 = new BitSet(new long[]{0x0000000000000002L}); 8416 public static final BitSet FOLLOW_field_reference_in_verification_error_reference2015 = new BitSet(new long[]{0x0000000000000002L}); 8417 public static final BitSet FOLLOW_method_reference_in_verification_error_reference2025 = new BitSet(new long[]{0x0000000000000002L}); 8418 public static final BitSet FOLLOW_VERIFICATION_ERROR_TYPE_in_verification_error_type2042 = new BitSet(new long[]{0x0000000000000002L}); 8419 public static final BitSet FOLLOW_insn_format10t_in_instruction2056 = new BitSet(new long[]{0x0000000000000002L}); 8420 public static final BitSet FOLLOW_insn_format10x_in_instruction2062 = new BitSet(new long[]{0x0000000000000002L}); 8421 public static final BitSet FOLLOW_insn_format11n_in_instruction2068 = new BitSet(new long[]{0x0000000000000002L}); 8422 public static final BitSet FOLLOW_insn_format11x_in_instruction2074 = new BitSet(new long[]{0x0000000000000002L}); 8423 public static final BitSet FOLLOW_insn_format12x_in_instruction2080 = new BitSet(new long[]{0x0000000000000002L}); 8424 public static final BitSet FOLLOW_insn_format20bc_in_instruction2086 = new BitSet(new long[]{0x0000000000000002L}); 8425 public static final BitSet FOLLOW_insn_format20t_in_instruction2092 = new BitSet(new long[]{0x0000000000000002L}); 8426 public static final BitSet FOLLOW_insn_format21c_field_in_instruction2098 = new BitSet(new long[]{0x0000000000000002L}); 8427 public static final BitSet FOLLOW_insn_format21c_method_handle_in_instruction2104 = new BitSet(new long[]{0x0000000000000002L}); 8428 public static final BitSet FOLLOW_insn_format21c_method_type_in_instruction2110 = new BitSet(new long[]{0x0000000000000002L}); 8429 public static final BitSet FOLLOW_insn_format21c_string_in_instruction2116 = new BitSet(new long[]{0x0000000000000002L}); 8430 public static final BitSet FOLLOW_insn_format21c_type_in_instruction2122 = new BitSet(new long[]{0x0000000000000002L}); 8431 public static final BitSet FOLLOW_insn_format21ih_in_instruction2128 = new BitSet(new long[]{0x0000000000000002L}); 8432 public static final BitSet FOLLOW_insn_format21lh_in_instruction2134 = new BitSet(new long[]{0x0000000000000002L}); 8433 public static final BitSet FOLLOW_insn_format21s_in_instruction2140 = new BitSet(new long[]{0x0000000000000002L}); 8434 public static final BitSet FOLLOW_insn_format21t_in_instruction2146 = new BitSet(new long[]{0x0000000000000002L}); 8435 public static final BitSet FOLLOW_insn_format22b_in_instruction2152 = new BitSet(new long[]{0x0000000000000002L}); 8436 public static final BitSet FOLLOW_insn_format22c_field_in_instruction2158 = new BitSet(new long[]{0x0000000000000002L}); 8437 public static final BitSet FOLLOW_insn_format22c_type_in_instruction2164 = new BitSet(new long[]{0x0000000000000002L}); 8438 public static final BitSet FOLLOW_insn_format22s_in_instruction2170 = new BitSet(new long[]{0x0000000000000002L}); 8439 public static final BitSet FOLLOW_insn_format22t_in_instruction2176 = new BitSet(new long[]{0x0000000000000002L}); 8440 public static final BitSet FOLLOW_insn_format22x_in_instruction2182 = new BitSet(new long[]{0x0000000000000002L}); 8441 public static final BitSet FOLLOW_insn_format23x_in_instruction2188 = new BitSet(new long[]{0x0000000000000002L}); 8442 public static final BitSet FOLLOW_insn_format30t_in_instruction2194 = new BitSet(new long[]{0x0000000000000002L}); 8443 public static final BitSet FOLLOW_insn_format31c_in_instruction2200 = new BitSet(new long[]{0x0000000000000002L}); 8444 public static final BitSet FOLLOW_insn_format31i_in_instruction2206 = new BitSet(new long[]{0x0000000000000002L}); 8445 public static final BitSet FOLLOW_insn_format31t_in_instruction2212 = new BitSet(new long[]{0x0000000000000002L}); 8446 public static final BitSet FOLLOW_insn_format32x_in_instruction2218 = new BitSet(new long[]{0x0000000000000002L}); 8447 public static final BitSet FOLLOW_insn_format35c_call_site_in_instruction2224 = new BitSet(new long[]{0x0000000000000002L}); 8448 public static final BitSet FOLLOW_insn_format35c_method_in_instruction2230 = new BitSet(new long[]{0x0000000000000002L}); 8449 public static final BitSet FOLLOW_insn_format35c_type_in_instruction2236 = new BitSet(new long[]{0x0000000000000002L}); 8450 public static final BitSet FOLLOW_insn_format3rc_call_site_in_instruction2242 = new BitSet(new long[]{0x0000000000000002L}); 8451 public static final BitSet FOLLOW_insn_format3rc_method_in_instruction2248 = new BitSet(new long[]{0x0000000000000002L}); 8452 public static final BitSet FOLLOW_insn_format3rc_type_in_instruction2254 = new BitSet(new long[]{0x0000000000000002L}); 8453 public static final BitSet FOLLOW_insn_format45cc_method_in_instruction2260 = new BitSet(new long[]{0x0000000000000002L}); 8454 public static final BitSet FOLLOW_insn_format4rcc_method_in_instruction2266 = new BitSet(new long[]{0x0000000000000002L}); 8455 public static final BitSet FOLLOW_insn_format51l_type_in_instruction2272 = new BitSet(new long[]{0x0000000000000002L}); 8456 public static final BitSet FOLLOW_insn_array_data_directive_in_instruction2278 = new BitSet(new long[]{0x0000000000000002L}); 8457 public static final BitSet FOLLOW_insn_packed_switch_directive_in_instruction2284 = new BitSet(new long[]{0x0000000000000002L}); 8458 public static final BitSet FOLLOW_insn_sparse_switch_directive_in_instruction2290 = new BitSet(new long[]{0x0000000000000002L}); 8459 public static final BitSet FOLLOW_I_STATEMENT_FORMAT10t_in_insn_format10t2314 = new BitSet(new long[]{0x0000000000000004L}); 8460 public static final BitSet FOLLOW_INSTRUCTION_FORMAT10t_in_insn_format10t2316 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8461 public static final BitSet FOLLOW_label_ref_in_insn_format10t2318 = new BitSet(new long[]{0x0000000000000008L}); 8462 public static final BitSet FOLLOW_I_STATEMENT_FORMAT10x_in_insn_format10x2341 = new BitSet(new long[]{0x0000000000000004L}); 8463 public static final BitSet FOLLOW_INSTRUCTION_FORMAT10x_in_insn_format10x2343 = new BitSet(new long[]{0x0000000000000008L}); 8464 public static final BitSet FOLLOW_I_STATEMENT_FORMAT11n_in_insn_format11n2366 = new BitSet(new long[]{0x0000000000000004L}); 8465 public static final BitSet FOLLOW_INSTRUCTION_FORMAT11n_in_insn_format11n2368 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8466 public static final BitSet FOLLOW_REGISTER_in_insn_format11n2370 = new BitSet(new long[]{0x0000000000009000L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8467 public static final BitSet FOLLOW_short_integral_literal_in_insn_format11n2372 = new BitSet(new long[]{0x0000000000000008L}); 8468 public static final BitSet FOLLOW_I_STATEMENT_FORMAT11x_in_insn_format11x2395 = new BitSet(new long[]{0x0000000000000004L}); 8469 public static final BitSet FOLLOW_INSTRUCTION_FORMAT11x_in_insn_format11x2397 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8470 public static final BitSet FOLLOW_REGISTER_in_insn_format11x2399 = new BitSet(new long[]{0x0000000000000008L}); 8471 public static final BitSet FOLLOW_I_STATEMENT_FORMAT12x_in_insn_format12x2422 = new BitSet(new long[]{0x0000000000000004L}); 8472 public static final BitSet FOLLOW_INSTRUCTION_FORMAT12x_in_insn_format12x2424 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8473 public static final BitSet FOLLOW_REGISTER_in_insn_format12x2428 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8474 public static final BitSet FOLLOW_REGISTER_in_insn_format12x2432 = new BitSet(new long[]{0x0000000000000008L}); 8475 public static final BitSet FOLLOW_I_STATEMENT_FORMAT20bc_in_insn_format20bc2455 = new BitSet(new long[]{0x0000000000000004L}); 8476 public static final BitSet FOLLOW_INSTRUCTION_FORMAT20bc_in_insn_format20bc2457 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000400000L}); 8477 public static final BitSet FOLLOW_verification_error_type_in_insn_format20bc2459 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8478 public static final BitSet FOLLOW_verification_error_reference_in_insn_format20bc2461 = new BitSet(new long[]{0x0000000000000008L}); 8479 public static final BitSet FOLLOW_I_STATEMENT_FORMAT20t_in_insn_format20t2484 = new BitSet(new long[]{0x0000000000000004L}); 8480 public static final BitSet FOLLOW_INSTRUCTION_FORMAT20t_in_insn_format20t2486 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8481 public static final BitSet FOLLOW_label_ref_in_insn_format20t2488 = new BitSet(new long[]{0x0000000000000008L}); 8482 public static final BitSet FOLLOW_I_STATEMENT_FORMAT21c_FIELD_in_insn_format21c_field2511 = new BitSet(new long[]{0x0000000000000004L}); 8483 public static final BitSet FOLLOW_set_in_insn_format21c_field2515 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8484 public static final BitSet FOLLOW_REGISTER_in_insn_format21c_field2523 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8485 public static final BitSet FOLLOW_field_reference_in_insn_format21c_field2525 = new BitSet(new long[]{0x0000000000000008L}); 8486 public static final BitSet FOLLOW_I_STATEMENT_FORMAT21c_METHOD_HANDLE_in_insn_format21c_method_handle2548 = new BitSet(new long[]{0x0000000000000004L}); 8487 public static final BitSet FOLLOW_INSTRUCTION_FORMAT21c_METHOD_HANDLE_in_insn_format21c_method_handle2553 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8488 public static final BitSet FOLLOW_REGISTER_in_insn_format21c_method_handle2556 = new BitSet(new long[]{0x0000000000000000L,0x0000000000040000L,0x0000000000000000L,0x0000000000000003L}); 8489 public static final BitSet FOLLOW_method_handle_reference_in_insn_format21c_method_handle2558 = new BitSet(new long[]{0x0000000000000008L}); 8490 public static final BitSet FOLLOW_I_STATEMENT_FORMAT21c_METHOD_TYPE_in_insn_format21c_method_type2581 = new BitSet(new long[]{0x0000000000000004L}); 8491 public static final BitSet FOLLOW_INSTRUCTION_FORMAT21c_METHOD_TYPE_in_insn_format21c_method_type2586 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8492 public static final BitSet FOLLOW_REGISTER_in_insn_format21c_method_type2589 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000001L}); 8493 public static final BitSet FOLLOW_method_prototype_in_insn_format21c_method_type2591 = new BitSet(new long[]{0x0000000000000008L}); 8494 public static final BitSet FOLLOW_I_STATEMENT_FORMAT21c_STRING_in_insn_format21c_string2614 = new BitSet(new long[]{0x0000000000000004L}); 8495 public static final BitSet FOLLOW_INSTRUCTION_FORMAT21c_STRING_in_insn_format21c_string2616 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8496 public static final BitSet FOLLOW_REGISTER_in_insn_format21c_string2618 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000080000L}); 8497 public static final BitSet FOLLOW_string_literal_in_insn_format21c_string2620 = new BitSet(new long[]{0x0000000000000008L}); 8498 public static final BitSet FOLLOW_I_STATEMENT_FORMAT21c_TYPE_in_insn_format21c_type2643 = new BitSet(new long[]{0x0000000000000004L}); 8499 public static final BitSet FOLLOW_INSTRUCTION_FORMAT21c_TYPE_in_insn_format21c_type2645 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8500 public static final BitSet FOLLOW_REGISTER_in_insn_format21c_type2647 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8501 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_insn_format21c_type2649 = new BitSet(new long[]{0x0000000000000008L}); 8502 public static final BitSet FOLLOW_I_STATEMENT_FORMAT21ih_in_insn_format21ih2672 = new BitSet(new long[]{0x0000000000000004L}); 8503 public static final BitSet FOLLOW_INSTRUCTION_FORMAT21ih_in_insn_format21ih2674 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8504 public static final BitSet FOLLOW_REGISTER_in_insn_format21ih2676 = new BitSet(new long[]{0x0000008000009800L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8505 public static final BitSet FOLLOW_fixed_32bit_literal_in_insn_format21ih2678 = new BitSet(new long[]{0x0000000000000008L}); 8506 public static final BitSet FOLLOW_I_STATEMENT_FORMAT21lh_in_insn_format21lh2701 = new BitSet(new long[]{0x0000000000000004L}); 8507 public static final BitSet FOLLOW_INSTRUCTION_FORMAT21lh_in_insn_format21lh2703 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8508 public static final BitSet FOLLOW_REGISTER_in_insn_format21lh2705 = new BitSet(new long[]{0x0000008000809800L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8509 public static final BitSet FOLLOW_fixed_64bit_literal_in_insn_format21lh2707 = new BitSet(new long[]{0x0000000000000008L}); 8510 public static final BitSet FOLLOW_I_STATEMENT_FORMAT21s_in_insn_format21s2730 = new BitSet(new long[]{0x0000000000000004L}); 8511 public static final BitSet FOLLOW_INSTRUCTION_FORMAT21s_in_insn_format21s2732 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8512 public static final BitSet FOLLOW_REGISTER_in_insn_format21s2734 = new BitSet(new long[]{0x0000000000009000L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8513 public static final BitSet FOLLOW_short_integral_literal_in_insn_format21s2736 = new BitSet(new long[]{0x0000000000000008L}); 8514 public static final BitSet FOLLOW_I_STATEMENT_FORMAT21t_in_insn_format21t2759 = new BitSet(new long[]{0x0000000000000004L}); 8515 public static final BitSet FOLLOW_INSTRUCTION_FORMAT21t_in_insn_format21t2761 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8516 public static final BitSet FOLLOW_REGISTER_in_insn_format21t2763 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8517 public static final BitSet FOLLOW_label_ref_in_insn_format21t2765 = new BitSet(new long[]{0x0000000000000008L}); 8518 public static final BitSet FOLLOW_I_STATEMENT_FORMAT22b_in_insn_format22b2788 = new BitSet(new long[]{0x0000000000000004L}); 8519 public static final BitSet FOLLOW_INSTRUCTION_FORMAT22b_in_insn_format22b2790 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8520 public static final BitSet FOLLOW_REGISTER_in_insn_format22b2794 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8521 public static final BitSet FOLLOW_REGISTER_in_insn_format22b2798 = new BitSet(new long[]{0x0000000000009000L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8522 public static final BitSet FOLLOW_short_integral_literal_in_insn_format22b2800 = new BitSet(new long[]{0x0000000000000008L}); 8523 public static final BitSet FOLLOW_I_STATEMENT_FORMAT22c_FIELD_in_insn_format22c_field2823 = new BitSet(new long[]{0x0000000000000004L}); 8524 public static final BitSet FOLLOW_set_in_insn_format22c_field2827 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8525 public static final BitSet FOLLOW_REGISTER_in_insn_format22c_field2837 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8526 public static final BitSet FOLLOW_REGISTER_in_insn_format22c_field2841 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8527 public static final BitSet FOLLOW_field_reference_in_insn_format22c_field2843 = new BitSet(new long[]{0x0000000000000008L}); 8528 public static final BitSet FOLLOW_I_STATEMENT_FORMAT22c_TYPE_in_insn_format22c_type2866 = new BitSet(new long[]{0x0000000000000004L}); 8529 public static final BitSet FOLLOW_INSTRUCTION_FORMAT22c_TYPE_in_insn_format22c_type2868 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8530 public static final BitSet FOLLOW_REGISTER_in_insn_format22c_type2872 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8531 public static final BitSet FOLLOW_REGISTER_in_insn_format22c_type2876 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8532 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_insn_format22c_type2878 = new BitSet(new long[]{0x0000000000000008L}); 8533 public static final BitSet FOLLOW_I_STATEMENT_FORMAT22s_in_insn_format22s2901 = new BitSet(new long[]{0x0000000000000004L}); 8534 public static final BitSet FOLLOW_INSTRUCTION_FORMAT22s_in_insn_format22s2903 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8535 public static final BitSet FOLLOW_REGISTER_in_insn_format22s2907 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8536 public static final BitSet FOLLOW_REGISTER_in_insn_format22s2911 = new BitSet(new long[]{0x0000000000009000L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8537 public static final BitSet FOLLOW_short_integral_literal_in_insn_format22s2913 = new BitSet(new long[]{0x0000000000000008L}); 8538 public static final BitSet FOLLOW_I_STATEMENT_FORMAT22t_in_insn_format22t2936 = new BitSet(new long[]{0x0000000000000004L}); 8539 public static final BitSet FOLLOW_INSTRUCTION_FORMAT22t_in_insn_format22t2938 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8540 public static final BitSet FOLLOW_REGISTER_in_insn_format22t2942 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8541 public static final BitSet FOLLOW_REGISTER_in_insn_format22t2946 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8542 public static final BitSet FOLLOW_label_ref_in_insn_format22t2948 = new BitSet(new long[]{0x0000000000000008L}); 8543 public static final BitSet FOLLOW_I_STATEMENT_FORMAT22x_in_insn_format22x2971 = new BitSet(new long[]{0x0000000000000004L}); 8544 public static final BitSet FOLLOW_INSTRUCTION_FORMAT22x_in_insn_format22x2973 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8545 public static final BitSet FOLLOW_REGISTER_in_insn_format22x2977 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8546 public static final BitSet FOLLOW_REGISTER_in_insn_format22x2981 = new BitSet(new long[]{0x0000000000000008L}); 8547 public static final BitSet FOLLOW_I_STATEMENT_FORMAT23x_in_insn_format23x3004 = new BitSet(new long[]{0x0000000000000004L}); 8548 public static final BitSet FOLLOW_INSTRUCTION_FORMAT23x_in_insn_format23x3006 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8549 public static final BitSet FOLLOW_REGISTER_in_insn_format23x3010 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8550 public static final BitSet FOLLOW_REGISTER_in_insn_format23x3014 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8551 public static final BitSet FOLLOW_REGISTER_in_insn_format23x3018 = new BitSet(new long[]{0x0000000000000008L}); 8552 public static final BitSet FOLLOW_I_STATEMENT_FORMAT30t_in_insn_format30t3041 = new BitSet(new long[]{0x0000000000000004L}); 8553 public static final BitSet FOLLOW_INSTRUCTION_FORMAT30t_in_insn_format30t3043 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8554 public static final BitSet FOLLOW_label_ref_in_insn_format30t3045 = new BitSet(new long[]{0x0000000000000008L}); 8555 public static final BitSet FOLLOW_I_STATEMENT_FORMAT31c_in_insn_format31c3068 = new BitSet(new long[]{0x0000000000000004L}); 8556 public static final BitSet FOLLOW_INSTRUCTION_FORMAT31c_in_insn_format31c3070 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8557 public static final BitSet FOLLOW_REGISTER_in_insn_format31c3072 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000080000L}); 8558 public static final BitSet FOLLOW_string_literal_in_insn_format31c3074 = new BitSet(new long[]{0x0000000000000008L}); 8559 public static final BitSet FOLLOW_I_STATEMENT_FORMAT31i_in_insn_format31i3097 = new BitSet(new long[]{0x0000000000000004L}); 8560 public static final BitSet FOLLOW_INSTRUCTION_FORMAT31i_in_insn_format31i3099 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8561 public static final BitSet FOLLOW_REGISTER_in_insn_format31i3101 = new BitSet(new long[]{0x0000008000009800L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8562 public static final BitSet FOLLOW_fixed_32bit_literal_in_insn_format31i3103 = new BitSet(new long[]{0x0000000000000008L}); 8563 public static final BitSet FOLLOW_I_STATEMENT_FORMAT31t_in_insn_format31t3126 = new BitSet(new long[]{0x0000000000000004L}); 8564 public static final BitSet FOLLOW_INSTRUCTION_FORMAT31t_in_insn_format31t3128 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8565 public static final BitSet FOLLOW_REGISTER_in_insn_format31t3130 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8566 public static final BitSet FOLLOW_label_ref_in_insn_format31t3132 = new BitSet(new long[]{0x0000000000000008L}); 8567 public static final BitSet FOLLOW_I_STATEMENT_FORMAT32x_in_insn_format32x3155 = new BitSet(new long[]{0x0000000000000004L}); 8568 public static final BitSet FOLLOW_INSTRUCTION_FORMAT32x_in_insn_format32x3157 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8569 public static final BitSet FOLLOW_REGISTER_in_insn_format32x3161 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8570 public static final BitSet FOLLOW_REGISTER_in_insn_format32x3165 = new BitSet(new long[]{0x0000000000000008L}); 8571 public static final BitSet FOLLOW_I_STATEMENT_FORMAT35c_CALL_SITE_in_insn_format35c_call_site3193 = new BitSet(new long[]{0x0000000000000004L}); 8572 public static final BitSet FOLLOW_INSTRUCTION_FORMAT35c_CALL_SITE_in_insn_format35c_call_site3195 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8573 public static final BitSet FOLLOW_register_list_in_insn_format35c_call_site3197 = new BitSet(new long[]{0x0000000000000000L,0x0000020000000000L}); 8574 public static final BitSet FOLLOW_call_site_reference_in_insn_format35c_call_site3199 = new BitSet(new long[]{0x0000000000000008L}); 8575 public static final BitSet FOLLOW_I_STATEMENT_FORMAT35c_METHOD_in_insn_format35c_method3222 = new BitSet(new long[]{0x0000000000000004L}); 8576 public static final BitSet FOLLOW_INSTRUCTION_FORMAT35c_METHOD_in_insn_format35c_method3224 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8577 public static final BitSet FOLLOW_register_list_in_insn_format35c_method3226 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8578 public static final BitSet FOLLOW_method_reference_in_insn_format35c_method3228 = new BitSet(new long[]{0x0000000000000008L}); 8579 public static final BitSet FOLLOW_I_STATEMENT_FORMAT35c_TYPE_in_insn_format35c_type3251 = new BitSet(new long[]{0x0000000000000004L}); 8580 public static final BitSet FOLLOW_INSTRUCTION_FORMAT35c_TYPE_in_insn_format35c_type3253 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8581 public static final BitSet FOLLOW_register_list_in_insn_format35c_type3255 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8582 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_insn_format35c_type3257 = new BitSet(new long[]{0x0000000000000008L}); 8583 public static final BitSet FOLLOW_I_STATEMENT_FORMAT3rc_CALL_SITE_in_insn_format3rc_call_site3285 = new BitSet(new long[]{0x0000000000000004L}); 8584 public static final BitSet FOLLOW_INSTRUCTION_FORMAT3rc_CALL_SITE_in_insn_format3rc_call_site3287 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000800L}); 8585 public static final BitSet FOLLOW_register_range_in_insn_format3rc_call_site3289 = new BitSet(new long[]{0x0000000000000000L,0x0000020000000000L}); 8586 public static final BitSet FOLLOW_call_site_reference_in_insn_format3rc_call_site3291 = new BitSet(new long[]{0x0000000000000008L}); 8587 public static final BitSet FOLLOW_I_STATEMENT_FORMAT3rc_METHOD_in_insn_format3rc_method3314 = new BitSet(new long[]{0x0000000000000004L}); 8588 public static final BitSet FOLLOW_INSTRUCTION_FORMAT3rc_METHOD_in_insn_format3rc_method3316 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000800L}); 8589 public static final BitSet FOLLOW_register_range_in_insn_format3rc_method3318 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8590 public static final BitSet FOLLOW_method_reference_in_insn_format3rc_method3320 = new BitSet(new long[]{0x0000000000000008L}); 8591 public static final BitSet FOLLOW_I_STATEMENT_FORMAT3rc_TYPE_in_insn_format3rc_type3343 = new BitSet(new long[]{0x0000000000000004L}); 8592 public static final BitSet FOLLOW_INSTRUCTION_FORMAT3rc_TYPE_in_insn_format3rc_type3345 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000800L}); 8593 public static final BitSet FOLLOW_register_range_in_insn_format3rc_type3347 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8594 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_insn_format3rc_type3349 = new BitSet(new long[]{0x0000000000000008L}); 8595 public static final BitSet FOLLOW_I_STATEMENT_FORMAT45cc_METHOD_in_insn_format45cc_method3372 = new BitSet(new long[]{0x0000000000000004L}); 8596 public static final BitSet FOLLOW_INSTRUCTION_FORMAT45cc_METHOD_in_insn_format45cc_method3374 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8597 public static final BitSet FOLLOW_register_list_in_insn_format45cc_method3376 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8598 public static final BitSet FOLLOW_method_reference_in_insn_format45cc_method3378 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000001L}); 8599 public static final BitSet FOLLOW_method_prototype_in_insn_format45cc_method3380 = new BitSet(new long[]{0x0000000000000008L}); 8600 public static final BitSet FOLLOW_I_STATEMENT_FORMAT4rcc_METHOD_in_insn_format4rcc_method3403 = new BitSet(new long[]{0x0000000000000004L}); 8601 public static final BitSet FOLLOW_INSTRUCTION_FORMAT4rcc_METHOD_in_insn_format4rcc_method3405 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000800L}); 8602 public static final BitSet FOLLOW_register_range_in_insn_format4rcc_method3407 = new BitSet(new long[]{0x0000000000010100L,0x0000000000000000L,0x0000000000000000L,0x0000000000010000L}); 8603 public static final BitSet FOLLOW_method_reference_in_insn_format4rcc_method3409 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000001L}); 8604 public static final BitSet FOLLOW_method_prototype_in_insn_format4rcc_method3411 = new BitSet(new long[]{0x0000000000000008L}); 8605 public static final BitSet FOLLOW_I_STATEMENT_FORMAT51l_in_insn_format51l_type3434 = new BitSet(new long[]{0x0000000000000004L}); 8606 public static final BitSet FOLLOW_INSTRUCTION_FORMAT51l_in_insn_format51l_type3436 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000000L,0x0000000000001000L}); 8607 public static final BitSet FOLLOW_REGISTER_in_insn_format51l_type3438 = new BitSet(new long[]{0x0000008000809800L,0x0000000080000000L,0x2000000000000000L,0x0000000000008000L}); 8608 public static final BitSet FOLLOW_fixed_64bit_literal_in_insn_format51l_type3440 = new BitSet(new long[]{0x0000000000000008L}); 8609 public static final BitSet FOLLOW_I_STATEMENT_ARRAY_DATA_in_insn_array_data_directive3463 = new BitSet(new long[]{0x0000000000000004L}); 8610 public static final BitSet FOLLOW_I_ARRAY_ELEMENT_SIZE_in_insn_array_data_directive3466 = new BitSet(new long[]{0x0000000000000004L}); 8611 public static final BitSet FOLLOW_short_integral_literal_in_insn_array_data_directive3468 = new BitSet(new long[]{0x0000000000000008L}); 8612 public static final BitSet FOLLOW_array_elements_in_insn_array_data_directive3471 = new BitSet(new long[]{0x0000000000000008L}); 8613 public static final BitSet FOLLOW_I_STATEMENT_PACKED_SWITCH_in_insn_packed_switch_directive3493 = new BitSet(new long[]{0x0000000000000004L}); 8614 public static final BitSet FOLLOW_I_PACKED_SWITCH_START_KEY_in_insn_packed_switch_directive3496 = new BitSet(new long[]{0x0000000000000004L}); 8615 public static final BitSet FOLLOW_fixed_32bit_literal_in_insn_packed_switch_directive3498 = new BitSet(new long[]{0x0000000000000008L}); 8616 public static final BitSet FOLLOW_packed_switch_elements_in_insn_packed_switch_directive3501 = new BitSet(new long[]{0x0000000000000008L}); 8617 public static final BitSet FOLLOW_I_STATEMENT_SPARSE_SWITCH_in_insn_sparse_switch_directive3525 = new BitSet(new long[]{0x0000000000000004L}); 8618 public static final BitSet FOLLOW_sparse_switch_elements_in_insn_sparse_switch_directive3527 = new BitSet(new long[]{0x0000000000000008L}); 8619 public static final BitSet FOLLOW_ARRAY_TYPE_PREFIX_in_array_descriptor3548 = new BitSet(new long[]{0x0000000000010000L,0x0000000000000000L,0x0000000000000000L,0x0000000000000400L}); 8620 public static final BitSet FOLLOW_PRIMITIVE_TYPE_in_array_descriptor3552 = new BitSet(new long[]{0x0000000000000002L}); 8621 public static final BitSet FOLLOW_CLASS_DESCRIPTOR_in_array_descriptor3580 = new BitSet(new long[]{0x0000000000000002L}); 8622 public static final BitSet FOLLOW_PRIMITIVE_TYPE_in_nonvoid_type_descriptor3598 = new BitSet(new long[]{0x0000000000000002L}); 8623 public static final BitSet FOLLOW_CLASS_DESCRIPTOR_in_nonvoid_type_descriptor3606 = new BitSet(new long[]{0x0000000000000002L}); 8624 public static final BitSet FOLLOW_array_descriptor_in_nonvoid_type_descriptor3614 = new BitSet(new long[]{0x0000000000000002L}); 8625 public static final BitSet FOLLOW_CLASS_DESCRIPTOR_in_reference_type_descriptor3635 = new BitSet(new long[]{0x0000000000000002L}); 8626 public static final BitSet FOLLOW_array_descriptor_in_reference_type_descriptor3643 = new BitSet(new long[]{0x0000000000000002L}); 8627 public static final BitSet FOLLOW_VOID_TYPE_in_type_descriptor3663 = new BitSet(new long[]{0x0000000000000002L}); 8628 public static final BitSet FOLLOW_nonvoid_type_descriptor_in_type_descriptor3671 = new BitSet(new long[]{0x0000000000000002L}); 8629 public static final BitSet FOLLOW_long_literal_in_short_integral_literal3689 = new BitSet(new long[]{0x0000000000000002L}); 8630 public static final BitSet FOLLOW_integer_literal_in_short_integral_literal3701 = new BitSet(new long[]{0x0000000000000002L}); 8631 public static final BitSet FOLLOW_short_literal_in_short_integral_literal3713 = new BitSet(new long[]{0x0000000000000002L}); 8632 public static final BitSet FOLLOW_char_literal_in_short_integral_literal3721 = new BitSet(new long[]{0x0000000000000002L}); 8633 public static final BitSet FOLLOW_byte_literal_in_short_integral_literal3729 = new BitSet(new long[]{0x0000000000000002L}); 8634 public static final BitSet FOLLOW_long_literal_in_integral_literal3744 = new BitSet(new long[]{0x0000000000000002L}); 8635 public static final BitSet FOLLOW_integer_literal_in_integral_literal3756 = new BitSet(new long[]{0x0000000000000002L}); 8636 public static final BitSet FOLLOW_short_literal_in_integral_literal3764 = new BitSet(new long[]{0x0000000000000002L}); 8637 public static final BitSet FOLLOW_byte_literal_in_integral_literal3772 = new BitSet(new long[]{0x0000000000000002L}); 8638 public static final BitSet FOLLOW_INTEGER_LITERAL_in_integer_literal3788 = new BitSet(new long[]{0x0000000000000002L}); 8639 public static final BitSet FOLLOW_LONG_LITERAL_in_long_literal3803 = new BitSet(new long[]{0x0000000000000002L}); 8640 public static final BitSet FOLLOW_SHORT_LITERAL_in_short_literal3818 = new BitSet(new long[]{0x0000000000000002L}); 8641 public static final BitSet FOLLOW_BYTE_LITERAL_in_byte_literal3833 = new BitSet(new long[]{0x0000000000000002L}); 8642 public static final BitSet FOLLOW_FLOAT_LITERAL_in_float_literal3848 = new BitSet(new long[]{0x0000000000000002L}); 8643 public static final BitSet FOLLOW_DOUBLE_LITERAL_in_double_literal3863 = new BitSet(new long[]{0x0000000000000002L}); 8644 public static final BitSet FOLLOW_CHAR_LITERAL_in_char_literal3878 = new BitSet(new long[]{0x0000000000000002L}); 8645 public static final BitSet FOLLOW_STRING_LITERAL_in_string_literal3893 = new BitSet(new long[]{0x0000000000000002L}); 8646 public static final BitSet FOLLOW_BOOL_LITERAL_in_bool_literal3912 = new BitSet(new long[]{0x0000000000000002L}); 8647 public static final BitSet FOLLOW_I_ENCODED_ARRAY_in_array_literal3934 = new BitSet(new long[]{0x0000000000000004L}); 8648 public static final BitSet FOLLOW_literal_in_array_literal3937 = new BitSet(new long[]{0x0000008000819908L,0x0007C00080000000L,0x2080000000000001L,0x0000000000888408L}); 8649 public static final BitSet FOLLOW_I_ANNOTATIONS_in_annotations3962 = new BitSet(new long[]{0x0000000000000004L}); 8650 public static final BitSet FOLLOW_annotation_in_annotations3965 = new BitSet(new long[]{0x0000000000000008L,0x0000000800000000L}); 8651 public static final BitSet FOLLOW_I_ANNOTATION_in_annotation3994 = new BitSet(new long[]{0x0000000000000004L}); 8652 public static final BitSet FOLLOW_ANNOTATION_VISIBILITY_in_annotation3996 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0080000000000000L}); 8653 public static final BitSet FOLLOW_subannotation_in_annotation3998 = new BitSet(new long[]{0x0000000000000008L}); 8654 public static final BitSet FOLLOW_I_ANNOTATION_ELEMENT_in_annotation_element4019 = new BitSet(new long[]{0x0000000000000004L}); 8655 public static final BitSet FOLLOW_SIMPLE_NAME_in_annotation_element4021 = new BitSet(new long[]{0x0000008000819900L,0x0007C00080000000L,0x2080000000000001L,0x0000000000888408L}); 8656 public static final BitSet FOLLOW_literal_in_annotation_element4023 = new BitSet(new long[]{0x0000000000000008L}); 8657 public static final BitSet FOLLOW_I_SUBANNOTATION_in_subannotation4050 = new BitSet(new long[]{0x0000000000000004L}); 8658 public static final BitSet FOLLOW_CLASS_DESCRIPTOR_in_subannotation4060 = new BitSet(new long[]{0x0000000000000008L,0x0000002000000000L}); 8659 public static final BitSet FOLLOW_annotation_element_in_subannotation4071 = new BitSet(new long[]{0x0000000000000008L,0x0000002000000000L}); 8660 public static final BitSet FOLLOW_I_ENCODED_FIELD_in_field_literal4110 = new BitSet(new long[]{0x0000000000000004L}); 8661 public static final BitSet FOLLOW_field_reference_in_field_literal4112 = new BitSet(new long[]{0x0000000000000008L}); 8662 public static final BitSet FOLLOW_I_ENCODED_METHOD_in_method_literal4133 = new BitSet(new long[]{0x0000000000000004L}); 8663 public static final BitSet FOLLOW_method_reference_in_method_literal4135 = new BitSet(new long[]{0x0000000000000008L}); 8664 public static final BitSet FOLLOW_I_ENCODED_ENUM_in_enum_literal4156 = new BitSet(new long[]{0x0000000000000004L}); 8665 public static final BitSet FOLLOW_field_reference_in_enum_literal4158 = new BitSet(new long[]{0x0000000000000008L}); 8666 } 8667