Class ClassSectionParameterInterrogation
java.lang.Object
net.officefloor.plugin.section.clazz.parameter.ClassSectionParameterInterrogation
- All Implemented Interfaces:
ClassSectionParameterInterrogatorContext
public class ClassSectionParameterInterrogation
extends Object
implements ClassSectionParameterInterrogatorContext
Utility to determine if
Parameter.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionClassSectionParameterInterrogation(ManagedFunctionObjectType<?> functionObject, SourceContext context) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains theManagedFunctionObjectType.Obtains theSourceContext.static booleanisParameter(ManagedFunctionObjectType<?> functionObject, SourceContext sourceContext, ClassSectionParameterInterrogator interrogator) Indicates if parameter.
-
Constructor Details
-
ClassSectionParameterInterrogation
public ClassSectionParameterInterrogation(ManagedFunctionObjectType<?> functionObject, SourceContext context) Instantiate.- Parameters:
functionObject-ManagedFunctionObjectType.context-SourceContext.
-
-
Method Details
-
isParameter
public static boolean isParameter(ManagedFunctionObjectType<?> functionObject, SourceContext sourceContext, ClassSectionParameterInterrogator interrogator) throws Exception Indicates if parameter.- Parameters:
functionObject-ManagedFunctionObjectType.sourceContext-SourceContext.interrogator-ClassSectionParameterInterrogator.- Returns:
trueif parameter.- Throws:
Exception- If fails to determine if parameter.
-
getManagedFunctionObjectType
Description copied from interface:ClassSectionParameterInterrogatorContextObtains theManagedFunctionObjectType.- Specified by:
getManagedFunctionObjectTypein interfaceClassSectionParameterInterrogatorContext- Returns:
ManagedFunctionObjectType.
-
getSourceContext
Description copied from interface:ClassSectionParameterInterrogatorContextObtains theSourceContext.- Specified by:
getSourceContextin interfaceClassSectionParameterInterrogatorContext- Returns:
SourceContext.
-