Package io.micronaut.inject.writer
Interface DispatchWriter.DispatchTarget
- All Known Implementing Classes:
DispatchWriter.FieldGetDispatchTarget
,DispatchWriter.FieldSetDispatchTarget
,DispatchWriter.InterceptableMethodDispatchTarget
,DispatchWriter.MethodDispatchTarget
- Enclosing class:
- DispatchWriter
Dispatch target implementation writer.
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
default boolean
default void
writeDispatchMulti
(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex) Generate dispatch multi.default void
writeDispatchOne
(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex) Generate dispatch one.
-
Method Details
-
supportsDispatchOne
default boolean supportsDispatchOne()- Returns:
- true if writer supports dispatch one.
-
writeDispatchOne
default void writeDispatchOne(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex) Generate dispatch one.- Parameters:
methodIndex
- The method indexwriter
- The writer
-
supportsDispatchMulti
default boolean supportsDispatchMulti()- Returns:
- true if writer supports dispatch multi.
-
writeDispatchMulti
default void writeDispatchMulti(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex) Generate dispatch multi.- Parameters:
writer
- The writermethodIndex
- The method index
-