文本文件  |  85行  |  2.93 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)
        PsiElement(ACCESS_SPEC)('public')
      PsiWhiteSpace(' ')
      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(PARAMETER_STATEMENT)
        PsiElement(PARAMETER_DIRECTIVE)('.param')
        PsiWhiteSpace(' ')
        PsiElement(REGISTER_REFERENCE)
          PsiElement(REGISTER)('v0')
        PsiElement(COMMA)(',')
        PsiWhiteSpace(' ')
        PsiElement(LOCAL_NAME)
          PsiElement(LITERAL)
            PsiElement(STRING_LITERAL)('"blah"')
      PsiWhiteSpace('\n      ')
      PsiErrorElement:no viable alternative at input '.a'
        PsiElement(BAD_CHARACTER)('.a')
      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)
        PsiElement(ACCESS_SPEC)('public')
      PsiWhiteSpace(' ')
      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(PARAMETER_STATEMENT)
        PsiElement(PARAMETER_DIRECTIVE)('.param')
        PsiWhiteSpace(' ')
        PsiElement(REGISTER_REFERENCE)
          PsiElement(REGISTER)('v0')
        PsiElement(COMMA)(',')
        PsiWhiteSpace(' ')
        PsiElement(LOCAL_NAME)
          PsiElement(LITERAL)
            PsiElement(STRING_LITERAL)('"blah"')
      PsiWhiteSpace('\n    ')
      SmaliAnnotation(ANNOTATION)
        PsiElement(ANNOTATION_DIRECTIVE)('.annotation')
        PsiWhiteSpace(' ')
        PsiElement(ANNOTATION_VISIBILITY)('runtime')
        PsiWhiteSpace(' ')
        PsiElement(CLASS_TYPE)
          PsiElement(CLASS_DESCRIPTOR)('Lblah;')
        PsiWhiteSpace(' ')
        PsiElement(ANNOTATION_PARAMETER_LIST)
          <empty list>
        PsiElement(END_ANNOTATION_DIRECTIVE)('.end annotation')
      PsiWhiteSpace('\n    ')
      PsiErrorElement:no viable alternative at input '.'
        PsiElement(BAD_CHARACTER)('.')
      PsiWhiteSpace('\n')
      PsiElement(END_METHOD_DIRECTIVE)('.end method')