01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.core.util;
11:
12: /**
13: * Description of a inner class attribute as described in the JVM
14: * specifications.
15: *
16: * This interface may be implemented by clients.
17: *
18: * @since 2.0
19: */
20: public interface IInnerClassesAttribute extends IClassFileAttribute {
21:
22: /**
23: * Answer back the number of inner classes infos as specified in
24: * the JVM specifications.
25: *
26: * @return the number of inner classes infos as specified in
27: * the JVM specifications
28: */
29: int getNumberOfClasses();
30:
31: /**
32: * Answer back the array of inner attribute entries as specified in
33: * the JVM specifications, or an empty array if none.
34: *
35: * @return the array of inner attribute entries as specified in
36: * the JVM specifications, or an empty array if none
37: */
38: IInnerClassesAttributeEntry[] getInnerClassAttributesEntries();
39: }
|