1 /*******************************************************************************
2 * Copyright (c) 2000, 2003 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.internal.compiler.env;
13 // clinit methods (synthetics too?) can be returned from IBinaryType>>getMethods()
14 // BUT do not have to be... the compiler will ignore them when building the binding.
15 // The synthetic argument of a member type's constructor (ie. the first arg of a non-static
16 // member type) is also ignored by the compiler, BUT in this case it must be included
17 // in the constructor's signature.
19 public interface IBinaryMethod extends IGenericMethod {
22 * Answer the resolved names of the exception types in the
23 * class file format as specified in section 4.2 of the Java 2 VM spec
24 * or null if the array is empty.
26 * For example, java.lang.String is java/lang/String.
28 char[][] getExceptionTypeNames();
31 * Answer the receiver's method descriptor which describes the parameter &
32 * return types as specified in section 4.3.3 of the Java 2 VM spec.
35 * - int foo(String) is (Ljava/lang/String;)I
36 * - Object[] foo(int) is (I)[Ljava/lang/Object;
38 char[] getMethodDescriptor();
41 * Answer whether the receiver represents a class initializer method.