final String [] operands = getOperands();
String [] targets = null;
if ( operands.length == 1 )
{
// one operand; that is the attribute list
// so get attributes on current target
targets = getEnvTargets( );
}
else
{
// first operand is attributes, subsequent are the targets
targets = new String [ operands.length - 1 ];
for( int i = 0; i < targets.length; ++i )
{
targets[ i ] = operands[ i + 1 ];
}
}
return( targets );