JBoss Reflection 2.2.1.SP1

org.jboss.reflect.plugins.bytecode.accessor
Interface FieldAccessor


public interface FieldAccessor

JavassistField

Will typically be implemented by a generated class to read/write a particular target field

Version:
$Revision: 102910 $
Author:
Adrian Brock

Method Summary
 Object get(Object target)
          Get the field
 void set(Object target, Object value)
          Set the field
 

Method Detail

get

Object get(Object target)
           throws Throwable
Get the field

Parameters:
target - the target
Returns:
the result
Throws:
Throwable - for any error

set

void set(Object target,
         Object value)
         throws Throwable
Set the field

Parameters:
target - the target
value - the value
Throws:
Throwable - for any error

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.