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 TypeMethodDescriptionvoidaddInterceptor(IMethodInterceptor interceptor) getKind()booleanhasBytecodeName(String name) voidsetFeature(FeatureInfo feature) voidsetKind(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:
getInterceptorsin interfaceIInterceptable
-
addInterceptor
- Specified by:
addInterceptorin interfaceIInterceptable
-
hasBytecodeName
-