@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() ); }
public String getName() { return name; }
MetaDataNode extends AbstractNode implements IMetaData { public String getName() { return name; } }
MetaDataNode extends AbstractNode implements IMetaData { public String getName() { return name; } protected  MetaDataNode( final IParserNode node ); }
MetaDataNode extends AbstractNode implements IMetaData { public String getName() { return name; } protected  MetaDataNode( final IParserNode node ); @Override MetaDataNode compute(); List< String > getAttributeNames(); String getDefaultValue(); String getName(); String[] getProperty( final String property ); List< String > getPropertyAsList( final String property ); }
MetaDataNode extends AbstractNode implements IMetaData { public String getName() { return name; } protected  MetaDataNode( final IParserNode node ); @Override MetaDataNode compute(); List< String > getAttributeNames(); String getDefaultValue(); String getName(); String[] getProperty( final String property ); List< String > getPropertyAsList( final String property );  }