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) int
Class
<?> getType()
boolean
isAnnotationPresent
(Class<? extends Annotation> clazz) boolean
isShared()
boolean
isStatic()
void
setOrdinal
(int ordinal) void
writeValue
(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
-