org.hibernate.bytecode.javassist
Interface FieldFilter


public interface FieldFilter

Contract for deciding whether fields should be read and/or write intercepted.

Author:
Muga Nishizawa

Method Summary
 boolean handleRead(String desc, String name)
          Should the given field be read intercepted?
 boolean handleWrite(String desc, String name)
          Should the given field be write intercepted?
 

Method Detail

handleRead

boolean handleRead(String desc,
                   String name)
Should the given field be read intercepted?

Parameters:
desc -
name -
Returns:
true if the given field should be read intercepted; otherwise false.

handleWrite

boolean handleWrite(String desc,
                    String name)
Should the given field be write intercepted?

Parameters:
desc -
name -
Returns:
true if the given field should be write intercepted; otherwise false.