protected FieldJoinPointGenerator getJoinPointGenerator(FieldInfo info)
{
if (info.isRead())
{
FieldJoinPointGenerator generator = (FieldJoinPointGenerator)fieldReadJoinPoinGenerators.get(info.getJoinpoint());
if (generator == null)
{
generator = new FieldJoinPointGenerator(this, info);
fieldReadJoinPoinGenerators.put(info.getJoinpoint(), generator);
}
return generator;
}
else
{
FieldJoinPointGenerator generator = (FieldJoinPointGenerator)fieldWriteJoinPoinGenerators.get(info.getJoinpoint());
if (generator == null)
{
generator = new FieldJoinPointGenerator(this, info);
fieldWriteJoinPoinGenerators.put(info.getJoinpoint(), generator);
}
return generator;
}
}