|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.tool.instrument.BasicInstrumentationTask.CustomFieldFilter
protected class BasicInstrumentationTask.CustomFieldFilter
Constructor Summary | |
---|---|
BasicInstrumentationTask.CustomFieldFilter(ClassDescriptor descriptor)
|
Method Summary | |
---|---|
boolean |
shouldInstrumentField(java.lang.String className,
java.lang.String fieldName)
Should this field definition be instrumented? |
boolean |
shouldTransformFieldAccess(java.lang.String transformingClassName,
java.lang.String fieldOwnerClassName,
java.lang.String fieldName)
Should we instrument *access to* the given field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicInstrumentationTask.CustomFieldFilter(ClassDescriptor descriptor)
Method Detail |
---|
public boolean shouldInstrumentField(java.lang.String className, java.lang.String fieldName)
FieldFilter
shouldInstrumentField
in interface FieldFilter
className
- The name of the class currently being processedfieldName
- The name of the field being checked.
public boolean shouldTransformFieldAccess(java.lang.String transformingClassName, java.lang.String fieldOwnerClassName, java.lang.String fieldName)
FieldFilter
FieldFilter.shouldInstrumentField(java.lang.String, java.lang.String)
in that here we are talking about a particular usage of
a field.
shouldTransformFieldAccess
in interface FieldFilter
transformingClassName
- The class currently being transformed.fieldOwnerClassName
- The name of the class owning this field being checked.fieldName
- The name of the field being checked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |