Class DumbMethods.RandomOnceSubDetector

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean freshRandomOneBelowTos  
      private boolean freshRandomOnTos
      True if a freshly created Random instance exists on ToS (Top op Stack)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initMethod​(org.apache.bcel.classfile.Method method)  
      private boolean isStreamMethod​(java.lang.String nameConstantOperand)  
      void sawOpcode​(int seen)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • freshRandomOnTos

        private boolean freshRandomOnTos
        True if a freshly created Random instance exists on ToS (Top op Stack)
      • freshRandomOneBelowTos

        private boolean freshRandomOneBelowTos
    • Constructor Detail

      • RandomOnceSubDetector

        private RandomOnceSubDetector()
    • Method Detail

      • isStreamMethod

        private boolean isStreamMethod​(java.lang.String nameConstantOperand)