attribute.getParameter( "optional" ).equals( "true" );
attribute.getParameter( "optional" ).equals( "false" );
    private DependencyDescriptor[] buildDependencies( final Class type )    {        final Method method = getDependencyMethod( type );        if( null == method )        {            return DependencyDescriptor.EMPTY_SET;        }        final List deps = new ArrayList();        final Attribute[] attributes =            Attributes.getAttributes( method, "dna.dependency" );        for( int i = 0; i < attributes.length; i++ )        {            final Attribute attribute = attributes[i];            final String key = attribute.getParameter( "key" );            final String depType = attribute.getParameter( "type" );            final boolean optional =                attribute.getParameter( "optional" ).equals( "true" );            deps.add( new DependencyDescriptor( key, depType, optional ) );        }        return (DependencyDescriptor[])deps.toArray( DependencyDescriptor.EMPTY_SET );    }