blob: f94d10552c994e1db4478e0db225236dca0678a4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* This is an implementation of an early-draft specification developed under the Java
* Community Process (JCP) and is made available for testing and evaluation purposes
* only. The code is not compatible with any specification of the JCP.
*
* Contributors:
* IBM Corporation - initial API and implementation
* Andy Clement - Contributions for
* Bug 383624 - [1.8][compiler] Revive code generation support for type annotations (from Olivier's work)
*******************************************************************************/
package org.eclipse.jdt.core.util;
/**
* Description of a runtime invisible type annotations attribute as described in the JVM specifications
* (added in JavaSE-1.8).
*
* This interface may be implemented by clients.
*
* @since 3.9 BETA_JAVA8
*/
public interface IRuntimeInvisibleTypeAnnotationsAttribute extends IClassFileAttribute {
/**
* Answer back the number of extended annotations as described in the JVM specifications.
*
* @return the number of extended annotations
*/
int getExtendedAnnotationsNumber();
/**
* Answer back the extended annotations. Answers an empty collection if none.
*
* @return the extended annotations
*/
IExtendedAnnotation[] getExtendedAnnotations();
}