Class VolatileUsage

    • Constructor Detail

      • VolatileUsage

        public VolatileUsage​(BugReporter bugReporter)
    • Method Detail

      • visit

        public void visit​(org.apache.bcel.classfile.Code obj)
        Overrides:
        visit in class DismantleBytecode
      • resetIncrementState

        private void resetIncrementState()
      • report

        public void report()
        Description copied from interface: Detector
        This method is called after all classes to be visited. It should be used by any detectors which accumulate information over all visited classes to generate results.
        Specified by:
        report in interface Detector
        Overrides:
        report in class BytecodeScanningDetector
      • isVolatile

        private boolean isVolatile​(XField f)
      • isVolatileArray

        private boolean isVolatileArray​(XField f)