org.incava.java
Class CompilationUnitUtil
java.lang.Object
org.incava.java.CompilationUnitUtil
public class CompilationUnitUtil
extends java.lang.Object
Miscellaneous routines for compilation units.
static net.sourceforge.pmd.ast.ASTImportDeclaration[] | getImports(net.sourceforge.pmd.ast.ASTCompilationUnit cu)
|
static net.sourceforge.pmd.ast.ASTPackageDeclaration | getPackage(net.sourceforge.pmd.ast.ASTCompilationUnit cu)
|
static net.sourceforge.pmd.ast.ASTTypeDeclaration[] | getTypeDeclarations(net.sourceforge.pmd.ast.ASTCompilationUnit cu)
|
getImports
public static net.sourceforge.pmd.ast.ASTImportDeclaration[] getImports(net.sourceforge.pmd.ast.ASTCompilationUnit cu)
getPackage
public static net.sourceforge.pmd.ast.ASTPackageDeclaration getPackage(net.sourceforge.pmd.ast.ASTCompilationUnit cu)
getTypeDeclarations
public static net.sourceforge.pmd.ast.ASTTypeDeclaration[] getTypeDeclarations(net.sourceforge.pmd.ast.ASTCompilationUnit cu)