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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.inject.writer.DispatchWriter.DispatchTarget
writeDispatchOne
-
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
-