blob: 74622fd20d5eae3b87d1d97706858d3a51913ff1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2017 GK Software AG, 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
*
* Contributors:
* Stephan Herrmann - initial API and implementation
*******************************************************************************/
package org.aspectj.org.eclipse.jdt.core;
/**
* Represents the class file of a module description ("module-info.class").
*
* @since 3.14
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IModularClassFile extends IClassFile {
/**
* Returns the module description contained in this type root.
* An error-free {@link IModularClassFile} should always have a module.
*
* @throws JavaModelException
* @return the module description contained in the type root.
*/
@Override
IModuleDescription getModule() throws JavaModelException;
}