Class FunctionDecoration
- java.lang.Object
-
- net.officefloor.plugin.section.clazz.loader.FunctionDecoration
-
public class FunctionDecoration extends java.lang.Object
Decoration ofManagedFunction
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description FunctionDecoration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decorateSectionFunction(FunctionClassSectionLoaderContext functionContext)
Decorates theSectionFunction
.java.lang.String
getFunctionName(ManagedFunctionType<?,?> functionType, ClassSectionLoaderContext loaderContext)
Obtains theManagedFunction
name from theManagedFunctionType
.boolean
isIncludeFunction(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:
true
to include theManagedFunctionType
.
-
getFunctionName
public java.lang.String getFunctionName(ManagedFunctionType<?,?> functionType, ClassSectionLoaderContext loaderContext)
Obtains theManagedFunction
name from theManagedFunctionType
.- Parameters:
functionType
-ManagedFunctionType
.loaderContext
-ClassSectionLoaderContext
.- Returns:
ManagedFunction
name.
-
decorateSectionFunction
public void decorateSectionFunction(FunctionClassSectionLoaderContext functionContext)
Decorates theSectionFunction
.- Parameters:
functionContext
-FunctionClassSectionLoaderContext
.
-
-