1a046d00fSAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3a046d00fSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4a046d00fSAndrew Rist * or more contributor license agreements. See the NOTICE file 5a046d00fSAndrew Rist * distributed with this work for additional information 6a046d00fSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7a046d00fSAndrew Rist * to you under the Apache License, Version 2.0 (the 8a046d00fSAndrew Rist * "License"); you may not use this file except in compliance 9a046d00fSAndrew Rist * with the License. You may obtain a copy of the License at 10a046d00fSAndrew Rist * 11a046d00fSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12a046d00fSAndrew Rist * 13a046d00fSAndrew Rist * Unless required by applicable law or agreed to in writing, 14a046d00fSAndrew Rist * software distributed under the License is distributed on an 15a046d00fSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16a046d00fSAndrew Rist * KIND, either express or implied. See the License for the 17a046d00fSAndrew Rist * specific language governing permissions and limitations 18a046d00fSAndrew Rist * under the License. 19a046d00fSAndrew Rist * 20a046d00fSAndrew Rist *************************************************************/ 21a046d00fSAndrew Rist 22a046d00fSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir package com.sun.star.uno; 25cdf0e10cSrcweir 26cdf0e10cSrcweir 27cdf0e10cSrcweir import java.lang.reflect.Method; 28cdf0e10cSrcweir 29cdf0e10cSrcweir 30cdf0e10cSrcweir /** 31cdf0e10cSrcweir * The <code>IMethodDescription</code> allows to examine a method 32cdf0e10cSrcweir * in detail. It gives a view to java methods from a UNO point. 33cdf0e10cSrcweir * 34cdf0e10cSrcweir * @deprecated This interface does not cover all the features supported by the 35cdf0e10cSrcweir * corresponding (unpublished) implementation. But no client code should need 36cdf0e10cSrcweir * to access this functionality, anyway. 37cdf0e10cSrcweir */ 38cdf0e10cSrcweir public interface IMethodDescription extends IMemberDescription { 39cdf0e10cSrcweir /** 40cdf0e10cSrcweir * Indicates if this method is <code>oneWay</code>, 41cdf0e10cSrcweir * respectivly if this method may become executed asynchronously. 42cdf0e10cSrcweir * <p> 43cdf0e10cSrcweir * @return true means may execute asynchronously . 44cdf0e10cSrcweir */ isOneway()45cdf0e10cSrcweir boolean isOneway(); 46cdf0e10cSrcweir 47cdf0e10cSrcweir /** 48cdf0e10cSrcweir * Indicates if this method is const. 49cdf0e10cSrcweir * <p> 50cdf0e10cSrcweir * @return true means it is const. 51cdf0e10cSrcweir */ isConst()52cdf0e10cSrcweir boolean isConst(); 53cdf0e10cSrcweir 54cdf0e10cSrcweir /** 55*7d5c865cSDamjan Jovanovic * Gives any array of <code>ITypeDescription</code> of 56cdf0e10cSrcweir * the [in] parameters. 57cdf0e10cSrcweir * <p> 58cdf0e10cSrcweir * @return the in parameters 59cdf0e10cSrcweir */ getInSignature()60cdf0e10cSrcweir ITypeDescription[] getInSignature(); 61cdf0e10cSrcweir 62cdf0e10cSrcweir /** 63*7d5c865cSDamjan Jovanovic * Gives any array of <code>ITypeDescription</code> of 64cdf0e10cSrcweir * the [out] parameters. 65cdf0e10cSrcweir * <p> 66cdf0e10cSrcweir * @return the out parameters 67cdf0e10cSrcweir */ getOutSignature()68cdf0e10cSrcweir ITypeDescription[] getOutSignature(); 69cdf0e10cSrcweir 70cdf0e10cSrcweir /** 71cdf0e10cSrcweir * Gives the <code>ITypeDescription</code> of 72cdf0e10cSrcweir * the return type. 73cdf0e10cSrcweir * <p> 74cdf0e10cSrcweir * @return the return type <code>ITypeDescription</code> 75cdf0e10cSrcweir */ getReturnSignature()76cdf0e10cSrcweir ITypeDescription getReturnSignature(); 77cdf0e10cSrcweir 78cdf0e10cSrcweir /** 79cdf0e10cSrcweir * Gives native java method of this method. 80cdf0e10cSrcweir * <p> 81cdf0e10cSrcweir * @return the java methodd 82cdf0e10cSrcweir */ getMethod()83cdf0e10cSrcweir Method getMethod(); 84cdf0e10cSrcweir } 85