Package ru.proninyaroslav.template
Class FuncMap
java.lang.Object
ru.proninyaroslav.template.FuncMap
Provides functions, that are executed inside the template.
Defining the mapping from names to methods (that can be mapping from
names to list of overridden methods). Methods can only be static
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFind function (or functions, if it is overridden) by alias name and returns itgetAll()voidFind static method (or methods, if it is overridden) in the specified class and put it in the map.voidvoid
-
Constructor Details
-
FuncMap
public FuncMap()
-
-
Method Details
-
put
Find static method (or methods, if it is overridden) in the specified class and put it in the map. The alias is used to call function- Parameters:
alias- alias of methodmethodName- method namec- class type
-
put
-
put
-
get
Find function (or functions, if it is overridden) by alias name and returns it- Parameters:
alias- alias of function- Returns:
- functions list
-
contains
-
getAll
-