Class PartialDelegatingMethod

java.lang.Object
org.jruby.internal.runtime.methods.DynamicMethod
org.jruby.internal.runtime.methods.PartialDelegatingMethod

public class PartialDelegatingMethod extends DynamicMethod
This is similar to DelegatingDynamicMethod except that it does not delegate most properties of DynamicMethod. Visibility, etc, set on an instance of PartialDelegatingMethod will not be delegated to the contained method. This type of method is used primarily for altering the visibility of a parent class's method in a child class. Note that AliasMethod is not a suitable substitute since it always passes the method's original name to the delegate, and DelegatingDynamicMethod is not a suitable substitute since it delegates all properties to the delegate.
Author:
jpetersen