public class MixinsModel extends Object implements Binder, org.qi4j.functional.VisitableHierarchy<Object,Object>
Modifier and Type | Field and Description |
---|---|
protected Map<Method,MixinModel> |
methodImplementation |
protected Map<Method,Integer> |
methodIndex |
protected List<MixinModel> |
mixinModels |
Constructor and Description |
---|
MixinsModel() |
Modifier and Type | Method and Description |
---|---|
<ThrowableType extends Throwable> |
accept(org.qi4j.functional.HierarchicalVisitor<? super Object,? super Object,ThrowableType> visitor) |
void |
addMethodMixin(Method method,
MixinModel mixinModel) |
void |
addMixinModel(MixinModel mixinModel) |
void |
addMixinType(Class mixinType) |
void |
bind(Resolution resolution) |
Iterable<DependencyModel> |
dependencies() |
MixinModel |
getMixinModel(Class mixinClass) |
Iterable<Method> |
invocationsFor(Class<?> mixinClass) |
<T> boolean |
isImplemented(Class<T> mixinType) |
MixinModel |
mixinFor(Method method) |
List<MixinModel> |
mixinModels() |
Iterable<Class<?>> |
mixinTypes() |
org.qi4j.runtime.composite.FragmentInvocationHandler |
newInvocationHandler(Method method) |
Object[] |
newMixinHolder() |
protected final Map<Method,MixinModel> methodImplementation
protected List<MixinModel> mixinModels
public <T> boolean isImplemented(Class<T> mixinType)
public List<MixinModel> mixinModels()
public MixinModel mixinFor(Method method)
public MixinModel getMixinModel(Class mixinClass)
public void addMixinType(Class mixinType)
public void addMixinModel(MixinModel mixinModel)
public void addMethodMixin(Method method, MixinModel mixinModel)
public <ThrowableType extends Throwable> boolean accept(org.qi4j.functional.HierarchicalVisitor<? super Object,? super Object,ThrowableType> visitor) throws ThrowableType extends Throwable
public void bind(Resolution resolution) throws org.qi4j.bootstrap.BindingException
public Object[] newMixinHolder()
public org.qi4j.runtime.composite.FragmentInvocationHandler newInvocationHandler(Method method)
public Iterable<DependencyModel> dependencies()