Package org.teavm.platform.plugin
Class AsyncMethodGenerator
java.lang.Object
org.teavm.platform.plugin.AsyncMethodGenerator
- All Implemented Interfaces:
Generator
,VirtualMethodContributor
,DependencyPlugin
public class AsyncMethodGenerator
extends Object
implements Generator, DependencyPlugin, VirtualMethodContributor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
generate(GeneratorContext context, SourceWriter writer, MethodReference methodRef)
boolean
isVirtual(VirtualMethodContributorContext context, MethodReference methodRef)
void
methodReached(DependencyAgent agent, MethodDependency method)
-
Constructor Details
-
AsyncMethodGenerator
public AsyncMethodGenerator()
-
-
Method Details
-
generate
public void generate(GeneratorContext context, SourceWriter writer, MethodReference methodRef) throws IOException- Specified by:
generate
in interfaceGenerator
- Throws:
IOException
-
methodReached
- Specified by:
methodReached
in interfaceDependencyPlugin
-
isVirtual
- Specified by:
isVirtual
in interfaceVirtualMethodContributor
-