public class Adapters extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Adapters.WithContext |
| Constructor and Description |
|---|
Adapters() |
| Modifier and Type | Method and Description |
|---|---|
static <T,R,P,M> Method |
adaptMethod(M input,
AdapterContextAware ctx) |
static <T,R,P,M> Property |
adaptProperty(P input,
AdapterContextAware ctx) |
static <T,R,P,M> TypeRef |
adaptReference(R input,
AdapterContextAware ctx) |
static <T,R,P,M> TypeDef |
adaptType(T input,
AdapterContextAware ctx) |
static <T,R,P,M> Optional<Adapter<T,R,P,M>> |
getAdapterForMethod(Class type,
AdapterContextAware ctx) |
static <T,R,P,M> Optional<Adapter<T,R,P,M>> |
getAdapterForProperty(Class type,
AdapterContextAware ctx) |
static <T,R,P,M> Optional<Adapter<T,R,P,M>> |
getAdapterForReference(Class type,
AdapterContextAware ctx) |
static <T,R,P,M> Optional<Adapter<T,R,P,M>> |
getAdapterForType(Class type,
AdapterContextAware ctx) |
static Adapters.WithContext |
withContext(AdapterContext ctx) |
public static <T,R,P,M> TypeDef adaptType(T input, AdapterContextAware ctx)
public static <T,R,P,M> TypeRef adaptReference(R input, AdapterContextAware ctx)
public static <T,R,P,M> Property adaptProperty(P input, AdapterContextAware ctx)
public static <T,R,P,M> Method adaptMethod(M input, AdapterContextAware ctx)
public static <T,R,P,M> Optional<Adapter<T,R,P,M>> getAdapterForType(Class type, AdapterContextAware ctx)
public static <T,R,P,M> Optional<Adapter<T,R,P,M>> getAdapterForReference(Class type, AdapterContextAware ctx)
public static <T,R,P,M> Optional<Adapter<T,R,P,M>> getAdapterForProperty(Class type, AdapterContextAware ctx)
public static <T,R,P,M> Optional<Adapter<T,R,P,M>> getAdapterForMethod(Class type, AdapterContextAware ctx)
public static Adapters.WithContext withContext(AdapterContext ctx)
Copyright © 2023. All rights reserved.