public abstract class SpongeApiUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,DataType> |
createNamedActionArgTypesMap(ActionMeta actionMeta) |
static int |
getActionArgIndex(List<DataType> argTypes,
String argName) |
static List<String> |
getActionArgNameElements(String name) |
static DataType |
getActionArgType(List<DataType> argTypes,
String argName) |
static void |
traverseActionArguments(ActionMeta actionMeta,
Consumer<QualifiedDataType> onType,
boolean namedOnly)
Traverses the action argument types but only through record types.
|
public static Map<String,DataType> createNamedActionArgTypesMap(ActionMeta actionMeta)
public static void traverseActionArguments(ActionMeta actionMeta, Consumer<QualifiedDataType> onType, boolean namedOnly)
actionMeta - the action metadata.onType - the qualified type callback.namedOnly - traverse only through named types.Copyright © 2016–2019 Softelnet. All rights reserved.