Class ClassSectionParameterInterrogation
- java.lang.Object
-
- net.officefloor.plugin.section.clazz.parameter.ClassSectionParameterInterrogation
-
- All Implemented Interfaces:
ClassSectionParameterInterrogatorContext
public class ClassSectionParameterInterrogation extends java.lang.Object implements ClassSectionParameterInterrogatorContext
Utility to determine ifParameter
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ClassSectionParameterInterrogation(ManagedFunctionObjectType<?> functionObject, SourceContext context)
Instantiate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedFunctionObjectType<?>
getManagedFunctionObjectType()
Obtains theManagedFunctionObjectType
.SourceContext
getSourceContext()
Obtains theSourceContext
.static boolean
isParameter(ManagedFunctionObjectType<?> functionObject, SourceContext sourceContext, ClassSectionParameterInterrogator interrogator)
Indicates if parameter.
-
-
-
Constructor Detail
-
ClassSectionParameterInterrogation
public ClassSectionParameterInterrogation(ManagedFunctionObjectType<?> functionObject, SourceContext context)
Instantiate.- Parameters:
functionObject
-ManagedFunctionObjectType
.context
-SourceContext
.
-
-
Method Detail
-
isParameter
public static boolean isParameter(ManagedFunctionObjectType<?> functionObject, SourceContext sourceContext, ClassSectionParameterInterrogator interrogator) throws java.lang.Exception
Indicates if parameter.- Parameters:
functionObject
-ManagedFunctionObjectType
.sourceContext
-SourceContext
.interrogator
-ClassSectionParameterInterrogator
.- Returns:
true
if parameter.- Throws:
java.lang.Exception
- If fails to determine if parameter.
-
getManagedFunctionObjectType
public ManagedFunctionObjectType<?> getManagedFunctionObjectType()
Description copied from interface:ClassSectionParameterInterrogatorContext
Obtains theManagedFunctionObjectType
.- Specified by:
getManagedFunctionObjectType
in interfaceClassSectionParameterInterrogatorContext
- Returns:
ManagedFunctionObjectType
.
-
getSourceContext
public SourceContext getSourceContext()
Description copied from interface:ClassSectionParameterInterrogatorContext
Obtains theSourceContext
.- Specified by:
getSourceContext
in interfaceClassSectionParameterInterrogatorContext
- Returns:
SourceContext
.
-
-