Examples of IMetaDataListHolder


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
Copyright © 2018 www.massapi.com. 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.