Class RegionMethodReplacer

  • All Implemented Interfaces:
    Replacer

    public class RegionMethodReplacer
    extends RegionFieldReplacer
    Returns a method value of an object of class Region.
    Version:
    1.0
    Author:
    unknown
    • Constructor Detail

      • RegionMethodReplacer

        public RegionMethodReplacer​(java.lang.String method,
                                    int mode)
        Creates a new RegionMethodReplacer object.
        Parameters:
        method - A method name of Region
        mode - Defines what is returned for negative values.
        Throws:
        java.lang.RuntimeException - if the given field is not accessible