Class FunctionDecoration
- java.lang.Object
-
- net.officefloor.plugin.section.clazz.loader.FunctionDecoration
-
public class FunctionDecoration extends java.lang.ObjectDecoration ofManagedFunction.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description FunctionDecoration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecorateSectionFunction(FunctionClassSectionLoaderContext functionContext)Decorates theSectionFunction.java.lang.StringgetFunctionName(ManagedFunctionType<?,?> functionType, ClassSectionLoaderContext loaderContext)Obtains theManagedFunctionname from theManagedFunctionType.booleanisIncludeFunction(ManagedFunctionType<?,?> functionType, ClassSectionLoaderContext loaderContext)Indicates if includeManagedFunctionType.
-
-
-
Method Detail
-
isIncludeFunction
public boolean isIncludeFunction(ManagedFunctionType<?,?> functionType, ClassSectionLoaderContext loaderContext)
Indicates if includeManagedFunctionType.- Parameters:
functionType-ManagedFunctionType.loaderContext-ClassSectionLoaderContext.- Returns:
trueto include theManagedFunctionType.
-
getFunctionName
public java.lang.String getFunctionName(ManagedFunctionType<?,?> functionType, ClassSectionLoaderContext loaderContext)
Obtains theManagedFunctionname from theManagedFunctionType.- Parameters:
functionType-ManagedFunctionType.loaderContext-ClassSectionLoaderContext.- Returns:
ManagedFunctionname.
-
decorateSectionFunction
public void decorateSectionFunction(FunctionClassSectionLoaderContext functionContext)
Decorates theSectionFunction.- Parameters:
functionContext-FunctionClassSectionLoaderContext.
-
-