String resourcePath = session.getBirtResourcePath( ); File msgFolder = null; if ( resourcePath != null ) { msgFolder = new File( session.getBirtResourcePath( ) ); Collection msgKeys = BundleHelper.getHelper( msgFolder, baseName ) .getMessageKeys( ThreadResources.getLocale( ) ); if ( msgKeys != null ) { keys.addAll( msgKeys ); return new ArrayList( keys ); } }    msgFolder = getModuleFolder( ); if ( msgFolder == null ) return new ArrayList( keys );  keys.addAll( BundleHelper.getHelper( msgFolder, baseName ) .getMessageKeys( ThreadResources.getLocale( ) ) );
keys.addAll( BundleHelper.getHelper( this, baseName ).getMessageKeys( ThreadResources.getLocale( ) ) );
	public List getMessageKeys( )	{		Set keys = new LinkedHashSet( );		String[] transKeys = translations.getResourceKeys( );		if ( transKeys != null )		{			for ( int i = 0; i < transKeys.length; i++ )				keys.add( transKeys[i] );		}		// find from the referenced message files.		// e.g: message		String baseName = getStringProperty( this, INCLUDE_RESOURCE_PROP );		if ( baseName == null )			return new ArrayList( keys );		String resourcePath = session.getBirtResourcePath( );		File msgFolder = null;		if ( resourcePath != null )		{			msgFolder = new File( session.getBirtResourcePath( ) );			Collection msgKeys = BundleHelper.getHelper( msgFolder, baseName )					.getMessageKeys( ThreadResources.getLocale( ) );			if ( msgKeys != null )			{				keys.addAll( msgKeys );				return new ArrayList( keys );			}		}		// for the backward compatibility, has to try the module folder.		msgFolder = getModuleFolder( );		if ( msgFolder == null )			return new ArrayList( keys );		keys.addAll( BundleHelper.getHelper( msgFolder, baseName )				.getMessageKeys( ThreadResources.getLocale( ) ) );		return new ArrayList( keys );	}