文本文件  |  236行  |  8.4 KB

smali.FILE
  SmaliClass(CLASS)
    SmaliExtendsList(EXTENDS_LIST)
      <empty list>
    SmaliImplementsList(IMPLEMENTS_LIST)
      <empty list>
    SmaliMethod(METHOD)
      SmaliThrowsList(THROWS_LIST)
        <empty list>
      PsiElement(METHOD_DIRECTIVE)('.method')
      PsiWhiteSpace(' ')
      SmaliModifierList(MODIFIER_LIST)
        <empty list>
      PsiElement(MEMBER_NAME)
        PsiElement(SIMPLE_NAME)('blah')
      SmaliMethodPrototype(METHOD_PROTOTYPE)
        PsiElement(OPEN_PAREN)('(')
        SmaliMethodParamList(METHOD_PARAM_LIST)
          <empty list>
        PsiElement(CLOSE_PAREN)(')')
        PsiElement(VOID_TYPE)
          PsiElement(VOID_TYPE)('V')
      PsiWhiteSpace('\n')
      PsiElement(REGISTERS_STATEMENT)
        PsiElement(REGISTERS_DIRECTIVE)('.registers')
        PsiWhiteSpace(' ')
        PsiElement(LITERAL)
          PsiElement(POSITIVE_INTEGER_LITERAL)('1')
      PsiWhiteSpace('\n')
      PsiElement(INSTRUCTION)
        PsiElement(INSTRUCTION_FORMAT35c_METHOD)('invoke-virtual')
        PsiWhiteSpace(' ')
        PsiErrorElement:mismatched input '.blah' expecting OPEN_BRACE
          PsiElement(BAD_CHARACTER)('.blah')
        PsiWhiteSpace(' ')
        PsiElement(REGISTER_REFERENCE)
          PsiElement(REGISTER)('v0')
        PsiElement(CLOSE_BRACE)('}')
        PsiElement(COMMA)(',')
        PsiWhiteSpace(' ')
        PsiElement(METHOD_REFERENCE)
          PsiElement(CLASS_TYPE)
            PsiElement(CLASS_DESCRIPTOR)('Lblah;')
          PsiElement(ARROW)('->')
          PsiElement(MEMBER_NAME)
            PsiElement(SIMPLE_NAME)('blah')
          PsiElement(OPEN_PAREN)('(')
          PsiElement(METHOD_REFERENCE_PARAM_LIST)
            <empty list>
          PsiElement(CLOSE_PAREN)(')')
          PsiElement(VOID_TYPE)
            PsiElement(VOID_TYPE)('V')
      PsiWhiteSpace('\n')
      PsiElement(END_METHOD_DIRECTIVE)('.end method')
    PsiWhiteSpace('\n\n')
    SmaliMethod(METHOD)
      SmaliThrowsList(THROWS_LIST)
        <empty list>
      PsiElement(METHOD_DIRECTIVE)('.method')
      PsiWhiteSpace(' ')
      SmaliModifierList(MODIFIER_LIST)
        <empty list>
      PsiElement(MEMBER_NAME)
        PsiElement(SIMPLE_NAME)('blah2')
      SmaliMethodPrototype(METHOD_PROTOTYPE)
        PsiElement(OPEN_PAREN)('(')
        SmaliMethodParamList(METHOD_PARAM_LIST)
          <empty list>
        PsiElement(CLOSE_PAREN)(')')
        PsiElement(VOID_TYPE)
          PsiElement(VOID_TYPE)('V')
      PsiWhiteSpace('\n')
      PsiElement(REGISTERS_STATEMENT)
        PsiElement(REGISTERS_DIRECTIVE)('.registers')
        PsiWhiteSpace(' ')
        PsiElement(LITERAL)
          PsiElement(POSITIVE_INTEGER_LITERAL)('1')
      PsiWhiteSpace('\n')
      PsiElement(INSTRUCTION)
        PsiElement(INSTRUCTION_FORMAT35c_METHOD)('invoke-virtual')
        PsiWhiteSpace(' ')
        PsiElement(OPEN_BRACE)('{')
        PsiElement(REGISTER_REFERENCE)
          PsiElement(REGISTER)('v1')
        PsiElement(COMMA)(',')
        PsiWhiteSpace(' ')
        PsiElement(REGISTER_REFERENCE)
          PsiElement(REGISTER)('v2')
        PsiElement(CLOSE_BRACE)('}')
        PsiWhiteSpace(' ')
        PsiErrorElement:mismatched input '.blah' expecting COMMA
          PsiElement(BAD_CHARACTER)('.blah')
        PsiWhiteSpace(' ')
        PsiElement(METHOD_REFERENCE)
          PsiElement(CLASS_TYPE)
            PsiElement(CLASS_DESCRIPTOR)('Lblah;')
          PsiElement(ARROW)('->')
          PsiElement(MEMBER_NAME)
            PsiElement(SIMPLE_NAME)('blah')
          PsiElement(OPEN_PAREN)('(')
          PsiElement(METHOD_REFERENCE_PARAM_LIST)
            <empty list>
          PsiElement(CLOSE_PAREN)(')')
          PsiElement(VOID_TYPE)
            PsiElement(VOID_TYPE)('V')
      PsiWhiteSpace('\n')
      PsiElement(END_METHOD_DIRECTIVE)('.end method')
    PsiWhiteSpace('\n\n')
    SmaliMethod(METHOD)
      SmaliThrowsList(THROWS_LIST)
        <empty list>
      PsiElement(METHOD_DIRECTIVE)('.method')
      PsiWhiteSpace(' ')
      SmaliModifierList(MODIFIER_LIST)
        <empty list>
      PsiElement(MEMBER_NAME)
        PsiElement(SIMPLE_NAME)('blah3')
      SmaliMethodPrototype(METHOD_PROTOTYPE)
        PsiElement(OPEN_PAREN)('(')
        SmaliMethodParamList(METHOD_PARAM_LIST)
          <empty list>
        PsiElement(CLOSE_PAREN)(')')
        PsiElement(VOID_TYPE)
          PsiElement(VOID_TYPE)('V')
      PsiWhiteSpace('\n  ')
      PsiElement(INSTRUCTION)
        PsiElement(ARRAY_DATA_DIRECTIVE)('.array-data')
        PsiWhiteSpace(' ')
        PsiElement(LITERAL)
          PsiElement(POSITIVE_INTEGER_LITERAL)('4')
        PsiWhiteSpace('\n    ')
        PsiElement(ARRAY_DATA_ELEMENT)
          PsiElement(LITERAL)
            PsiElement(POSITIVE_INTEGER_LITERAL)('1')
        PsiWhiteSpace('\n    ')
        PsiElement(ARRAY_DATA_ELEMENT)
          PsiElement(LITERAL)
            PsiElement(POSITIVE_INTEGER_LITERAL)('2')
        PsiWhiteSpace('\n  ')
        PsiErrorElement:mismatched input '.blah' expecting END_ARRAY_DATA_DIRECTIVE
          PsiElement(BAD_CHARACTER)('.blah')
      PsiWhiteSpace('\n')
      PsiElement(END_METHOD_DIRECTIVE)('.end method')
    PsiWhiteSpace('\n\n')
    SmaliMethod(METHOD)
      SmaliThrowsList(THROWS_LIST)
        <empty list>
      PsiElement(METHOD_DIRECTIVE)('.method')
      PsiWhiteSpace(' ')
      SmaliModifierList(MODIFIER_LIST)
        <empty list>
      PsiElement(MEMBER_NAME)
        PsiElement(SIMPLE_NAME)('blah4')
      SmaliMethodPrototype(METHOD_PROTOTYPE)
        PsiElement(OPEN_PAREN)('(')
        SmaliMethodParamList(METHOD_PARAM_LIST)
          <empty list>
        PsiElement(CLOSE_PAREN)(')')
        PsiElement(VOID_TYPE)
          PsiElement(VOID_TYPE)('V')
      PsiWhiteSpace('\n  ')
      PsiElement(INSTRUCTION)
        PsiElement(PACKED_SWITCH_DIRECTIVE)('.packed-switch')
        PsiWhiteSpace(' ')
        PsiElement(LITERAL)
          PsiElement(POSITIVE_INTEGER_LITERAL)('1')
        PsiWhiteSpace('\n    ')
        PsiElement(PACKED_SWITCH_ELEMENT)
          PsiElement(LABEL_REFERENCE)
            PsiElement(COLON)(':')
            PsiElement(SIMPLE_NAME)('blah')
        PsiWhiteSpace('\n    ')
        PsiElement(PACKED_SWITCH_ELEMENT)
          PsiElement(LABEL_REFERENCE)
            PsiElement(COLON)(':')
            PsiElement(SIMPLE_NAME)('blah2')
        PsiWhiteSpace('\n  ')
        PsiErrorElement:mismatched input '.blah' expecting END_PACKED_SWITCH_DIRECTIVE
          PsiElement(BAD_CHARACTER)('.blah')
      PsiWhiteSpace('\n')
      PsiElement(END_METHOD_DIRECTIVE)('.end method')
    PsiWhiteSpace('\n\n')
    SmaliMethod(METHOD)
      SmaliThrowsList(THROWS_LIST)
        <empty list>
      PsiElement(METHOD_DIRECTIVE)('.method')
      PsiWhiteSpace(' ')
      SmaliModifierList(MODIFIER_LIST)
        <empty list>
      PsiElement(MEMBER_NAME)
        PsiElement(SIMPLE_NAME)('blah5')
      SmaliMethodPrototype(METHOD_PROTOTYPE)
        PsiElement(OPEN_PAREN)('(')
        SmaliMethodParamList(METHOD_PARAM_LIST)
          <empty list>
        PsiElement(CLOSE_PAREN)(')')
        PsiElement(VOID_TYPE)
          PsiElement(VOID_TYPE)('V')
      PsiWhiteSpace('\n  ')
      PsiElement(INSTRUCTION)
        PsiElement(SPARSE_SWITCH_DIRECTIVE)('.sparse-switch')
        PsiWhiteSpace('\n    ')
        PsiElement(SPARSE_SWITCH_ELEMENT)
          PsiElement(LITERAL)
            PsiElement(POSITIVE_INTEGER_LITERAL)('1')
          PsiWhiteSpace(' ')
          PsiElement(ARROW)('->')
          PsiWhiteSpace(' ')
          PsiElement(LABEL_REFERENCE)
            PsiElement(COLON)(':')
            PsiElement(SIMPLE_NAME)('blah')
        PsiWhiteSpace('\n    ')
        PsiElement(SPARSE_SWITCH_ELEMENT)
          PsiElement(LITERAL)
            PsiElement(POSITIVE_INTEGER_LITERAL)('3')
          PsiWhiteSpace(' ')
          PsiElement(ARROW)('->')
          PsiWhiteSpace(' ')
          PsiElement(LABEL_REFERENCE)
            PsiElement(COLON)(':')
            PsiElement(SIMPLE_NAME)('blah2')
        PsiWhiteSpace('\n    ')
        PsiElement(SPARSE_SWITCH_ELEMENT)
          PsiElement(LITERAL)
            PsiElement(POSITIVE_INTEGER_LITERAL)('5')
          PsiWhiteSpace(' ')
          PsiElement(ARROW)('->')
          PsiWhiteSpace(' ')
          PsiElement(LABEL_REFERENCE)
            PsiElement(COLON)(':')
            PsiElement(SIMPLE_NAME)('blah3')
        PsiWhiteSpace('\n  ')
        PsiErrorElement:mismatched input '.blah' expecting END_SPARSE_SWITCH_DIRECTIVE
          PsiElement(BAD_CHARACTER)('.blah')
      PsiWhiteSpace('\n')
      PsiElement(END_METHOD_DIRECTIVE)('.end method')