if (PrimitiveType.toCode(Signature.toString(returnType)) != null)
if (returnType == null || PrimitiveType.toCode(Signature.toString(returnType)) != null)
	public static boolean isAvailable(IJavaElement element) throws JavaModelException {		if (element == null || ! element.exists())			return false;		String returnType= null;		if (element instanceof IMethod) {			returnType= ((IMethod)element).getReturnType();		} else if (element instanceof IField) {			returnType= ((IField)element).getTypeSignature();		} else if (element instanceof ILocalVariable) {			// be optimistic			return true;		} else if (element instanceof IType) {			// be optimistic.			return true;		}		if (PrimitiveType.toCode(Signature.toString(returnType)) != null)			return false;		return true;	}