public class FrameworkField extends FrameworkMember<FrameworkField>
BlockJUnit4ClassRunner
, but custom runners can make other uses)Modifier and Type | Method and Description |
---|---|
Object |
get(Object target)
Attempts to retrieve the value of this field on
target |
Annotation[] |
getAnnotations()
Returns the annotations on this method
|
Field |
getField() |
String |
getName() |
Class<?> |
getType() |
boolean |
isPublic() |
boolean |
isShadowedBy(FrameworkField otherMember) |
boolean |
isStatic() |
public String getName()
getName
in class FrameworkMember<FrameworkField>
public Annotation[] getAnnotations()
FrameworkMember
public boolean isPublic()
isPublic
in class FrameworkMember<FrameworkField>
public boolean isShadowedBy(FrameworkField otherMember)
public boolean isStatic()
isStatic
in class FrameworkMember<FrameworkField>
public Field getField()
public Class<?> getType()
getType
in class FrameworkMember<FrameworkField>
Field.getType()
public Object get(Object target) throws IllegalArgumentException, IllegalAccessException
target