org.spockframework.runtime.model
Class MethodInfo

java.lang.Object
  extended by org.spockframework.runtime.model.NodeInfo<SpecInfo,java.lang.reflect.Method>
      extended by 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

Constructor Summary
MethodInfo()
           
 
Method Summary
 void addInterceptor(IMethodInterceptor interceptor)
           
 FeatureInfo getFeature()
           
 java.util.List<IMethodInterceptor> getInterceptors()
           
 MethodKind getKind()
           
 boolean hasBytecodeName(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInfo

public MethodInfo()
Method Detail

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