Package io.micronaut.inject.writer
Class DispatchWriter.FieldGetDispatchTarget
java.lang.Object
io.micronaut.inject.writer.DispatchWriter.FieldGetDispatchTarget
- All Implemented Interfaces:
DispatchWriter.DispatchTarget
- Enclosing class:
- DispatchWriter
@Internal
public static final class DispatchWriter.FieldGetDispatchTarget
extends Object
implements DispatchWriter.DispatchTarget
Field get dispatch target.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetField()
boolean
boolean
void
writeDispatchOne
(org.objectweb.asm.commons.GeneratorAdapter writer, int fieldIndex) 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
writeDispatchMulti, writeDispatchOne
-
Constructor Details
-
FieldGetDispatchTarget
-
-
Method Details
-
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.
-
writeDispatchOne
public void writeDispatchOne(org.objectweb.asm.commons.GeneratorAdapter writer, int fieldIndex) Description copied from interface:DispatchWriter.DispatchTarget
Generate dispatch one.- Specified by:
writeDispatchOne
in interfaceDispatchWriter.DispatchTarget
- Parameters:
writer
- The writerfieldIndex
- The method index
-
getField
-