|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 | |
---|---|
java.lang.Object |
get(java.lang.Object target)
Attempts to retrieve the value of this field on target |
java.lang.annotation.Annotation[] |
getAnnotations()
Returns the annotations on this method |
java.lang.reflect.Field |
getField()
|
boolean |
isShadowedBy(FrameworkField otherMember)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.annotation.Annotation[] getAnnotations()
public boolean isShadowedBy(FrameworkField otherMember)
public java.lang.reflect.Field getField()
public java.lang.Object get(java.lang.Object target) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException
target
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |