1 /******************************************************************************* 2 * Copyright (c) 2000, 2009 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 *******************************************************************************/ 14 package org.eclipse.jdt.core.util; 15 16 /** 17 * Description of a inner class attribute as described in the JVM 18 * specifications. 19 * 20 * This interface may be implemented by clients. 21 * 22 * @since 2.0 23 */ 24 public interface IInnerClassesAttribute extends IClassFileAttribute { 25 26 /** 27 * Answer back the number of inner classes infos as specified in 28 * the JVM specifications. 29 * 30 * @return the number of inner classes infos as specified in 31 * the JVM specifications 32 */ getNumberOfClasses()33 int getNumberOfClasses(); 34 35 /** 36 * Answer back the array of inner attribute entries as specified in 37 * the JVM specifications, or an empty array if none. 38 * 39 * @return the array of inner attribute entries as specified in 40 * the JVM specifications, or an empty array if none 41 */ getInnerClassAttributesEntries()42 IInnerClassesAttributeEntry[] getInnerClassAttributesEntries(); 43 } 44