public interface FieldFilter
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.
|
boolean shouldInstrumentField(String className, String fieldName)
className
- The name of the class currently being processedfieldName
- The name of the field being checked.boolean shouldTransformFieldAccess(String transformingClassName, String fieldOwnerClassName, String fieldName)
shouldInstrumentField(java.lang.String, java.lang.String)
in that here we are talking about a particular usage of
a field.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.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.