1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.jdt.core.util; 12 13 /** 14 * This class represents a stack map attribute. 15 * 16 * This interface may be implemented by clients. 17 * 18 * @since 3.2 19 */ 20 public interface IStackMapAttribute extends IClassFileAttribute { 21 22 /** 23 * Answer back the number of stack map frames of this atribute as specified in 24 * the JVM specifications. 25 * 26 * @return the number of stack map frames of this atribute as specified in 27 * the JVM specifications 28 */ 29 int getNumberOfEntries(); 30 31 /** 32 * Answer back the stack map frames for this attribute as specified 33 * in the JVM specifications. 34 * 35 * @return the stack map frames for this attribute as specified 36 * in the JVM specifications 37 */ 38 IStackMapFrame[] getStackMapFrame(); 39 } 40