Uses of Class
com.blackrook.rookscript.resolvers.hostfunction.ClassMemberFunctionResolver
Package
Description
Contains host function resolvers.
-
Uses of ClassMemberFunctionResolver in com.blackrook.rookscript.resolvers.hostfunction
Modifier and TypeMethodDescriptionClassMemberFunctionResolver.addConstructor
(String functionName, Constructor<C> constructor, boolean errorHandling) Adds a constructor to this resolver, using a specific function name for mapping.ClassMemberFunctionResolver.addConstructor
(String functionName, Constructor<C> constructor, ScriptValue.Type type, boolean errorHandling) Adds a constructor to this resolver, using a specific function name for mapping.ClassMemberFunctionResolver.addConstructor
(String functionName, Constructor<C> constructor, ScriptValue.Type type, boolean errorHandling, ScriptFunctionType.Usage usage) Adds a constructor to this resolver, using a specific function name for mapping.ClassMemberFunctionResolver.addGetterField
(String functionName, Field field, ScriptValue.Type type, boolean errorHandling, ScriptFunctionType.Usage usage) Adds a field getter to this resolver, using specific a function name for mapping.ClassMemberFunctionResolver.addGetterField
(String functionName, String fieldName, ScriptValue.Type type, boolean errorHandling) Adds a field getter to this resolver, using specific a function name for mapping.ClassMemberFunctionResolver.addGetterField
(String functionName, String fieldName, ScriptValue.Type type, boolean errorHandling, ScriptFunctionType.Usage usage) Adds a field getter to this resolver, using specific a function name for mapping.ClassMemberFunctionResolver.addMethod
(String functionName, Method method, ScriptValue.Type type, boolean chained, boolean errorHandling, ScriptFunctionType.Usage usage) Adds a class method to this resolver, using specific a function name for mapping.ClassMemberFunctionResolver.addMethod
(String functionName, String methodName, boolean chained, boolean errorHandling) Adds a class method to this resolver, using specific a function name for mapping.ClassMemberFunctionResolver.addMethod
(String functionName, String methodName, boolean chained, boolean errorHandling, ScriptFunctionType.Usage usage) Adds a class method to this resolver, using specific a function name for mapping.ClassMemberFunctionResolver.addMethod
(String functionName, String methodName, ScriptValue.Type type, boolean chained, boolean errorHandling, ScriptFunctionType.Usage usage) Adds a class method to this resolver, using specific a function name for mapping.ClassMemberFunctionResolver.addSetterField
(String functionName, Field field, boolean chained, boolean errorHandling, ScriptFunctionType.Usage usage) Adds a field setter to this resolver, using specific a function name for mapping.ClassMemberFunctionResolver.addSetterField
(String functionName, String fieldName, boolean chained, boolean errorHandling) Adds a field setter to this resolver, using specific a function name for mapping.ClassMemberFunctionResolver.addSetterField
(String functionName, String fieldName, boolean chained, boolean errorHandling, ScriptFunctionType.Usage usage) Adds a field setter to this resolver, using specific a function name for mapping.static <C> ClassMemberFunctionResolver<C>
ClassMemberFunctionResolver.create
(Class<C> classType, String getterPrefix, String setterPrefix, String methodPrefix, boolean chained, boolean errorHandling) Builds a function resolver from a class, obeying annotations on the class.