Class StatePointImpl
- java.lang.Object
-
- net.officefloor.plugin.clazz.state.StatePointImpl
-
- All Implemented Interfaces:
StatePoint
public class StatePointImpl extends java.lang.Object implements StatePoint
StatePointimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description StatePointImpl(StatePoint statePoint)Allows extension of theStatePoint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.ExecutablegetExecutable()Obtains theExecutable.intgetExecutableParameterIndex()Obtains the index of the parameter on theExecutable.java.lang.reflect.FieldgetField()Obtains theField.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.plugin.clazz.state.StatePoint
getAnnotatedElement, toLocation
-
-
-
-
Constructor Detail
-
StatePointImpl
public StatePointImpl(StatePoint statePoint)
Allows extension of theStatePoint.- Parameters:
statePoint-StatePoint.
-
-
Method Detail
-
getField
public java.lang.reflect.Field getField()
Description copied from interface:StatePointObtains theField.- Specified by:
getFieldin interfaceStatePoint- Returns:
Field. Will benullifExecutable.
-
getExecutable
public java.lang.reflect.Executable getExecutable()
Description copied from interface:StatePointObtains theExecutable. Typically this is either theConstructororMethodloading the dependency.- Specified by:
getExecutablein interfaceStatePoint- Returns:
Executable. Will benullifField.
-
getExecutableParameterIndex
public int getExecutableParameterIndex()
Description copied from interface:StatePointObtains the index of the parameter on theExecutable.- Specified by:
getExecutableParameterIndexin interfaceStatePoint- Returns:
- Index of the parameter on the
Executable.
-
-