Class LambdaPlugin
java.lang.Object
org.robovm.compiler.plugin.Plugin
org.robovm.compiler.plugin.CompilerPlugin
org.robovm.compiler.plugin.AbstractCompilerPlugin
org.robovm.compiler.plugin.lambda.LambdaPlugin
public class LambdaPlugin extends AbstractCompilerPlugin
-
Constructor Summary
Constructors Constructor Description LambdaPlugin() -
Method Summary
Modifier and Type Method Description voidafterClass(Config config, Clazz clazz, ModuleBuilder moduleBuilder)Called after a class has been compiled to LLVM bitcode but before it is converted into machine code.voidbeforeClass(Config config, Clazz clazz, ModuleBuilder moduleBuilder)Called just before a class is about to be compiled.Methods inherited from class org.robovm.compiler.plugin.AbstractCompilerPlugin
afterClassDependenciesResolved, afterLinker, afterMethod, afterObjectFile, beforeConfig, beforeLinker, beforeMethod, getArguments, helloClassMethods inherited from class org.robovm.compiler.plugin.Plugin
argumentValue, argumentValue, argumentValue, parseArguments
-
Constructor Details
-
LambdaPlugin
public LambdaPlugin()
-
-
Method Details
-
afterClass
Description copied from class:CompilerPluginCalled after a class has been compiled to LLVM bitcode but before it is converted into machine code.- Overrides:
afterClassin classAbstractCompilerPlugin- Parameters:
config- the currentConfig.clazz- theClazzbeing compiled.moduleBuilder- theModuleBuilderholding the generated bitcode.- Throws:
IOException
-
beforeClass
public void beforeClass(Config config, Clazz clazz, ModuleBuilder moduleBuilder) throws IOExceptionDescription copied from class:CompilerPluginCalled just before a class is about to be compiled. Modifications to the underlyingSootClass(Clazz.getSootClass()) should be done at this stage.- Overrides:
beforeClassin classAbstractCompilerPlugin- Parameters:
config- the currentConfig.clazz- theClazzbeing compiled.moduleBuilder- theModuleBuilderholding the generated bitcode.- Throws:
IOException
-