Package com.adobe.ac.pmd.nodes

Examples of com.adobe.ac.pmd.nodes.IMetaDataListHolder


   @Test
   public void testEmbed() throws PMDException
   {
      final IParserNode titleNode = FileSetUtils.buildAst( getTestFiles().get( "Title.as" ) );

      final IMetaDataListHolder show = NodeFactory.createPackage( titleNode )
                                                  .getClassNode()
                                                  .getConstants()
                                                  .get( 0 );
      assertEquals( MetaData.EMBED.toString(),
                    show.getMetaData( MetaData.EMBED ).get( 0 ).getName() );

   }
View Full Code Here

TOP

Related Classes of com.adobe.ac.pmd.nodes.IMetaDataListHolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.