Class AbstractRuleInterceptor
- java.lang.Object
-
- org.spockframework.runtime.extension.builtin.AbstractRuleInterceptor
-
- All Implemented Interfaces:
IMethodInterceptor
- Direct Known Subclasses:
ClassRuleInterceptor
,MethodRuleInterceptor
,TestRuleInterceptor
public abstract class AbstractRuleInterceptor extends java.lang.Object implements IMethodInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<FieldInfo>
ruleFields
-
Constructor Summary
Constructors Constructor Description AbstractRuleInterceptor(java.util.List<FieldInfo> ruleFields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.junit.runners.model.Statement
createBaseStatement(IMethodInvocation invocation)
protected java.lang.Object
getRuleInstance(FieldInfo field, java.lang.Object fieldTarget)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.spockframework.runtime.extension.IMethodInterceptor
intercept
-
-
-
-
Field Detail
-
ruleFields
protected final java.util.List<FieldInfo> ruleFields
-
-
Constructor Detail
-
AbstractRuleInterceptor
public AbstractRuleInterceptor(java.util.List<FieldInfo> ruleFields)
-
-
Method Detail
-
createBaseStatement
protected org.junit.runners.model.Statement createBaseStatement(IMethodInvocation invocation)
-
getRuleInstance
protected java.lang.Object getRuleInstance(FieldInfo field, java.lang.Object fieldTarget)
-
-