1) Static Methods: To generate stub methods (and wedge methods for non-final methods) for a given static target method, we simply duplicate the original method’s Java signature. For example, to interpose on the on the sqrt method in java.lang.Math then our stub method public static double sqrt(double var0) in the pkgprefix.java.lang.Math class. If desired, we can compute the original value from within our method directly (e.g. java.lang.Math.sqrt(var0)).