APIdia Launch Partner
Top Description Methods
jdk.internal.reflect

public Interface FieldAccessor

Known Direct Implementers
jdk.internal.reflect.FieldAccessorImpl

This interface provides the declarations for the accessor methods of java.lang.reflect.Field. Each Field object is configured with a (possibly dynamically-generated) class which implements this interface.

Method Summary

Modifier and TypeMethod and Description
public Object
get(Object obj)

Matches specification in java.lang.reflect.Field

public boolean
getBoolean(Object obj)

Matches specification in java.lang.reflect.Field

public byte
getByte(Object obj)

Matches specification in java.lang.reflect.Field

public char
getChar(Object obj)

Matches specification in java.lang.reflect.Field

public double
getDouble(Object obj)

Matches specification in java.lang.reflect.Field

public float
getFloat(Object obj)

Matches specification in java.lang.reflect.Field

public int
getInt(Object obj)

Matches specification in java.lang.reflect.Field

public long
getLong(Object obj)

Matches specification in java.lang.reflect.Field

public short
getShort(Object obj)

Matches specification in java.lang.reflect.Field

public void
set(Object obj, Object value)

Matches specification in java.lang.reflect.Field

public void
setBoolean(Object obj, boolean z)

Matches specification in java.lang.reflect.Field

public void
setByte(Object obj, byte b)

Matches specification in java.lang.reflect.Field

public void
setChar(Object obj, char c)

Matches specification in java.lang.reflect.Field

public void
setDouble(Object obj, double d)

Matches specification in java.lang.reflect.Field

public void
setFloat(Object obj, float f)

Matches specification in java.lang.reflect.Field

public void
setInt(Object obj, int i)

Matches specification in java.lang.reflect.Field

public void
setLong(Object obj, long l)

Matches specification in java.lang.reflect.Field

public void
setShort(Object obj, short s)

Matches specification in java.lang.reflect.Field

Method Detail

getback to summary
public Object get(Object obj) throws IllegalArgumentException

Matches specification in java.lang.reflect.Field

getBooleanback to summary
public boolean getBoolean(Object obj) throws IllegalArgumentException

Matches specification in java.lang.reflect.Field

getByteback to summary
public byte getByte(Object obj) throws IllegalArgumentException

Matches specification in java.lang.reflect.Field

getCharback to summary
public char getChar(Object obj) throws IllegalArgumentException

Matches specification in java.lang.reflect.Field

getDoubleback to summary
public double getDouble(Object obj) throws IllegalArgumentException

Matches specification in java.lang.reflect.Field

getFloatback to summary
public float getFloat(Object obj) throws IllegalArgumentException

Matches specification in java.lang.reflect.Field

getIntback to summary
public int getInt(Object obj) throws IllegalArgumentException

Matches specification in java.lang.reflect.Field

getLongback to summary
public long getLong(Object obj) throws IllegalArgumentException

Matches specification in java.lang.reflect.Field

getShortback to summary
public short getShort(Object obj) throws IllegalArgumentException

Matches specification in java.lang.reflect.Field

setback to summary
public void set(Object obj, Object value) throws IllegalArgumentException, IllegalAccessException

Matches specification in java.lang.reflect.Field

setBooleanback to summary
public void setBoolean(Object obj, boolean z) throws IllegalArgumentException, IllegalAccessException

Matches specification in java.lang.reflect.Field

setByteback to summary
public void setByte(Object obj, byte b) throws IllegalArgumentException, IllegalAccessException

Matches specification in java.lang.reflect.Field

setCharback to summary
public void setChar(Object obj, char c) throws IllegalArgumentException, IllegalAccessException

Matches specification in java.lang.reflect.Field

setDoubleback to summary
public void setDouble(Object obj, double d) throws IllegalArgumentException, IllegalAccessException

Matches specification in java.lang.reflect.Field

setFloatback to summary
public void setFloat(Object obj, float f) throws IllegalArgumentException, IllegalAccessException

Matches specification in java.lang.reflect.Field

setIntback to summary
public void setInt(Object obj, int i) throws IllegalArgumentException, IllegalAccessException

Matches specification in java.lang.reflect.Field

setLongback to summary
public void setLong(Object obj, long l) throws IllegalArgumentException, IllegalAccessException

Matches specification in java.lang.reflect.Field

setShortback to summary
public void setShort(Object obj, short s) throws IllegalArgumentException, IllegalAccessException

Matches specification in java.lang.reflect.Field