Package io.micronaut.inject.writer
Class DispatchWriter.MethodDispatchTarget
java.lang.Object
io.micronaut.inject.writer.DispatchWriter.MethodDispatchTarget
- All Implemented Interfaces:
DispatchWriter.DispatchTarget
- Direct Known Subclasses:
DispatchWriter.InterceptableMethodDispatchTarget
- Enclosing class:
- DispatchWriter
@Internal
public static class DispatchWriter.MethodDispatchTarget
extends Object
implements DispatchWriter.DispatchTarget
Method invocation dispatch target.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
writeDispatchMulti
(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex) Generate dispatch multi.void
writeDispatchOne
(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex) Generate dispatch one.
-
Method Details
-
getMethodElement
-
supportsDispatchOne
public boolean supportsDispatchOne()- Specified by:
supportsDispatchOne
in interfaceDispatchWriter.DispatchTarget
- Returns:
- true if writer supports dispatch one.
-
supportsDispatchMulti
public boolean supportsDispatchMulti()- Specified by:
supportsDispatchMulti
in interfaceDispatchWriter.DispatchTarget
- Returns:
- true if writer supports dispatch multi.
-
writeDispatchMulti
public void writeDispatchMulti(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex) Description copied from interface:DispatchWriter.DispatchTarget
Generate dispatch multi.- Specified by:
writeDispatchMulti
in interfaceDispatchWriter.DispatchTarget
- Parameters:
writer
- The writermethodIndex
- The method index
-
writeDispatchOne
public void writeDispatchOne(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex) Description copied from interface:DispatchWriter.DispatchTarget
Generate dispatch one.- Specified by:
writeDispatchOne
in interfaceDispatchWriter.DispatchTarget
- Parameters:
writer
- The writermethodIndex
- The method index
-