public static final class ItemGroupModifier.Factory extends Object
ItemGroupModifier
instances.Modifier and Type | Method and Description |
---|---|
static <G extends ItemGroup<I>,I extends TopLevelItem> |
get(Class<G> targetClass)
Returns the most appropriate
ItemGroupModifier for the supplied type of ItemGroup . |
public static <G extends ItemGroup<I>,I extends TopLevelItem> ItemGroupModifier<G,I> get(Class<G> targetClass)
ItemGroupModifier
for the supplied type of ItemGroup
.G
- the type of item group.I
- the type of item,targetClass
- the ItemGroup
to get the injector for.ItemGroupModifier
for the supplied ItemGroup
or
null
if no injector is available.Copyright © 2016–2020. All rights reserved.