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