Class FunctionsThatMightBeMistakenForProcedures

All Implemented Interfaces:
Detector, FirstPassDetector, Priorities, org.apache.bcel.classfile.Visitor

public class FunctionsThatMightBeMistakenForProcedures extends OpcodeStackDetector implements FirstPassDetector
  • Field Details

    • bugReporter

      final BugReporter bugReporter
    • testingEnabled

      private final boolean testingEnabled
    • REPORT_INFERRED_METHODS

      static final boolean REPORT_INFERRED_METHODS
    • isInnerClass

      boolean isInnerClass
    • hasNonFinalFields

      boolean hasNonFinalFields
    • okToIgnore

      HashSet<XMethod> okToIgnore
    • methodsSeen

      HashSet<XMethod> methodsSeen
    • doNotIgnore

      HashSet<XMethod> doNotIgnore
    • doNotIgnoreHigh

      HashSet<XMethod> doNotIgnoreHigh
    • returnSelf

      int returnSelf
    • returnOther

      int returnOther
    • returnNew

      int returnNew
    • returnUnknown

      int returnUnknown
    • updates

      int updates
    • inferredMethod

      @CheckForNull BugInstance inferredMethod
  • Constructor Details

    • FunctionsThatMightBeMistakenForProcedures

      public FunctionsThatMightBeMistakenForProcedures(BugReporter bugReporter)
  • Method Details