fit

Class TypeAdapter

public class TypeAdapter extends Object

Field Summary
Fieldfield
Fixturefixture
Methodmethod
Objecttarget
Classtype
Method Summary
static TypeAdapteradapterFor(Class type)
booleanequals(Object a, Object b)
Objectget()
protected voidinit(Fixture fixture, Class type)
Objectinvoke()
static TypeAdapteron(Fixture target, Class type)
static TypeAdapteron(Fixture fixture, Field field)
static TypeAdapteron(Fixture fixture, Method method)
Objectparse(String s)
voidset(Object value)
StringtoString(Object o)

Field Detail

field

public Field field

fixture

public Fixture fixture

method

public Method method

target

public Object target

type

public Class type

Method Detail

adapterFor

public static TypeAdapter adapterFor(Class type)

equals

public boolean equals(Object a, Object b)

get

public Object get()

init

protected void init(Fixture fixture, Class type)

invoke

public Object invoke()

on

public static TypeAdapter on(Fixture target, Class type)

on

public static TypeAdapter on(Fixture fixture, Field field)

on

public static TypeAdapter on(Fixture fixture, Method method)

parse

public Object parse(String s)

set

public void set(Object value)

toString

public String toString(Object o)