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 info 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 IInnerClassesAttributeEntry {
21:
22: /**
23: * Answer back the access flag of this inner classes attribute as specified in
24: * the JVM specifications.
25: *
26: * @return the access flag of this inner classes attribute as specified in
27: * the JVM specifications
28: */
29: int getAccessFlags();
30:
31: /**
32: * Answer back the inner name index of this inner classes attribute as specified in
33: * the JVM specifications.
34: *
35: * @return the inner name index of this inner classes attribute as specified in
36: * the JVM specifications
37: */
38: int getInnerNameIndex();
39:
40: /**
41: * Answer back the outer class name index of this inner classes attribute as specified in
42: * the JVM specifications.
43: *
44: * @return the outer class name index of this inner classes attribute as specified in
45: * the JVM specifications
46: */
47: int getOuterClassNameIndex();
48:
49: /**
50: * Answer back the inner class name index of this inner classes attribute as specified in
51: * the JVM specifications.
52: *
53: * @return the inner class name index of this inner classes attribute as specified in
54: * the JVM specifications
55: */
56: int getInnerClassNameIndex();
57:
58: /**
59: * Answer back the inner name of this inner classes attribute as specified in
60: * the JVM specifications, null if inner name index is equals to zero.
61: *
62: * @return the inner name of this inner classes attribute as specified in
63: * the JVM specifications, null if inner name index is equals to zero
64: */
65: char[] getInnerName();
66:
67: /**
68: * Answer back the outer class name of this inner classes attribute as specified in
69: * the JVM specifications, null if outer class name index is equals to zero.
70: *
71: * @return the outer class name of this inner classes attribute as specified in
72: * the JVM specifications, null if outer class name index is equals to zero
73: */
74: char[] getOuterClassName();
75:
76: /**
77: * Answer back the inner class name of this inner classes attribute as specified in
78: * the JVM specifications, null if inner class name index is equals to zero.
79: *
80: * @return the inner class name of this inner classes attribute as specified in
81: * the JVM specifications, null if inner class name index is equals to zero
82: */
83: char[] getInnerClassName();
84:
85: }
|