|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.runners.model.FrameworkField
public class FrameworkField
Represents a field on a test class (currently used only for Rules in
BlockJUnit4ClassRunner
, but custom runners can make other uses)
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getName()
public Annotation[] getAnnotations()
public boolean isPublic()
public boolean isShadowedBy(FrameworkField otherMember)
public boolean isStatic()
public Field getField()
public Class<?> getType()
Field.getType()
public Object get(Object target) throws IllegalArgumentException, IllegalAccessException
target
IllegalArgumentException
IllegalAccessException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |