Package net.officefloor.polyglot.kotlin
Class KotlinManagedFunctionSource
- java.lang.Object
-
- net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
-
- net.officefloor.plugin.managedfunction.clazz.AbstractFunctionManagedFunctionSource
-
- net.officefloor.plugin.section.clazz.SectionClassManagedFunctionSource
-
- net.officefloor.polyglot.kotlin.KotlinManagedFunctionSource
-
- All Implemented Interfaces:
ManagedFunctionSource
public class KotlinManagedFunctionSource extends SectionClassManagedFunctionSource
KotlinManagedFunctionSource
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KotlinManagedFunctionSource.KotlinManagedFunctionFactory
ManagedFunctionFactory
for overridingClassManagedFunctionSource
behaviour.protected class
KotlinManagedFunctionSource.KotlinMethodManagedFunctionBuilder
-
Nested classes/interfaces inherited from class net.officefloor.plugin.section.clazz.SectionClassManagedFunctionSource
SectionClassManagedFunctionSource.SectionManagedFunctionFactory, SectionClassManagedFunctionSource.SectionMethodManagedFunctionBuilder
-
Nested classes/interfaces inherited from class net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
AbstractManagedFunctionSource.SpecificationContext
-
-
Field Summary
-
Fields inherited from class net.officefloor.plugin.managedfunction.clazz.AbstractFunctionManagedFunctionSource
CLASS_NAME_PROPERTY_NAME, PROPERTY_FUNCTION_NAME
-
-
Constructor Summary
Constructors Constructor Description KotlinManagedFunctionSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MethodManagedFunctionBuilder
createMethodManagedFunctionBuilder(FunctionNamespaceBuilder namespaceBuilder, ManagedFunctionSourceContext context)
Creates theMethodManagedFunctionBuilder
.protected MethodManagedFunctionBuilder.MethodObjectInstanceManufacturer
createMethodObjectInstanceManufacturer(java.lang.Class<?> clazz)
-
Methods inherited from class net.officefloor.plugin.managedfunction.clazz.AbstractFunctionManagedFunctionSource
loadSpecification, sourceManagedFunctions
-
Methods inherited from class net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
getSpecification
-
-
-
-
Method Detail
-
createMethodObjectInstanceManufacturer
protected MethodManagedFunctionBuilder.MethodObjectInstanceManufacturer createMethodObjectInstanceManufacturer(java.lang.Class<?> clazz) throws java.lang.Exception
Description copied from class:AbstractFunctionManagedFunctionSource
- Overrides:
createMethodObjectInstanceManufacturer
in classAbstractFunctionManagedFunctionSource
- Parameters:
clazz
-Class
.- Returns:
MethodManagedFunctionBuilder.MethodObjectInstanceManufacturer
.- Throws:
java.lang.Exception
- If fails to createMethodManagedFunctionBuilder.MethodObjectInstanceManufacturer
.
-
createMethodManagedFunctionBuilder
protected MethodManagedFunctionBuilder createMethodManagedFunctionBuilder(FunctionNamespaceBuilder namespaceBuilder, ManagedFunctionSourceContext context) throws java.lang.Exception
Description copied from class:AbstractFunctionManagedFunctionSource
Creates theMethodManagedFunctionBuilder
.- Overrides:
createMethodManagedFunctionBuilder
in classSectionClassManagedFunctionSource
- Parameters:
namespaceBuilder
-FunctionNamespaceBuilder
.context
-ManagedFunctionSourceContext
.- Returns:
MethodManagedFunctionBuilder
.- Throws:
java.lang.Exception
- If fails to createMethodManagedFunctionBuilder
.
-
-