private int getContentType (Object element [], int defaultType) { int retval;  if (element == null) return defaultType; retval = ((Integer) element [0]).intValue (); if (retval == CONTENT_UNDECLARED) retval = defaultType; return retval; }
private int getContentType(ElementDecl element, int defaultType) { int retval;  if (element == null) { return defaultType; } retval = element.contentType; if (retval == CONTENT_UNDECLARED) { retval = defaultType; } return retval; }
    private int getContentType (Object element [], int defaultType)    {	int retval;	if (element == null)	    return defaultType;	retval = ((Integer) element [0]).intValue ();	if (retval == CONTENT_UNDECLARED)	    retval = defaultType;	return retval;    }