Class AbstractRuleExtension
java.lang.Object
org.spockframework.runtime.extension.builtin.AbstractRuleExtension
- All Implemented Interfaces:
IGlobalExtension
- Direct Known Subclasses:
ClassRuleExtension
,RuleExtension
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Class
<? extends Annotation> protected static Class
<?> protected static Class
<? extends Annotation> protected static Class
<?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkIsInstanceField
(FieldInfo field) protected void
checkIsSharedField
(FieldInfo field) protected boolean
hasFieldType
(FieldInfo field, Class<?> ruleClass) protected void
invalidFieldType
(FieldInfo field) 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.IGlobalExtension
visitSpec
-
Field Details
-
ruleClass
-
classRuleClass
-
methodRuleClass
-
testRuleClass
-
-
Constructor Details
-
AbstractRuleExtension
public AbstractRuleExtension()
-
-
Method Details
-
checkIsInstanceField
-
hasFieldType
-
invalidFieldType
-