public class FinderInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
javax.lang.model.element.TypeElement |
injectorClass
The class annotated with
Patch that contains the finder. |
javax.lang.model.element.VariableElement |
proxy
The
VariableElement that is annotated. |
Target |
targetAnn
The
Target annotation that points to this (nullable). |
javax.lang.model.element.ExecutableElement |
targetStub
The
ExecutableElement the variable element is referring to (nullable). |
| Constructor and Description |
|---|
FinderInfo(javax.lang.model.element.TypeElement injectorClass,
javax.lang.model.element.VariableElement proxy,
javax.lang.model.element.ExecutableElement targetStub,
Target targetAnn)
Public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendToMethodSpec(MethodSpec.Builder methodBuilder,
boolean local,
ProcessorOptions options)
Appends to a given
MethodSpec.Builder the definitions for a proxy. |
public final javax.lang.model.element.TypeElement injectorClass
Patch that contains the finder.public final javax.lang.model.element.VariableElement proxy
VariableElement that is annotated.public final javax.lang.model.element.ExecutableElement targetStub
ExecutableElement the variable element is referring to (nullable).public FinderInfo(javax.lang.model.element.TypeElement injectorClass,
javax.lang.model.element.VariableElement proxy,
javax.lang.model.element.ExecutableElement targetStub,
Target targetAnn)
public void appendToMethodSpec(MethodSpec.Builder methodBuilder, boolean local, ProcessorOptions options)
MethodSpec.Builder the definitions for a proxy.methodBuilder - the MethodSpec.Builder to append tolocal - whether to initialize them as local variablesoptions - the ProcessorOptions to be used