// next look at the types used in the method signatures
Method[] aoMethods = _oJavaClass.getMethods();
for ( int i = 0; i < aoMethods.length; i++ )
{
Method oMethod = aoMethods[ i ];
// look at the type of the method return type
addReference( oReferences, oMethod.getReturnType() );
// look at the types of the method arguments
Type[] oTypes = oMethod.getArgumentTypes();
for ( int j = 0; j < oTypes.length; j++ )
{
addReference( oReferences, oTypes[ j ] );
}
}