You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.0 KiB
60 lines
1.0 KiB
/*
|
|
* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
package com.sun.source.tree;
|
|
|
|
import java.util.List;
|
|
import javax.lang.model.element.Name;
|
|
|
|
/**
|
|
* A tree node for a class, interface, enum, or annotation
|
|
* type declaration.
|
|
*
|
|
* For example:
|
|
* <pre>
|
|
* <em>modifiers</em> class <em>simpleName</em> <em>typeParameters</em>
|
|
* extends <em>extendsClause</em>
|
|
* implements <em>implementsClause</em>
|
|
* {
|
|
* <em>members</em>
|
|
* }
|
|
* </pre>
|
|
*
|
|
* @jls sections 8.1, 8.9, 9.1, and 9.6
|
|
*
|
|
* @author Peter von der Ahé
|
|
* @author Jonathan Gibbons
|
|
* @since 1.6
|
|
*/
|
|
@jdk.Exported
|
|
public interface ClassTree extends StatementTree {
|
|
ModifiersTree getModifiers();
|
|
Name getSimpleName();
|
|
List<? extends TypeParameterTree> getTypeParameters();
|
|
Tree getExtendsClause();
|
|
List<? extends Tree> getImplementsClause();
|
|
List<? extends Tree> getMembers();
|
|
}
|