| org.hibernate.bytecode.util.FieldFilter
FieldFilter | public interface FieldFilter (Code) | | Used to determine whether a field reference should be instrumented.
author: Steve Ebersole |
Method Summary | |
public boolean | shouldInstrumentField(String className, String fieldName) Should this field definition be instrumented?
Parameters: className - The name of the class currently being processed Parameters: fieldName - The name of the field being checked. | public boolean | shouldTransformFieldAccess(String transformingClassName, String fieldOwnerClassName, String fieldName) Should we instrument *access to* the given field. |
shouldInstrumentField | public boolean shouldInstrumentField(String className, String fieldName)(Code) | | Should this field definition be instrumented?
Parameters: className - The name of the class currently being processed Parameters: fieldName - The name of the field being checked. True if we should instrument this field. |
shouldTransformFieldAccess | public boolean shouldTransformFieldAccess(String transformingClassName, String fieldOwnerClassName, String fieldName)(Code) | | Should we instrument *access to* the given field. This differs from
FieldFilter.shouldInstrumentField in that here we are talking about a particular usage of
a field.
Parameters: transformingClassName - The class currently being transformed. Parameters: fieldOwnerClassName - The name of the class owning this field being checked. Parameters: fieldName - The name of the field being checked. True if this access should be transformed. |
|
|