Package org.spockframework.runtime.model
Class FieldInfo
java.lang.Object
org.spockframework.runtime.model.NodeInfo<SpecInfo,Field>
org.spockframework.runtime.model.FieldInfo
Runtime information about a field in a Spock specification.
- Author:
- Peter Niederwieser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation(Class<T> clazz) intClass<?>getType()booleanisAnnotationPresent(Class<? extends Annotation> clazz) booleanisShared()booleanisStatic()voidsetOrdinal(int ordinal) voidwriteValue(Object target, Object value) Methods inherited from class org.spockframework.runtime.model.NodeInfo
getDescription, getLine, getMetadata, getName, getParent, getReflection, isStub, setDescription, setLine, setMetadata, setName, setParent, setReflection
-
Constructor Details
-
FieldInfo
public FieldInfo()
-
-
Method Details
-
getOrdinal
public int getOrdinal() -
setOrdinal
public void setOrdinal(int ordinal) -
getType
-
isStatic
public boolean isStatic() -
getAnnotation
-
isAnnotationPresent
-
readValue
-
writeValue
-