protected class AbstractInstrumenter.CustomFieldFilter extends Object implements FieldFilter
| Constructor and Description |
|---|
AbstractInstrumenter.CustomFieldFilter(ClassDescriptor descriptor,
Set classNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldInstrumentField(String className,
String fieldName)
Should this field definition be instrumented?
|
boolean |
shouldTransformFieldAccess(String transformingClassName,
String fieldOwnerClassName,
String fieldName)
Should we instrument *access to* the given field.
|
public AbstractInstrumenter.CustomFieldFilter(ClassDescriptor descriptor, Set classNames)
public boolean shouldInstrumentField(String className, String fieldName)
FieldFiltershouldInstrumentField in interface FieldFilterclassName - The name of the class currently being processedfieldName - The name of the field being checked.public boolean shouldTransformFieldAccess(String transformingClassName, String fieldOwnerClassName, String fieldName)
FieldFilterFieldFilter.shouldInstrumentField(java.lang.String, java.lang.String) in that here we are talking about a particular usage of
a field.shouldTransformFieldAccess in interface FieldFiltertransformingClassName - The class currently being transformed.fieldOwnerClassName - The name of the class owning this field being checked.fieldName - The name of the field being checked.Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.