Enum FingerprintLevel

    • Enum Constant Detail

      • ULTRA_STABLE

        public static final FingerprintLevel ULTRA_STABLE
        Signature shape plus the called, accessed and instantiated targets.
      • STABLE

        public static final FingerprintLevel STABLE
        Control-flow shape - loop counts and nesting, bucketed block count, and branch, arithmetic and invoke histograms.
      • DETAILED

        public static final FingerprintLevel DETAILED
        Opcode-bigram, CFG edge and terminator histograms plus dominance depth.
    • Method Detail

      • values

        public static FingerprintLevel[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FingerprintLevel c : FingerprintLevel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FingerprintLevel valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getIndex

        public int getIndex()
        Returns:
        the index
      • getWeight

        public double getWeight()
        Returns:
        the weight
      • getMask

        public int getMask()
        Returns:
        the single-bit mask for this level, derived from its index