#ifndef _COM_SUN_STAR_REFLECTION_XIDLMETHOD_HPP_
#define _COM_SUN_STAR_REFLECTION_XIDLMETHOD_HPP_

#ifndef _SAL_CONFIG_H_
#include "sal/config.h"
#endif

#ifndef _COM_SUN_STAR_REFLECTION_XIDLMETHOD_HDL_
#include "com/sun/star/reflection/XIdlMethod.hdl"
#endif

#ifndef _COM_SUN_STAR_REFLECTION_XIDLCLASS_HPP_
#include "com/sun/star/reflection/XIdlClass.hpp"
#endif
#ifndef _COM_SUN_STAR_LANG_ILLEGALARGUMENTEXCEPTION_HPP_
#include "com/sun/star/lang/IllegalArgumentException.hpp"
#endif
#ifndef _COM_SUN_STAR_REFLECTION_XIDLMEMBER_HPP_
#include "com/sun/star/reflection/XIdlMember.hpp"
#endif
#ifndef _COM_SUN_STAR_UNO_RUNTIMEEXCEPTION_HPP_
#include "com/sun/star/uno/RuntimeException.hpp"
#endif
#ifndef _COM_SUN_STAR_REFLECTION_INVOCATIONTARGETEXCEPTION_HPP_
#include "com/sun/star/reflection/InvocationTargetException.hpp"
#endif
#ifndef _COM_SUN_STAR_REFLECTION_METHODMODE_HPP_
#include "com/sun/star/reflection/MethodMode.hpp"
#endif
#ifndef _COM_SUN_STAR_REFLECTION_PARAMINFO_HPP_
#include "com/sun/star/reflection/ParamInfo.hpp"
#endif
#ifndef _COM_SUN_STAR_UNO_ANY_HXX_
#include "com/sun/star/uno/Any.hxx"
#endif
#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
#include "com/sun/star/uno/Reference.hxx"
#endif
#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
#include "com/sun/star/uno/Sequence.hxx"
#endif
#ifndef _COM_SUN_STAR_UNO_TYPE_HXX_
#include "com/sun/star/uno/Type.hxx"
#endif
#ifndef INCLUDED_CPPU_UNOTYPE_HXX
#include "cppu/unotype.hxx"
#endif
#ifndef _OSL_MUTEX_HXX_
#include "osl/mutex.hxx"
#endif

namespace com { namespace sun { namespace star { namespace reflection {

inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(::com::sun::star::reflection::XIdlMethod const *) {
    static typelib_TypeDescriptionReference * the_type = 0;
    if ( !the_type )
    {
        typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "com.sun.star.reflection.XIdlMethod" );
    }
    return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
};

} } } }

inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlMethod > const *) SAL_THROW(()) {
    return ::cppu::UnoType< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlMethod > >::get();
}

::com::sun::star::uno::Type const & ::com::sun::star::reflection::XIdlMethod::static_type(void *) {
    return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlMethod > * >(0));
}

#endif // _COM_SUN_STAR_REFLECTION_XIDLMETHOD_HPP_
