org.spockframework.runtime.model
Class FieldInfo
java.lang.Object
org.spockframework.runtime.model.NodeInfo<SpecInfo,java.lang.reflect.Field>
org.spockframework.runtime.model.FieldInfo
public class FieldInfo
- extends NodeInfo<SpecInfo,java.lang.reflect.Field>
Runtime information about a field in a Spock specification.
- Author:
- Peter Niederwieser
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 |
FieldInfo
public FieldInfo()
getOrdinal
public int getOrdinal()
setOrdinal
public void setOrdinal(int ordinal)
getType
public java.lang.Class<?> getType()
isStatic
public boolean isStatic()
isShared
public boolean isShared()
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> clazz)
isAnnotationPresent
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> clazz)
readValue
public java.lang.Object readValue(java.lang.Object target)
writeValue
public void writeValue(java.lang.Object target,
java.lang.Object value)
Copyright © 2013. All rights reserved