Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jruby.javasupport.binding;
 
 
Created by headius on 2/26/15.
public class StaticFieldSetterInstaller extends FieldInstaller {
    public StaticFieldSetterInstaller(String nameField field) {
        super(namefield);
    }
    @Override void install(final RubyModule proxy) {
        if ( Modifier.isPublic(.getModifiers()) ) {
            proxy.getSingletonClass().addMethod(new StaticFieldSetter(proxy));
        }
    }
New to GrepCode? Check out our FAQ X