1 /* 2 * ASNewExpression.java 3 * 4 * Copyright (c) 2008 David Holroyd 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 19 package uk.co.badgersinfoil.metaas.dom; 20 21 /** 22 * A constructor invocation, such as <code>new MyThing()</code>. 23 * 24 * <p>It is legal for a constructor invocation to appear without arguments 25 * (the parenthesis can be dropped e.g <code>new Ctor</code>, rather than 26 * <code>new Ctor()</code>), and in this case, getArguments() will return null. 27 * If the argument list is present, but empty, an empty List will be returned 28 * instead.</p> 29 * 30 * @see uk.co.badgersinfoil.metaas.ActionScriptFactory#newNewExpression(Expression, java.util.List) 31 */ 32 public interface ASNewExpression extends Expression, Invocation { 33 }