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

src.org.python.compiler.InvokedynamicCodeCompiler Maven / Gradle / Ivy

Go to download

Jython is an implementation of the high-level, dynamic, object-oriented language Python written in 100% Pure Java, and seamlessly integrated with the Java platform. It thus allows you to run Python on any Java platform.

There is a newer version: 2.7.4
Show newest version
package org.python.compiler;

import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
import java.lang.invoke.MutableCallSite;

/**
 * 
 * @author shashank
 */
public class InvokedynamicCodeCompiler extends CodeCompiler {

	public InvokedynamicCodeCompiler(Module module, boolean print_results) {
		super(module, print_results);
	}
	
	// just use indy functions to make sure the build process is proper.
	public void foo(){
		Class mhClazz = MethodHandles.class;
		MethodType target = null;
		new MutableCallSite(target);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy