Package org.spockframework.runtime.model
Class MethodInfo
java.lang.Object
org.spockframework.runtime.model.NodeInfo<SpecInfo,Method>
org.spockframework.runtime.model.MethodInfo
- All Implemented Interfaces:
IInterceptable
Runtime information about a method in a Spock specification.
- Author:
- Peter Niederwieser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptor
(IMethodInterceptor interceptor) getKind()
boolean
hasBytecodeName
(String name) void
setFeature
(FeatureInfo feature) void
setKind
(MethodKind kind) Methods inherited from class org.spockframework.runtime.model.NodeInfo
getDescription, getLine, getMetadata, getName, getParent, getReflection, isStub, setDescription, setLine, setMetadata, setName, setParent, setReflection
-
Constructor Details
-
MethodInfo
public MethodInfo()
-
-
Method Details
-
getKind
-
setKind
-
getFeature
-
setFeature
-
getInterceptors
- Specified by:
getInterceptors
in interfaceIInterceptable
-
addInterceptor
- Specified by:
addInterceptor
in interfaceIInterceptable
-
hasBytecodeName
-