edu.umd.cs.findbugs.asm

Class ClassNodeDetector

  • java.lang.Object
    • org.objectweb.asm.ClassVisitor
      • org.objectweb.asm.tree.ClassNode
        • edu.umd.cs.findbugs.asm.ClassNodeDetector
  • All Implemented Interfaces:
    Detector2, Priorities
    Direct Known Subclasses:
    CheckRelaxingNullnessAnnotation, TestASM


    public abstract class ClassNodeDetector
    extends org.objectweb.asm.tree.ClassNode
    implements Detector2
    Abstract base class to to reduce boilerplate needed for writing ASM-based Detectors implemented as ClassNode visitors
    Author:
    pugh
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected BugReporter bugReporter 
      • Fields inherited from class org.objectweb.asm.tree.ClassNode

        access, attrs, fields, innerClasses, interfaces, invisibleAnnotations, invisibleTypeAnnotations, methods, name, outerClass, outerMethod, outerMethodDesc, signature, sourceDebug, sourceFile, superName, version, visibleAnnotations, visibleTypeAnnotations
      • Fields inherited from class org.objectweb.asm.ClassVisitor

        api, cv
    • Field Detail

    • Constructor Detail

      • ClassNodeDetector

        public ClassNodeDetector(BugReporter bugReporter)
        Construct a ClassNodeDetector. The bugReporter is passed to the constructor and stored in a protected final field.
        Parameters:
        bugReporter - the BugReporter that bug should be reporter to.

Copyright © 2003–2015. All rights reserved.