Package io.micronaut.inject.writer
Class DispatchWriter.FieldGetDispatchTarget
java.lang.Object
io.micronaut.inject.writer.DispatchWriter.AbstractDispatchTarget
io.micronaut.inject.writer.DispatchWriter.FieldGetDispatchTarget
- All Implemented Interfaces:
DispatchWriter.DispatchTarget
- Enclosing class:
- DispatchWriter
@Internal
public static final class DispatchWriter.FieldGetDispatchTarget
extends DispatchWriter.AbstractDispatchTarget
Field get dispatch target.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.sourcegen.model.ExpressionDef
dispatchExpression
(io.micronaut.sourcegen.model.ExpressionDef bean) Implements dispatch.getField()
boolean
boolean
Methods inherited from class io.micronaut.inject.writer.DispatchWriter.AbstractDispatchTarget
dispatch, dispatchMultiExpression, dispatchMultiExpression, dispatchOne, dispatchOneExpression
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
dispatch
-
Constructor Details
-
FieldGetDispatchTarget
-
-
Method Details
-
supportsDispatchOne
public boolean supportsDispatchOne()- Returns:
- true if writer supports dispatch one.
-
supportsDispatchMulti
public boolean supportsDispatchMulti()- Returns:
- true if writer supports dispatch multi.
-
getMethodElement
-
getDeclaringType
-
dispatchExpression
public io.micronaut.sourcegen.model.ExpressionDef dispatchExpression(io.micronaut.sourcegen.model.ExpressionDef bean) Description copied from class:DispatchWriter.AbstractDispatchTarget
Implements dispatch.- Overrides:
dispatchExpression
in classDispatchWriter.AbstractDispatchTarget
- Parameters:
bean
- The target- Returns:
- The dispatch expression
-
getField
-