public interface FieldAnnotationProcessor
|Modifier and Type||Method and Description|
Returns the trigger-annotation which is used to identify fields of interest.
Invoked for each field which contains the trigger-annotation.
@Nonnull Class<? extends Annotation> getTrigger()
void handle(@Nonnull MutableGlobalContext ctx, @Nullable Object object, @Nonnull Field field) throws Exception
ctx- the context which can be used to fetch parts from
object- the object which should be filled. Can be null when processing static fields.
field- the field to be processed
Exception- if a part cannot be resolved or the field cannot be filled
Copyright © 2018. All rights reserved.