org.sonar.plugins.java.api.tree
Interface CompilationUnitTree

All Superinterfaces:
Tree

@Beta
public interface CompilationUnitTree
extends Tree

Compilation unit. JLS 7.3 and 7.4

Since:
Java 1.3

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sonar.plugins.java.api.tree.Tree
Tree.Kind
 
Method Summary
 List<ImportTree> imports()
           
 List<AnnotationTree> packageAnnotations()
           
 ExpressionTree packageName()
           
 List<Tree> types()
           
 
Methods inherited from interface org.sonar.plugins.java.api.tree.Tree
accept, is
 

Method Detail

packageAnnotations

List<AnnotationTree> packageAnnotations()
Since:
Java 1.5

packageName

@Nullable
ExpressionTree packageName()

imports

List<ImportTree> imports()

types

List<Tree> types()


Copyright © 2012-2014 SonarSource. All Rights Reserved.