|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.template.soy.shared.internal.ModuleUtils
public class ModuleUtils
Utilities for Guice modules (SharedModule, TofuModule, JsSrcModule, JavaSrcModule, etc).
Important: Do not use outside of Soy code (treat as superpackage-private).
| Method Summary | ||
|---|---|---|
static
|
buildSpecificSoyDirectivesMap(Class<T> specificSoyDirectiveType,
Set<SoyPrintDirective> soyDirectivesSet)
Given a specific Soy directive type (subtype of SoyPrintDirective) and the set of all Soy directive implementations, finds the Soy directives that implement the specific type and returns them in the form of a map from directive name to directive. |
|
static
|
buildSpecificSoyFunctionsMap(Class<T> specificSoyFunctionType,
Set<SoyFunction> soyFunctionsSet)
Given a specific Soy function type (subtype of SoyFunction) and the set of all Soy function implementations, finds the Soy functions that implement the specific type and returns them in the form of a map from function name to function. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T extends SoyFunction> Map<String,T> buildSpecificSoyFunctionsMap(Class<T> specificSoyFunctionType,
Set<SoyFunction> soyFunctionsSet)
specificSoyFunctionType - The specific Soy function type to filter for.soyFunctionsSet - The set of all Soy functions.
public static <T extends SoyPrintDirective> Map<String,T> buildSpecificSoyDirectivesMap(Class<T> specificSoyDirectiveType,
Set<SoyPrintDirective> soyDirectivesSet)
specificSoyDirectiveType - The specific Soy directive type to filter for.soyDirectivesSet - The set of all Soy directives.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||