Class SmaliBaseVisitor<T>

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
com.googlecode.d2j.smali.antlr4.SmaliBaseVisitor<T>
Type Parameters:
T - The return type of the visit operation. Use Void for operations with no return type.
All Implemented Interfaces:
SmaliVisitor<T>, org.antlr.v4.runtime.tree.ParseTreeVisitor<T>

public class SmaliBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements SmaliVisitor<T>
This class provides an empty implementation of SmaliVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
  • Constructor Details

    • SmaliBaseVisitor

      public SmaliBaseVisitor()
  • Method Details

    • visitSFiles

      public T visitSFiles(SmaliParser.SFilesContext ctx)
      Visit a parse tree produced by SmaliParser.sFiles().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSFiles in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSFile

      public T visitSFile(SmaliParser.SFileContext ctx)
      Visit a parse tree produced by SmaliParser.sFile().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSFile in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSSource

      public T visitSSource(SmaliParser.SSourceContext ctx)
      Visit a parse tree produced by SmaliParser.sSource().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSSource in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSSuper

      public T visitSSuper(SmaliParser.SSuperContext ctx)
      Visit a parse tree produced by SmaliParser.sSuper().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSSuper in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSInterface

      public T visitSInterface(SmaliParser.SInterfaceContext ctx)
      Visit a parse tree produced by SmaliParser.sInterface().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSInterface in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSMethod

      public T visitSMethod(SmaliParser.SMethodContext ctx)
      Visit a parse tree produced by SmaliParser.sMethod().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSMethod in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSField

      public T visitSField(SmaliParser.SFieldContext ctx)
      Visit a parse tree produced by SmaliParser.sField().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSField in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSAccList

      public T visitSAccList(SmaliParser.SAccListContext ctx)
      Visit a parse tree produced by SmaliParser.sAccList().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSAccList in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSAnnotation

      public T visitSAnnotation(SmaliParser.SAnnotationContext ctx)
      Visit a parse tree produced by SmaliParser.sAnnotation().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSAnnotation in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSSubannotation

      public T visitSSubannotation(SmaliParser.SSubannotationContext ctx)
      Visit a parse tree produced by SmaliParser.sSubannotation().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSSubannotation in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSParameter

      public T visitSParameter(SmaliParser.SParameterContext ctx)
      Visit a parse tree produced by SmaliParser.sParameter().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSParameter in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSAnnotationKeyName

      public T visitSAnnotationKeyName(SmaliParser.SAnnotationKeyNameContext ctx)
      Visit a parse tree produced by SmaliParser.sAnnotationKeyName().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSAnnotationKeyName in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSAnnotationValue

      public T visitSAnnotationValue(SmaliParser.SAnnotationValueContext ctx)
      Visit a parse tree produced by SmaliParser.sAnnotationValue().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSAnnotationValue in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSBaseValue

      public T visitSBaseValue(SmaliParser.SBaseValueContext ctx)
      Visit a parse tree produced by SmaliParser.sBaseValue().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSBaseValue in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSArrayValue

      public T visitSArrayValue(SmaliParser.SArrayValueContext ctx)
      Visit a parse tree produced by SmaliParser.sArrayValue().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSArrayValue in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMethod_handler

      public T visitMethod_handler(SmaliParser.Method_handlerContext ctx)
      Visit a parse tree produced by SmaliParser.method_handler().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMethod_handler in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitCall_site

      public T visitCall_site(SmaliParser.Call_siteContext ctx)
      Visit a parse tree produced by SmaliParser.call_site().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitCall_site in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSInstruction

      public T visitSInstruction(SmaliParser.SInstructionContext ctx)
      Visit a parse tree produced by SmaliParser.sInstruction().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSInstruction in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFline

      public T visitFline(SmaliParser.FlineContext ctx)
      Visit a parse tree produced by SmaliParser.fline().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFline in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFlocal

      public T visitFlocal(SmaliParser.FlocalContext ctx)
      Visit a parse tree produced by SmaliParser.flocal().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFlocal in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFend

      public T visitFend(SmaliParser.FendContext ctx)
      Visit a parse tree produced by SmaliParser.fend().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFend in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFrestart

      public T visitFrestart(SmaliParser.FrestartContext ctx)
      Visit a parse tree produced by SmaliParser.frestart().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFrestart in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFprologue

      public T visitFprologue(SmaliParser.FprologueContext ctx)
      Visit a parse tree produced by SmaliParser.fprologue().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFprologue in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFepiogue

      public T visitFepiogue(SmaliParser.FepiogueContext ctx)
      Visit a parse tree produced by SmaliParser.fepiogue().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFepiogue in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFregisters

      public T visitFregisters(SmaliParser.FregistersContext ctx)
      Visit a parse tree produced by SmaliParser.fregisters().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFregisters in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFlocals

      public T visitFlocals(SmaliParser.FlocalsContext ctx)
      Visit a parse tree produced by SmaliParser.flocals().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFlocals in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFcache

      public T visitFcache(SmaliParser.FcacheContext ctx)
      Visit a parse tree produced by SmaliParser.fcache().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFcache in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFcacheall

      public T visitFcacheall(SmaliParser.FcacheallContext ctx)
      Visit a parse tree produced by SmaliParser.fcacheall().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFcacheall in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSLabel

      public T visitSLabel(SmaliParser.SLabelContext ctx)
      Visit a parse tree produced by SmaliParser.sLabel().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSLabel in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFpackageswitch

      public T visitFpackageswitch(SmaliParser.FpackageswitchContext ctx)
      Visit a parse tree produced by SmaliParser.fpackageswitch().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFpackageswitch in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFspareswitch

      public T visitFspareswitch(SmaliParser.FspareswitchContext ctx)
      Visit a parse tree produced by SmaliParser.fspareswitch().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFspareswitch in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFarraydata

      public T visitFarraydata(SmaliParser.FarraydataContext ctx)
      Visit a parse tree produced by SmaliParser.farraydata().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFarraydata in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitF0x

      public T visitF0x(SmaliParser.F0xContext ctx)
      Visit a parse tree produced by SmaliParser.f0x().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitF0x in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitF0t

      public T visitF0t(SmaliParser.F0tContext ctx)
      Visit a parse tree produced by SmaliParser.f0t().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitF0t in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitF1x

      public T visitF1x(SmaliParser.F1xContext ctx)
      Visit a parse tree produced by SmaliParser.f1x().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitF1x in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFconst

      public T visitFconst(SmaliParser.FconstContext ctx)
      Visit a parse tree produced by SmaliParser.fconst().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFconst in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFf1c

      public T visitFf1c(SmaliParser.Ff1cContext ctx)
      Visit a parse tree produced by SmaliParser.ff1c().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFf1c in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFt2c

      public T visitFt2c(SmaliParser.Ft2cContext ctx)
      Visit a parse tree produced by SmaliParser.ft2c().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFt2c in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFf2c

      public T visitFf2c(SmaliParser.Ff2cContext ctx)
      Visit a parse tree produced by SmaliParser.ff2c().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFf2c in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitF2x

      public T visitF2x(SmaliParser.F2xContext ctx)
      Visit a parse tree produced by SmaliParser.f2x().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitF2x in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitF3x

      public T visitF3x(SmaliParser.F3xContext ctx)
      Visit a parse tree produced by SmaliParser.f3x().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitF3x in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFt5c

      public T visitFt5c(SmaliParser.Ft5cContext ctx)
      Visit a parse tree produced by SmaliParser.ft5c().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFt5c in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFm5c

      public T visitFm5c(SmaliParser.Fm5cContext ctx)
      Visit a parse tree produced by SmaliParser.fm5c().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFm5c in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFmrc

      public T visitFmrc(SmaliParser.FmrcContext ctx)
      Visit a parse tree produced by SmaliParser.fmrc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFmrc in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFm45cc

      public T visitFm45cc(SmaliParser.Fm45ccContext ctx)
      Visit a parse tree produced by SmaliParser.fm45cc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFm45cc in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFm4rcc

      public T visitFm4rcc(SmaliParser.Fm4rccContext ctx)
      Visit a parse tree produced by SmaliParser.fm4rcc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFm4rcc in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFmcustomc

      public T visitFmcustomc(SmaliParser.FmcustomcContext ctx)
      Visit a parse tree produced by SmaliParser.fmcustomc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFmcustomc in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFmcustomrc

      public T visitFmcustomrc(SmaliParser.FmcustomrcContext ctx)
      Visit a parse tree produced by SmaliParser.fmcustomrc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFmcustomrc in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFtrc

      public T visitFtrc(SmaliParser.FtrcContext ctx)
      Visit a parse tree produced by SmaliParser.ftrc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFtrc in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitF31t

      public T visitF31t(SmaliParser.F31tContext ctx)
      Visit a parse tree produced by SmaliParser.f31t().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitF31t in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitF1t

      public T visitF1t(SmaliParser.F1tContext ctx)
      Visit a parse tree produced by SmaliParser.f1t().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitF1t in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitF2t

      public T visitF2t(SmaliParser.F2tContext ctx)
      Visit a parse tree produced by SmaliParser.f2t().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitF2t in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitF2sb

      public T visitF2sb(SmaliParser.F2sbContext ctx)
      Visit a parse tree produced by SmaliParser.f2sb().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitF2sb in interface SmaliVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result