}
private void indexBehavior( CtBehavior behavior )
{
// get the behavior entry
final BehaviorEntry behaviorEntry = BehaviorEntryFactory.create( behavior );
if( behaviorEntry instanceof MethodEntry )
{
MethodEntry methodEntry = (MethodEntry)behaviorEntry;
// index implementation
m_methodImplementations.put( behaviorEntry.getClassName(), methodEntry );
// look for bridge methods
CtMethod bridgedMethod = getBridgedMethod( (CtMethod)behavior );
if( bridgedMethod != null )
{
MethodEntry bridgedMethodEntry = new MethodEntry(
behaviorEntry.getClassEntry(),
bridgedMethod.getName(),
bridgedMethod.getSignature()
);
m_bridgeMethods.put( bridgedMethodEntry, methodEntry );
}