Package io.sundr.adapter.apt
Class AptAdapter
- java.lang.Object
-
- io.sundr.adapter.apt.AptAdapter
-
- All Implemented Interfaces:
io.sundr.adapter.api.Adapter<TypeElement,TypeMirror,VariableElement,ExecutableElement>
public class AptAdapter extends Object implements io.sundr.adapter.api.Adapter<TypeElement,TypeMirror,VariableElement,ExecutableElement>
-
-
Constructor Summary
Constructors Constructor Description AptAdapter(io.sundr.adapter.api.AdapterContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function<ExecutableElement,io.sundr.model.Method>getMethodAdapterFunction()Function<VariableElement,io.sundr.model.Property>getPropertyAdapterFunction()Function<TypeMirror,io.sundr.model.TypeRef>getReferenceAdapterFunction()Function<TypeElement,io.sundr.model.TypeDef>getTypeAdapterFunction()
-
-
-
Method Detail
-
getTypeAdapterFunction
public Function<TypeElement,io.sundr.model.TypeDef> getTypeAdapterFunction()
- Specified by:
getTypeAdapterFunctionin interfaceio.sundr.adapter.api.Adapter<TypeElement,TypeMirror,VariableElement,ExecutableElement>
-
getReferenceAdapterFunction
public Function<TypeMirror,io.sundr.model.TypeRef> getReferenceAdapterFunction()
- Specified by:
getReferenceAdapterFunctionin interfaceio.sundr.adapter.api.Adapter<TypeElement,TypeMirror,VariableElement,ExecutableElement>
-
getPropertyAdapterFunction
public Function<VariableElement,io.sundr.model.Property> getPropertyAdapterFunction()
- Specified by:
getPropertyAdapterFunctionin interfaceio.sundr.adapter.api.Adapter<TypeElement,TypeMirror,VariableElement,ExecutableElement>
-
getMethodAdapterFunction
public Function<ExecutableElement,io.sundr.model.Method> getMethodAdapterFunction()
- Specified by:
getMethodAdapterFunctionin interfaceio.sundr.adapter.api.Adapter<TypeElement,TypeMirror,VariableElement,ExecutableElement>
-
-