edu.umd.cs.findbugs.visitclass

Class BetterVisitor

  • All Implemented Interfaces:
    org.apache.bcel.classfile.Visitor
    Direct Known Subclasses:
    PreorderVisitor


    public abstract class BetterVisitor
    extends Object
    implements org.apache.bcel.classfile.Visitor
    Fixedup of from org.apache.bcel.classfile.Visitor
    Version:
    980818
    Author:
    William Pugh
    • Constructor Summary

      Constructors 
      Constructor and Description
      BetterVisitor() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Object clone()
      clone() is overridden to change access control from protected to public.
      void report(PrintStream out) 
      void visit(org.apache.bcel.classfile.Attribute obj) 
      void visit(org.apache.bcel.classfile.Code obj) 
      void visit(org.apache.bcel.classfile.CodeException obj) 
      void visit(org.apache.bcel.classfile.Constant obj) 
      void visit(org.apache.bcel.classfile.ConstantClass obj) 
      void visit(org.apache.bcel.classfile.ConstantCP obj) 
      void visit(org.apache.bcel.classfile.ConstantDouble obj) 
      void visit(org.apache.bcel.classfile.ConstantFieldref obj) 
      void visit(org.apache.bcel.classfile.ConstantFloat obj) 
      void visit(org.apache.bcel.classfile.ConstantInteger obj) 
      void visit(org.apache.bcel.classfile.ConstantInterfaceMethodref obj) 
      void visit(org.apache.bcel.classfile.ConstantLong obj) 
      void visit(org.apache.bcel.classfile.ConstantMethodref obj) 
      void visit(org.apache.bcel.classfile.ConstantNameAndType obj) 
      void visit(org.apache.bcel.classfile.ConstantPool obj) 
      void visit(org.apache.bcel.classfile.ConstantString obj) 
      void visit(org.apache.bcel.classfile.ConstantUtf8 obj) 
      void visit(org.apache.bcel.classfile.ConstantValue obj) 
      void visit(org.apache.bcel.classfile.Deprecated obj) 
      void visit(org.apache.bcel.classfile.ExceptionTable obj) 
      void visit(org.apache.bcel.classfile.Field obj) 
      void visit(org.apache.bcel.classfile.InnerClass obj) 
      void visit(org.apache.bcel.classfile.InnerClasses obj) 
      void visit(org.apache.bcel.classfile.JavaClass obj) 
      void visit(org.apache.bcel.classfile.LineNumber obj) 
      void visit(org.apache.bcel.classfile.LineNumberTable obj) 
      void visit(org.apache.bcel.classfile.LocalVariable obj) 
      void visit(org.apache.bcel.classfile.LocalVariableTable obj) 
      void visit(org.apache.bcel.classfile.LocalVariableTypeTable obj) 
      void visit(org.apache.bcel.classfile.Method obj) 
      void visit(org.apache.bcel.classfile.Signature obj) 
      void visit(org.apache.bcel.classfile.SourceFile obj) 
      void visit(org.apache.bcel.classfile.StackMapEntry obj) 
      void visit(org.apache.bcel.classfile.Synthetic obj) 
      void visit(org.apache.bcel.classfile.Unknown obj) 
      void visitCode(org.apache.bcel.classfile.Code obj) 
      void visitCodeException(org.apache.bcel.classfile.CodeException obj) 
      void visitConstantClass(org.apache.bcel.classfile.ConstantClass obj) 
      void visitConstantDouble(org.apache.bcel.classfile.ConstantDouble obj) 
      void visitConstantFieldref(org.apache.bcel.classfile.ConstantFieldref obj) 
      void visitConstantFloat(org.apache.bcel.classfile.ConstantFloat obj) 
      void visitConstantInteger(org.apache.bcel.classfile.ConstantInteger obj) 
      void visitConstantInterfaceMethodref(org.apache.bcel.classfile.ConstantInterfaceMethodref obj) 
      void visitConstantLong(org.apache.bcel.classfile.ConstantLong obj) 
      void visitConstantMethodref(org.apache.bcel.classfile.ConstantMethodref obj) 
      void visitConstantNameAndType(org.apache.bcel.classfile.ConstantNameAndType obj) 
      void visitConstantPool(org.apache.bcel.classfile.ConstantPool obj) 
      void visitConstantString(org.apache.bcel.classfile.ConstantString obj) 
      void visitConstantUtf8(org.apache.bcel.classfile.ConstantUtf8 obj) 
      void visitConstantValue(org.apache.bcel.classfile.ConstantValue obj) 
      void visitDeprecated(org.apache.bcel.classfile.Deprecated obj) 
      void visitExceptionTable(org.apache.bcel.classfile.ExceptionTable obj) 
      void visitField(org.apache.bcel.classfile.Field obj) 
      void visitInnerClass(org.apache.bcel.classfile.InnerClass obj) 
      void visitInnerClasses(org.apache.bcel.classfile.InnerClasses obj) 
      void visitJavaClass(org.apache.bcel.classfile.JavaClass obj) 
      void visitLineNumber(org.apache.bcel.classfile.LineNumber obj) 
      void visitLineNumberTable(org.apache.bcel.classfile.LineNumberTable obj) 
      void visitLocalVariable(org.apache.bcel.classfile.LocalVariable obj) 
      void visitLocalVariableTable(org.apache.bcel.classfile.LocalVariableTable obj) 
      void visitLocalVariableTypeTable(org.apache.bcel.classfile.LocalVariableTypeTable obj) 
      void visitMethod(org.apache.bcel.classfile.Method obj) 
      void visitSignature(org.apache.bcel.classfile.Signature obj) 
      void visitSourceFile(org.apache.bcel.classfile.SourceFile obj) 
      void visitStackMap(org.apache.bcel.classfile.StackMap obj) 
      void visitStackMapEntry(org.apache.bcel.classfile.StackMapEntry obj) 
      void visitSynthetic(org.apache.bcel.classfile.Synthetic obj) 
      void visitUnknown(org.apache.bcel.classfile.Unknown obj) 
      • Methods inherited from interface org.apache.bcel.classfile.Visitor

        visitAnnotation, visitAnnotationDefault, visitAnnotationEntry, visitEnclosingMethod, visitParameterAnnotation, visitStackMapTable, visitStackMapTableEntry
    • Constructor Detail

      • BetterVisitor

        public BetterVisitor()
    • Method Detail

      • clone

        public Object clone()
                     throws CloneNotSupportedException
        clone() is overridden to change access control from protected to public. Originally we compelled subclasses not to throw CloneNotSupportedException, but that was unfriendly to some third-parties with existing code.
        Overrides:
        clone in class Object
        Throws:
        CloneNotSupportedException
      • visit

        public void visit(org.apache.bcel.classfile.JavaClass obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantPool obj)
      • visit

        public void visit(org.apache.bcel.classfile.Field obj)
      • visit

        public void visit(org.apache.bcel.classfile.Method obj)
      • visit

        public void visit(org.apache.bcel.classfile.Constant obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantCP obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantMethodref obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantFieldref obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantInterfaceMethodref obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantClass obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantDouble obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantFloat obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantInteger obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantLong obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantNameAndType obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantString obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantUtf8 obj)
      • visit

        public void visit(org.apache.bcel.classfile.Attribute obj)
      • visit

        public void visit(org.apache.bcel.classfile.Code obj)
      • visit

        public void visit(org.apache.bcel.classfile.ConstantValue obj)
      • visit

        public void visit(org.apache.bcel.classfile.ExceptionTable obj)
      • visit

        public void visit(org.apache.bcel.classfile.InnerClasses obj)
      • visit

        public void visit(org.apache.bcel.classfile.LineNumberTable obj)
      • visit

        public void visit(org.apache.bcel.classfile.LocalVariableTable obj)
      • visit

        public void visit(org.apache.bcel.classfile.LocalVariableTypeTable obj)
      • visit

        public void visit(org.apache.bcel.classfile.SourceFile obj)
      • visit

        public void visit(org.apache.bcel.classfile.Synthetic obj)
      • visit

        public void visit(org.apache.bcel.classfile.Deprecated obj)
      • visit

        public void visit(org.apache.bcel.classfile.Unknown obj)
      • visit

        public void visit(org.apache.bcel.classfile.Signature obj)
      • visit

        public void visit(org.apache.bcel.classfile.InnerClass obj)
      • visit

        public void visit(org.apache.bcel.classfile.LocalVariable obj)
      • visit

        public void visit(org.apache.bcel.classfile.LineNumber obj)
      • visit

        public void visit(org.apache.bcel.classfile.CodeException obj)
      • visit

        public void visit(org.apache.bcel.classfile.StackMapEntry obj)
      • visitCode

        public void visitCode(org.apache.bcel.classfile.Code obj)
        Specified by:
        visitCode in interface org.apache.bcel.classfile.Visitor
      • visitCodeException

        public void visitCodeException(org.apache.bcel.classfile.CodeException obj)
        Specified by:
        visitCodeException in interface org.apache.bcel.classfile.Visitor
      • visitConstantClass

        public void visitConstantClass(org.apache.bcel.classfile.ConstantClass obj)
        Specified by:
        visitConstantClass in interface org.apache.bcel.classfile.Visitor
      • visitConstantDouble

        public void visitConstantDouble(org.apache.bcel.classfile.ConstantDouble obj)
        Specified by:
        visitConstantDouble in interface org.apache.bcel.classfile.Visitor
      • visitConstantFieldref

        public void visitConstantFieldref(org.apache.bcel.classfile.ConstantFieldref obj)
        Specified by:
        visitConstantFieldref in interface org.apache.bcel.classfile.Visitor
      • visitConstantFloat

        public void visitConstantFloat(org.apache.bcel.classfile.ConstantFloat obj)
        Specified by:
        visitConstantFloat in interface org.apache.bcel.classfile.Visitor
      • visitConstantInteger

        public void visitConstantInteger(org.apache.bcel.classfile.ConstantInteger obj)
        Specified by:
        visitConstantInteger in interface org.apache.bcel.classfile.Visitor
      • visitConstantInterfaceMethodref

        public void visitConstantInterfaceMethodref(org.apache.bcel.classfile.ConstantInterfaceMethodref obj)
        Specified by:
        visitConstantInterfaceMethodref in interface org.apache.bcel.classfile.Visitor
      • visitConstantLong

        public void visitConstantLong(org.apache.bcel.classfile.ConstantLong obj)
        Specified by:
        visitConstantLong in interface org.apache.bcel.classfile.Visitor
      • visitConstantMethodref

        public void visitConstantMethodref(org.apache.bcel.classfile.ConstantMethodref obj)
        Specified by:
        visitConstantMethodref in interface org.apache.bcel.classfile.Visitor
      • visitConstantNameAndType

        public void visitConstantNameAndType(org.apache.bcel.classfile.ConstantNameAndType obj)
        Specified by:
        visitConstantNameAndType in interface org.apache.bcel.classfile.Visitor
      • visitConstantPool

        public void visitConstantPool(org.apache.bcel.classfile.ConstantPool obj)
        Specified by:
        visitConstantPool in interface org.apache.bcel.classfile.Visitor
      • visitConstantString

        public void visitConstantString(org.apache.bcel.classfile.ConstantString obj)
        Specified by:
        visitConstantString in interface org.apache.bcel.classfile.Visitor
      • visitConstantUtf8

        public void visitConstantUtf8(org.apache.bcel.classfile.ConstantUtf8 obj)
        Specified by:
        visitConstantUtf8 in interface org.apache.bcel.classfile.Visitor
      • visitConstantValue

        public void visitConstantValue(org.apache.bcel.classfile.ConstantValue obj)
        Specified by:
        visitConstantValue in interface org.apache.bcel.classfile.Visitor
      • visitDeprecated

        public void visitDeprecated(org.apache.bcel.classfile.Deprecated obj)
        Specified by:
        visitDeprecated in interface org.apache.bcel.classfile.Visitor
      • visitExceptionTable

        public void visitExceptionTable(org.apache.bcel.classfile.ExceptionTable obj)
        Specified by:
        visitExceptionTable in interface org.apache.bcel.classfile.Visitor
      • visitField

        public void visitField(org.apache.bcel.classfile.Field obj)
        Specified by:
        visitField in interface org.apache.bcel.classfile.Visitor
      • visitInnerClass

        public void visitInnerClass(org.apache.bcel.classfile.InnerClass obj)
        Specified by:
        visitInnerClass in interface org.apache.bcel.classfile.Visitor
      • visitInnerClasses

        public void visitInnerClasses(org.apache.bcel.classfile.InnerClasses obj)
        Specified by:
        visitInnerClasses in interface org.apache.bcel.classfile.Visitor
      • visitJavaClass

        public void visitJavaClass(org.apache.bcel.classfile.JavaClass obj)
        Specified by:
        visitJavaClass in interface org.apache.bcel.classfile.Visitor
      • visitLineNumber

        public void visitLineNumber(org.apache.bcel.classfile.LineNumber obj)
        Specified by:
        visitLineNumber in interface org.apache.bcel.classfile.Visitor
      • visitLineNumberTable

        public void visitLineNumberTable(org.apache.bcel.classfile.LineNumberTable obj)
        Specified by:
        visitLineNumberTable in interface org.apache.bcel.classfile.Visitor
      • visitLocalVariable

        public void visitLocalVariable(org.apache.bcel.classfile.LocalVariable obj)
        Specified by:
        visitLocalVariable in interface org.apache.bcel.classfile.Visitor
      • visitLocalVariableTable

        public void visitLocalVariableTable(org.apache.bcel.classfile.LocalVariableTable obj)
        Specified by:
        visitLocalVariableTable in interface org.apache.bcel.classfile.Visitor
      • visitLocalVariableTypeTable

        public void visitLocalVariableTypeTable(org.apache.bcel.classfile.LocalVariableTypeTable obj)
        Specified by:
        visitLocalVariableTypeTable in interface org.apache.bcel.classfile.Visitor
      • visitMethod

        public void visitMethod(org.apache.bcel.classfile.Method obj)
        Specified by:
        visitMethod in interface org.apache.bcel.classfile.Visitor
      • visitSignature

        public void visitSignature(org.apache.bcel.classfile.Signature obj)
        Specified by:
        visitSignature in interface org.apache.bcel.classfile.Visitor
      • visitSourceFile

        public void visitSourceFile(org.apache.bcel.classfile.SourceFile obj)
        Specified by:
        visitSourceFile in interface org.apache.bcel.classfile.Visitor
      • visitSynthetic

        public void visitSynthetic(org.apache.bcel.classfile.Synthetic obj)
        Specified by:
        visitSynthetic in interface org.apache.bcel.classfile.Visitor
      • visitUnknown

        public void visitUnknown(org.apache.bcel.classfile.Unknown obj)
        Specified by:
        visitUnknown in interface org.apache.bcel.classfile.Visitor
      • visitStackMapEntry

        public void visitStackMapEntry(org.apache.bcel.classfile.StackMapEntry obj)
        Specified by:
        visitStackMapEntry in interface org.apache.bcel.classfile.Visitor
      • visitStackMap

        public void visitStackMap(org.apache.bcel.classfile.StackMap obj)
        Specified by:
        visitStackMap in interface org.apache.bcel.classfile.Visitor

Copyright © 2003–2015. All rights reserved.