Bug 189622 DesignElementHandle.getMethods( ) shouldn't return null value
The return type of DesignElementHandle.getMethods( ) is List; if the design element handle doesn't have script methods, then it return null value. The return value is empty list will be better.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/PeerExtensibilityProvider.java
* {@link IPropertyDefinition}. The dynamic model means the extension element
 * can switch from one set of extension model properties to another under some
 * case. They can be serialized to an XML-type extension property when saving to
 * design file, and deserialized from this XML-type extension property when
 * loading design file.
 * </ul>
 * 
 */
public class PeerExtensibilityProvider extends ModelExtensibilityProvider
{
	/**
	 * Peer element for the extension. It is created when the application
	 * invokes UI for the item.
	 */
	IReportItem reportItem = null;
	/**
	 * Cached property values for extension properties, which is defined in
	 * extension definition file.
	 */
	HashMap extensionPropValues = new HashMap( );
	/**
	 * Constructs the peer extensibility provider with the extensible element
	 * and the extension name.
	 * 
	 * @param element
	 *            the extensible element
	 * @param extensionName
	 *            the extension name
	 */
	public PeerExtensibilityProvider( DesignElement element,