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
14 // IBinaryType>>getMethods()
15 // BUT do not have to be... the compiler will ignore them when building the
17 // The synthetic argument of a member type's constructor (ie. the first arg of a
19 // member type) is also ignored by the compiler, BUT in this case it must be
21 // in the constructor's signature.
23 public interface IBinaryMethod extends IGenericMethod {
26 * Answer the resolved names of the exception types in the class file format
27 * as specified in section 4.2 of the Java 2 VM spec or null if the array is
30 * For example, java.lang.String is java/lang/String.
32 char[][] getExceptionTypeNames();
35 * Answer the receiver's method descriptor which describes the parameter &
36 * return types as specified in section 4.3.3 of the Java 2 VM spec.
38 * For example: - int foo(String) is (Ljava/lang/String;)I - Object[]
39 * foo(int) is (I)[Ljava/lang/Object;
41 char[] getMethodDescriptor();
44 * Answer whether the receiver represents a class initializer method.