public void manageSyntheticAccessIfNecessary(BlockScope currentScope, FieldBinding fieldBinding, TypeBinding lastReceiverType, int index, FlowInfo flowInfo) {
// AspectJ Extension
if (index < 0) {
if (fieldBinding.alwaysNeedsAccessMethod(false)) {
SyntheticMethodBinding newBinding = fieldBinding.getAccessMethod(false);
setSyntheticAccessor(fieldBinding,index,newBinding);
FieldBinding originalField = fieldBinding.original();
if (originalField != fieldBinding) {
setCodegenBinding(index < 0 ? (this.otherBindings == null ? 0 : this.otherBindings.length) : index, originalField);
}
return;
}
} else {
if (fieldBinding.alwaysNeedsAccessMethod(true)) {
SyntheticMethodBinding newBinding = fieldBinding.getAccessMethod(true);
setSyntheticAccessor(fieldBinding,index,newBinding);
FieldBinding originalField = fieldBinding.original();
if (originalField != fieldBinding) {
setCodegenBinding(index < 0 ? (this.otherBindings == null ? 0 : this.otherBindings.length) : index, originalField);
}