FileDocCategorySizeDatePackage
FieldFilter.javaAPI DocHibernate 3.2.51110Thu Aug 03 15:35:26 BST 2006org.hibernate.bytecode.util

FieldFilter

public interface FieldFilter
Used to determine whether a field reference should be instrumented.
author
Steve Ebersole

Fields Summary
Constructors Summary
Methods Summary
public booleanshouldInstrumentField(java.lang.String className, java.lang.String fieldName)
Should this field definition be instrumented?

param
className The name of the class currently being processed
param
fieldName The name of the field being checked.
return
True if we should instrument this field.

public booleanshouldTransformFieldAccess(java.lang.String transformingClassName, java.lang.String fieldOwnerClassName, java.lang.String fieldName)
Should we instrument *access to* the given field. This differs from {@link #shouldInstrumentField} in that here we are talking about a particular usage of a field.

param
transformingClassName The class currently being transformed.
param
fieldOwnerClassName The name of the class owning this field being checked.
param
fieldName The name of the field being checked.
return
True if this access should be transformed.