|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mockito.internal.util.reflection.FieldInitializationReport
public class FieldInitializationReport
Report on field initialization
Constructor Summary | |
---|---|
FieldInitializationReport(java.lang.Object fieldInstance,
boolean wasInitialized,
boolean wasInitializedUsingConstructorArgs)
|
Method Summary | |
---|---|
java.lang.Class<?> |
fieldClass()
Returns the class of the actual instance in the field. |
java.lang.Object |
fieldInstance()
Returns the actual field instance. |
boolean |
fieldWasInitialized()
Indicate wether the field was created during the process or not. |
boolean |
fieldWasInitializedUsingContructorArgs()
Indicate wether the field was created using constructor args. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldInitializationReport(java.lang.Object fieldInstance, boolean wasInitialized, boolean wasInitializedUsingConstructorArgs)
Method Detail |
---|
public java.lang.Object fieldInstance()
public boolean fieldWasInitialized()
true
if created, false
if the field did already hold an instance.public boolean fieldWasInitializedUsingContructorArgs()
true
if field was created using constructor parameters.public java.lang.Class<?> fieldClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |