public final class HelperValidator extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkParams(Class<?> helperClazz,
HelperDefinition definition,
int paramSize) |
static void |
checkType(Class<?> helperClazz,
HelperDefinition definition,
MustacheTagType... allowedTypes) |
public static void checkParams(Class<?> helperClazz, HelperDefinition definition, int paramSize)
helperClazz - definition - paramSize - MustacheException - If the helper tag paramspublic static void checkType(Class<?> helperClazz, HelperDefinition definition, MustacheTagType... allowedTypes)
helperClazz - definition - allowedTypes - MustacheException - If the helper tag type does not match any one of the
specified typesCopyright © 2014. All Rights Reserved.