{
// If the field is for this class, save the field for use in BCEL enhancing later
Field field = BCELUtils.getFieldByName(name,((BCELClassMetaData)parent).getClassGen());
if (field == null)
{
throw new InvalidMetaDataException(LOCALISER_ENH, "Enhancer.FieldNotFound",
((parent instanceof ClassMetaData ) ? ((ClassMetaData)parent).getFullClassName() + "." : "" ) + name);
}
enhanceField = new BCELMember(field);
}
else