All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jruby.runtime.opto.GenerationInvalidator Maven / Gradle / Ivy

There is a newer version: 0.8.14
Show newest version
package org.jruby.runtime.opto;

import java.util.List;
import org.jruby.RubyModule;

public class GenerationInvalidator implements Invalidator {
    private final RubyModule module;
    public GenerationInvalidator(RubyModule module) {
        this.module = module;
    }
    
    public void invalidate() {
        module.updateGeneration();
    }
    
    public void invalidateAll(List invalidators) {
        for (Invalidator invalidator : invalidators) {
            invalidator.invalidate();
        }
    }

    public Object getData() {
        return module.getGenerationObject();
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy