Class FunctionDecoration
java.lang.Object
net.officefloor.plugin.section.clazz.loader.FunctionDecoration
Decoration of
ManagedFunction.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecorateSectionFunction(FunctionClassSectionLoaderContext functionContext) Decorates theSectionFunction.getFunctionName(ManagedFunctionType<?, ?> functionType, ClassSectionLoaderContext loaderContext) Obtains theManagedFunctionname from theManagedFunctionType.booleanisIncludeFunction(ManagedFunctionType<?, ?> functionType, ClassSectionLoaderContext loaderContext) Indicates if includeManagedFunctionType.
-
Constructor Details
-
FunctionDecoration
public FunctionDecoration()
-
-
Method Details
-
isIncludeFunction
public boolean isIncludeFunction(ManagedFunctionType<?, ?> functionType, ClassSectionLoaderContext loaderContext) Indicates if includeManagedFunctionType.- Parameters:
functionType-ManagedFunctionType.loaderContext-ClassSectionLoaderContext.- Returns:
trueto include theManagedFunctionType.
-
getFunctionName
public String getFunctionName(ManagedFunctionType<?, ?> functionType, ClassSectionLoaderContext loaderContext) Obtains theManagedFunctionname from theManagedFunctionType.- Parameters:
functionType-ManagedFunctionType.loaderContext-ClassSectionLoaderContext.- Returns:
ManagedFunctionname.
-
decorateSectionFunction
Decorates theSectionFunction.- Parameters:
functionContext-FunctionClassSectionLoaderContext.
-