|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldAccessor
This provides "field" access to getters on a given class. Implementations are generated into byte code (using a switchtable) when a new class is encountered.
Method Summary | |
---|---|
Object |
getFieldByIndex(Object obj,
int idx)
Deprecated. Returns the "field" corresponding to the order in which it is in the object (class). |
Method Detail |
---|
Object getFieldByIndex(Object obj, int idx)
obj
- The object for the field to be extracted from.idx
- The index of the "field". Refer to FieldAccessorMap to get the mapping
of the names of the "fields" to the index value to use for fast lookup.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |