org.spockframework.runtime.model
Class MethodInfo
java.lang.Object
org.spockframework.runtime.model.NodeInfo<SpecInfo,java.lang.reflect.Method>
org.spockframework.runtime.model.MethodInfo
- All Implemented Interfaces:
- IInterceptable
public class MethodInfo
- extends NodeInfo<SpecInfo,java.lang.reflect.Method>
- implements IInterceptable
Runtime information about a method in a Spock specification.
- Author:
- Peter Niederwieser
Methods inherited from class org.spockframework.runtime.model.NodeInfo |
getDescription, getLine, getMetadata, getName, getParent, getReflection, isStub, setDescription, setLine, setMetadata, setName, setParent, setReflection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInfo
public MethodInfo()
getKind
public MethodKind getKind()
setKind
public void setKind(MethodKind kind)
getFeature
public FeatureInfo getFeature()
setFeature
public void setFeature(FeatureInfo feature)
getInterceptors
public java.util.List<IMethodInterceptor> getInterceptors()
- Specified by:
getInterceptors
in interface IInterceptable
addInterceptor
public void addInterceptor(IMethodInterceptor interceptor)
- Specified by:
addInterceptor
in interface IInterceptable
hasBytecodeName
public boolean hasBytecodeName(java.lang.String name)
Copyright © 2013. All rights reserved