* @see com.adobe.ac.pmd.nodes.impl.AbstractNode#compute()
*/
@Override
public PackageNode compute()
{
final IParserNode classWrapperNode = getClassNodeFromCompilationUnitNode( getInternalNode(),
3 );
final IParserNode firstChild = getInternalNode().getChild( 0 );
if ( firstChild.numChildren() > 0
&& firstChild.getChild( 0 ).getStringValue() != null )
{
name = firstChild.getChild( 0 ).getStringValue();
}
else
{
name = "";
}
if ( classWrapperNode != null )
{
classNode = new ClassNode( classWrapperNode ).compute();
}
if ( firstChild.numChildren() > 1
&& firstChild.getChild( 1 ).numChildren() != 0 )
{
final List< IParserNode > children = firstChild.getChild( 1 ).getChildren();
for ( final IParserNode node : children )
{
if ( node.is( NodeKind.IMPORT ) )
{